Jump to content


Help automating WDS

Recommended Posts

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">



<Disk wcm:action="add">


<ModifyPartition wcm:action="add">




<Label>Local Disk</Label>



























<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">












Share this post

Link to post
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...