active-directory – 部署XP计算机无法使用Prestaged Computer Name

前端之家收集整理的这篇文章主要介绍了active-directory – 部署XP计算机无法使用Prestaged Computer Name前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我很高兴使用WDS部署 Windows 7映像几个月了,一切都很顺利.
我已经预先安排了AD中的计算机名称,因为我们的一个客户希望不同房间中的不同计算机可以通过计算机名称轻松识别.
他现在要求提供XP图像,因为有些视频制作软件无法在Windows 7或Vista上运行(不管怎样都不想使用Vista)我创建了一个图像,并且一直在测试它的自动部署.我已经创建了一个sysprep.inf文件,目前它正好加入域,获取所有正确的设置等.唯一不做的就是让计算机正确,似乎根据用户随机创建一个PC已注册.

我已经粘贴了下面的sysprep.inf文件.

  1. ;SetupMgrTag
  2. [Unattended]
  3. OemSkipEula=Yes
  4. InstallFilesPath=C:\sysprep\i386
  5. TargetPath=\WINDOWS
  6.  
  7. [GuiUnattended]
  8. AdminPassword=*
  9. EncryptedAdminPassword=NO
  10. OEMSkipRegional=1
  11. OEMDuplicatorstring=JT-v2
  12. TimeZone=85
  13. OemSkipWelcome=1
  14.  
  15. [UserData]
  16. ProductKey=*Product Key*
  17. FullName="User"
  18. OrgName="*Organisation*"
  19. ComputerName=*
  20.  
  21. [Display]
  22. BitsPerPel=32
  23. Xresolution=1280
  24. YResolution=720
  25. Vrefresh=60
  26.  
  27. [RegionalSettings]
  28. LanguageGroup=1
  29. SystemLocale=00000809
  30. UserLocale=00000809
  31. InputLocale=0809:00000809
  32.  
  33. [Identification]
  34. JoinDomain=*domain*.local
  35. DomainAdmin=*domain*\administrator
  36. DomainAdminPassword=*password*
  37.  
  38. [Networking]
  39. InstallDefaultComponents=Yes
  40.  
  41. [Branding]
  42. BrandIEUsingUnattended=Yes
  43.  
  44. [Proxy]
  45. Proxy_Enable=0
  46. 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文件.
有没有人有办法让这个工作.

好吧,让我们从sysprep.inf文件开始.

这只是一个不解释变量的平面文本文件. *用于表示随机选择的计算机名称.当WDS通过无人参与文件进行复制时,变量%MACHINENAME%和Others将被WDS替换为实际文本字符串.因此,对于任何此类工作,您必须使用WDS进行部署.

上面的说明确实有效.确保您已创建文件夹(在上面的示例中为winxpsp2)结构以匹配您捕获的wim图像.还要确保您在unattend.xml中指定的凭据具有文件夹结构的权限.

猜你在找的Windows相关文章