Quantcast
Viewing all articles
Browse latest Browse all 2818

WDS unattend.xml problems

Hi All,

I've just started setting up WDS in my organisation and I can get everything to work more or less I just have 2 problems.

1. the first problem is to do with the unattend.xml file.  If I just parse the unattend.xml as part as the sysprep process the whole thing works fine except I have to select a time zone.  Literally everything else works I just have to choose a time zone.

2. If instead of using the unattend.xml at the sysprep stage I use it at the WDS configuration (by selecting it and applying it to the image) everything works except for the computer name/joining the domain.  The naming part is basically completely ignored and the computer is started with a random name and not on the domain.

I don't really care how I do it, at sysprep stage or in WDS I would basically like to be able to automate the whole thing.  So if I use the file at the sysprep stage why am I being asked to specify the time zone if I already had done this in the file?

or if I use the file in WDS how can I get the computer named appropriately?  I like the way WDS names the files using the PC%02# naming format when I use the unattend.xml file in sysprep.  If there was some way of using the unattend.xml file in WDS and keeping the WDS naming/domain join that would be ideal.

I've posted my .xml files below hopefully there is a WDS guru out there that can help?!

cheers

Rob

Unattend.xml file

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="generalize"><component name="Microsoft-Windows-Security-SPP" 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"><SkipRearm>8</SkipRearm></component></settings><settings pass="specialize"><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-Security-SPP-UX" 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"><SkipAutoActivation>true</SkipAutoActivation></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"><CopyProfile>true</CopyProfile><ShowWindowsLive>false</ShowWindowsLive><TimeZone>GMT Standard Time</TimeZone><ProductKey>XXXX-XXXX-XXXX-XXXX-XXXX</ProductKey></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>en-GB</InputLocale><SystemLocale>en-GB</SystemLocale><UILanguage>en-GB</UILanguage><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"><AutoLogon><Password><Value>XXX</Value><PlainText>false</PlainText></Password><Enabled>true</Enabled><LogonCount>5</LogonCount><Username>administrator</Username></AutoLogon><FirstLogonCommands><SynchronousCommand wcm:action="add"><Order>1</Order><CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk XXXX-XXXX-XXXX-XXXX-XXXX</CommandLine><RequiresUserInput>false</RequiresUserInput></SynchronousCommand><SynchronousCommand wcm:action="add"><Order>2</Order><CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine><RequiresUserInput>false</RequiresUserInput></SynchronousCommand><SynchronousCommand wcm:action="add"><Order>3</Order><CommandLine>cscript //b &quot;C:\Program Files\Microsoft Office\Office14\ospp.vbs&quot; /inpkey:XXXX-XXXX-XXXX-XXXX-XXXX</CommandLine><RequiresUserInput>false</RequiresUserInput></SynchronousCommand><SynchronousCommand wcm:action="add"><Order>4</Order><CommandLine>cscript //b &quot;C:\Program Files\Microsoft Office\Office14\ospp.vbs&quot; /act</CommandLine><RequiresUserInput>false</RequiresUserInput></SynchronousCommand></FirstLogonCommands><OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Work</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE><UserAccounts><AdministratorPassword><Value>XXX</Value><PlainText>false</PlainText></AdministratorPassword><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>XXX</Value><PlainText>false</PlainText></Password><Description>Local Administrator</Description><DisplayName>Administrator</DisplayName><Group>Administrators</Group><Name>Administrator</Name></LocalAccount></LocalAccounts></UserAccounts><RegisteredOrganization>XXX</RegisteredOrganization><RegisteredOwner>XXX</RegisteredOwner></component></settings><cpi:offlineImage cpi:source="wim:c:/downloads/sw_dvd5_win_pro_7w_sp1_64bit_english_-2_mlf_x17-59279/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

This is the WDSclientunattend.xml

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="windowsPE"><component name="Microsoft-Windows-International-Core-WinPE" 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"><SetupUILanguage><UILanguage>en-US</UILanguage></SetupUILanguage></component><component name="Microsoft-Windows-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"><DiskConfiguration><Disk wcm:action="add"><CreatePartitions><CreatePartition wcm:action="add"><Order>1</Order><Size>300</Size><Type>Primary</Type></CreatePartition><CreatePartition wcm:action="add"><Extend>true</Extend><Order>2</Order><Type>Primary</Type></CreatePartition></CreatePartitions><ModifyPartitions><ModifyPartition wcm:action="add"><Active>true</Active><Format>NTFS</Format><Order>1</Order><PartitionID>1</PartitionID></ModifyPartition><ModifyPartition wcm:action="add"><Active>false</Active><Format>NTFS</Format><Order>2</Order><PartitionID>2</PartitionID><Letter>C</Letter></ModifyPartition></ModifyPartitions><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk></Disk></DiskConfiguration><WindowsDeploymentServices><ImageSelection><InstallImage><Filename>W7_Pro_Master_x64.wim</Filename><ImageGroup>ImageGroup1</ImageGroup><ImageName>W7_Pro_Master_x64</ImageName></InstallImage><InstallTo><DiskID>0</DiskID><PartitionID>2</PartitionID></InstallTo></ImageSelection><Login><Credentials><Domain>XXX</Domain><Password>XXX</Password><Username>administrator</Username></Credentials></Login></WindowsDeploymentServices></component></settings><cpi:offlineImage cpi:source="wim:c:/downloads/sw_dvd5_win_pro_7w_sp1_64bit_english_-2_mlf_x17-59279/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


Viewing all articles
Browse latest Browse all 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>