I have been happily deploying Windows 7 images using WDS for a few months now and everything has been working smoothly.
I have prestaged the computernames in AD because one of our clients wants different computers in different rooms to be easily identifiable by computername.
He has now asked for an XP image as some of the video production software will not run on Windows 7 or Vista (Wouldn't like to use Vista anyway) I have created an image and been testing automated deployment of it. I have created a sysprep.inf file and currently it joins to the domain fine, picks up all the correct settings etc. The only thing it doesn't do it get the computername right, it seems to create one at random based on the User the PC is registered to.
I have pasted my sysprep.inf file below.
;SetupMgrTag
[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
TargetPath=\WINDOWS
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
OEMDuplicatorstring=JT-v2
TimeZone=85
OemSkipWelcome=1
[UserData]
ProductKey=*Product Key*
FullName="User"
OrgName="*Organisation*"
ComputerName=*
[Display]
BitsPerPel=32
Xresolution=1280
YResolution=720
Vrefresh=60
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[Identification]
JoinDomain=*domain*.local
DomainAdmin=*domain*\administrator
DomainAdminPassword=*password*
[Networking]
InstallDefaultComponents=Yes
[Branding]
BrandIEUsingUnattended=Yes
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0
In setupmgr.exe I set the ComputerName as %MACHINENAME% - it seems to show up here as *. When I have changed it to %MACHINENAME% in the inf file its-self it still fails to get the right name and errors wit "The computername entered is not properly formatted..."
Also once I am confident that my sysprep file is properly working what is the best way of deploying this XP image using my existing WDS Server (Server 2008R2 SP1, WDS 6.1.7600.16385) I can easily capture the image but WDS expects xml files not the inf files used by XP. I have read this blog and followed the following instructions:
The next part of our completely unattended setup is an XP sysprep.inf file. Again you can store this on the WDS server – navigate to your RemoteInstall share again and under the Images folder you’ll see your WDS Image Groups. As my image is called "winxpsp2.wim", I’ll create a folder called winxpsp2. In this folder, I’ll create the $OEM$ directory structure, within which I’ll put a folder called $1, within which I’ll make a folder called sysprep, which is where the sysprep.inf file will go. Phew! For reference, in my enviroment, this means that we’re looking at D:\RemoteInstall\Images\Windows XP\winxpsp2\$OEM$\$1\sysprep\sysprep.inf.
However when I have done this it doesn't seem to pick up the sysprep file stored in this location. Does anyone have a way of getting this to work.