我已经预先安排了AD中的计算机名称,因为我们的一个客户希望不同房间中的不同计算机可以通过计算机名称轻松识别.
他现在要求提供XP图像,因为有些视频制作软件无法在Windows 7或Vista上运行(不管怎样都不想使用Vista)我创建了一个图像,并且一直在测试它的自动部署.我已经创建了一个sysprep.inf文件,目前它正好加入域,获取所有正确的设置等.唯一不做的就是让计算机正确,似乎根据用户随机创建一个PC已注册.
我已经粘贴了下面的sysprep.inf文件.
- ;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
在setupmgr.exe中,我将ComputerName设置为%MACHINENAME% – 它似乎在此处显示为*.当我在inf文件中将其更改为%MACHINENAME%时,它仍然无法获得正确的名称和错误“输入的计算机名称格式不正确…”
此外,一旦我确信我的sysprep文件正常工作,使用我现有的WDS服务器(Server 2008R2 SP1,WDS 6.1.7600.16385)部署此XP映像的最佳方法是什么,我可以轻松捕获图像,但WDS期望xml文件不是XP使用的inf文件.我看过this博客
并按照以下说明操作:
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.
但是,当我这样做时,它似乎没有拿起存储在这个位置的sysprep文件.
有没有人有办法让这个工作.