MSFN Forum: WDS and Machinename - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WDS and Machinename Rate Topic: -----

#1 User is offline   unwise 

  • Group: Members
  • Posts: 4
  • Joined: 16-April 08

Posted 21 April 2008 - 03:23 AM

I'm deploying a Windows XP system with WinPE 2.0 And I use a WDS server for that.

I do a unattended installation of XP (NOT A IMAGE), the only problem is in RIS the setup get the MACHINENAME from AD but with WDS it doesn't.
Now am I looking for a way to get my machine name from AD before is starts installing my OS. Is there a way to do this or is this impossible with WDS?


#2 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 862
  • Joined: 26-December 03

Posted 21 April 2008 - 03:59 AM

A few years ago I wrote a small script that assigns the Computername by checking the MAC address. Would that be of any help to you?

#3 User is offline   unwise 

  • Group: Members
  • Posts: 4
  • Joined: 16-April 08

Posted 21 April 2008 - 04:13 AM

Can i use it in WINPE? (just to get the machine name in a variable).

#4 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 862
  • Joined: 26-December 03

Posted 21 April 2008 - 07:03 AM

I don't see why not :)

#5 User is offline   unwise 

  • Group: Members
  • Posts: 4
  • Joined: 16-April 08

Posted 21 April 2008 - 07:15 AM

Can you post the script/ files so i can see if it works or not?

#6 User is offline   Kingskawn 

  • Kingskawn
  • PipPip
  • Group: Members
  • Posts: 134
  • Joined: 17-April 06

Posted 25 April 2008 - 01:44 PM

also interested :)

#7 User is offline   Smiley357 

  • Junior
  • Pip
  • Group: Members
  • Posts: 85
  • Joined: 12-October 07

Posted 25 April 2008 - 01:55 PM

I used these two lines in an old script that I used mac’s as computer names. I used a tool called compname.exe. I copy it to %windir%/system32 dir at the start of my bat file. Not sure if this helps or not.

 
for /f "tokens=*" %%z in ('compname /d ?m') do set MAC=%%z
compname /c %MAC%>NUL
 


#8 User is offline   JakeLD 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 24-November 06

Posted 25 April 2008 - 02:00 PM

Try this tool.

http://mystuff.clark...uff/Default.asp

#9 User is offline   unwise 

  • Group: Members
  • Posts: 4
  • Joined: 16-April 08

Posted 09 June 2008 - 07:14 AM

After trying to llok on alot of website I still don't know het to get my MACHINENAME out of AD. My WDS server boot a winpe (its a very clean one) My winpe formats the drive, and copy i386 folder from server to local disk. then start winxp setup with a sif file. in my sif file i have %MACHINENAME% as var. But %machinename% is at this moment * cause i putted "%machinename% = *" in the start of my script.

What i want is a script dat read in my active directory and give me the right computer name for the computer i want to install. I will compare the MAC adress or GUID from the computer and the compûtername in AD. Is this possible? If yes can you point me in de right directions or maybe better give me with a script.

I hope someone can helps me...

This post has been edited by unwise: 09 June 2008 - 07:15 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy