I've setup WDS on a new 2008 R2 server for one of my clients to facilitate the roll out of lots of new Win 7 x64 laptops. Before uploading the image i sysprep'd it after configuring it. I have attached an answer file created using WSIM within WDS but get the following errors during the install:
Windows could not parse or process the unattend answer file for pass [Specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing the settings for component [Microsoft-Windows-Shell-Setup].
I click ok and it restarts and then says preparing computer for first use when the following error appears:
The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed.
Clicking ok just restarts the machine and returns the same error again.
If i remove the answer file from WDS the laptop installs fine albeit with me having to enter stuff during the first boot. I can't see anything odd in the area that it fails in and it validates fine in WSIM. Here's the answer file:
I've #'d out any private info. Anyone have any ideas? I'm getting quite confused with this!
Windows could not parse or process the unattend answer file for pass [Specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing the settings for component [Microsoft-Windows-Shell-Setup].
I click ok and it restarts and then says preparing computer for first use when the following error appears:
The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed.
Clicking ok just restarts the machine and returns the same error again.
If i remove the answer file from WDS the laptop installs fine albeit with me having to enter stuff during the first boot. I can't see anything odd in the area that it fails in and it validates fine in WSIM. Here's the answer file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</UserLocale>
<UILanguageFallback>en-GB</UILanguageFallback>
</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">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<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">
<RegisteredOrganization>######</RegisteredOrganization>
<RegisteredOwner>Administrator</RegisteredOwner>
<ProductKey></ProductKey>
<ComputerName>*</ComputerName>
<OEMInformation>
<Logo></Logo>
<SupportURL>#####</SupportURL>
<SupportPhone######</SupportPhone>
<SupportHours>08:00 - 18:00 GMT</SupportHours>
<Manufacturer>#####</Manufacturer>
</OEMInformation>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone></TimeZone>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<fAllowFullControl>false</fAllowFullControl>
<fAllowToGetHelp>false</fAllowToGetHelp>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<BlockPopups>yes</BlockPopups>
<CompanyName>####</CompanyName>
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<EnableLinksBar>false</EnableLinksBar>
<LockToolbars>true</LockToolbars>
<MSCompatibilityMode>true</MSCompatibilityMode>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<Window_Title_CN>M5N</Window_Title_CN>
<GroupTabs>false</GroupTabs>
<Home_Page>######</Home_Page>
</component>
<component name="Networking-MPSSVC-Svc" 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">
<DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
<PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
<PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
</component>
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-powercpl" 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">
<PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
</component>
</settings>
<settings pass="oobeSystem">
<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>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UILanguageFallback>en-GB</UILanguageFallback>
<UserLocale>en-GB</UserLocale>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>2</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>egAxAG4AdwA0AHYAMwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>egAxAG4AdwA0AHYAMwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Administrator</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>#####</RegisteredOrganization>
<RegisteredOwner>Administrator</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>GMT Standard Time</TimeZone>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>%SystemRoot%\System32\reg.exe LOAD "HKU\Test" "%USERPROFILE%\..\Default\NTUSER.DAT"</CommandLine>
<Description>Load Default profile into hive</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKU\Test\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f</CommandLine>
<Description>Show file extensions in Explorer</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKU\Test\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_ShowRun /t REG_DWORD /d 1 /f</CommandLine>
<Description>Show Run command in Start Menu</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Start Navigation Sound</Description>
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKU\Test\AppEvents\Schemes\Apps\Explorer\Navigating\.Current /v "" /t REG_SZ /d "" /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>5</Order>
<CommandLine>%SystemRoot%\System32\reg.exe UNLOAD "HKU\Test"</CommandLine>
<Description>Close the Default profile hive</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\ControlSet001\Control\CrashControl /v AutoReboot /t REG_DWORD /d 0 /f</CommandLine>
<Description>Turn off Auto Restart</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<Description>Turn off remote assistance</Description>
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\ControlSet001\Control\Remote Assistance /v fAllowToGetHelp /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog://cwg1port/d/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
I've #'d out any private info. Anyone have any ideas? I'm getting quite confused with this!
Last edited: