Skip to content

Help automating WDS

Featured Replies

I'm trying to automate WDS image deployment. I put this script together that seems to work very nicely on computers with hard drives less than 100 GB. On drives that are bigger than 100 GB or so it will only format the first 30 GB, install there and leaves the rest of the hard drive unpartitioned and untouched. I want to preserve the OEM recovery partition, wipe out everything on the rest of the hard drive and write my image there. Here's my script:

 

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">'>http://schemas.microsoft.com/WMIConfig/2002/State">

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk wcm:action="add">

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Extend>false</Extend>

<Format>NTFS</Format>

<Label>Local Disk</Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>false</WillWipeDisk>

</Disk>

</DiskConfiguration>

<WindowsDeploymentServices>

<Login>

<Credentials>

<Domain>www.windows-noob.com</Domain>

<Password>netsys</Password>

<Username>administrator</Username>

</Credentials>

</Login>

<ImageSelection>

 

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</ImageSelection>

</WindowsDeploymentServices>

</component>

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>

<InputLocale></InputLocale>

<SystemLocale></SystemLocale>

<UILanguage>en-US</UILanguage>

<UserLocale></UserLocale>

</component>

</settings>

 

</unattend>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.