Windows Server 2008:组策略不应用以下WDS安装

我们使用与GPO结合的WDS图像来自动安装我们的桌面。

这一切都很好,除了当一个WDS部署到一个新的/现有的PC完成之后,五五十个GPO在第一次启动时就可以应用。

不幸的是,在我们的开发环境刷新之后,有人需要检查机器并为15-20台PC启动重启/ GPUpdate。

机器不是预先安排的,就是在AD中拥有现有的计算机帐户,因为它们被重新映像而不是新的。

只是想知道是否有人遇到类似的问题GPO不适用下面的WDS安装? 目前我们正在考虑在图像中join脚本,以便WDS安装后工作站自动重新启动,但感觉更像是一种解决方法,而不是处理问题的根本原因。

谢谢

我们通过将以下内容添加到与WDS映像一起使用的unattend.xml的specialize部分中,以相当难以解决的方式解决了这个问题:

<settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>%MACHINENAME%</ComputerName> <TimeZone>GMT Standard Time</TimeZone> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>en-GB</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UserLocale>en-GB</UserLocale> </component> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identification> <Credentials> <Domain>$domain</Domain> <Password>$password</Password> <Username>$username</Username> </Credentials> <UnsecureJoin>true</UnsecureJoin> </Identification> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Description>Force Time Resync</Description> <Order>1</Order> <Path>cmd /c w32tm /resync</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Description>Force GPUpdate</Description> <Order>2</Order> <Path>cmd /c gpupdate /force /boot /sync</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Description>Reboot</Description> <Order>3</Order> <Path>cmd /c reboot -r -t 1</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings>