Skip to content

Instantly share code, notes, and snippets.

@john-clark
Last active January 5, 2021 05:44
Show Gist options
  • Save john-clark/38ea16d8367a4a8aca80f2f49f4d8bd0 to your computer and use it in GitHub Desktop.
Save john-clark/38ea16d8367a4a8aca80f2f49f4d8bd0 to your computer and use it in GitHub Desktop.
Setup Server to allow anyone to install OS

What is this?

This is meant for home users that need to quickly test different M$ operating systems

WDSClientUnattend.xml usage

  • install windows server

  • add windows deployment server role

  • add deployment OS

  • add administrator user for WDS (if you want)

  • Change WDS server properties in the following tabs

    • PXE Response Policy - Respond to all Client computers
    • Boot - Known & Unknown clients - Always continue the PXE Boot
    • Default boot image (set to your boot.wim)
    • Client - Enable Unattended Installation - WdsClientUnattend\WDSClientUnattend.xml
  • test a client pxe network boot functionality

This XML only modifies the settings pass for "windowsPE", so what this means is that it will just log into the WDS server without prompting for a username and password, you will then be given the OS choices and installation will continue normally.

<?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>
<UILanguage>en-US</UILanguage>
<InputLocale>en-US</InputLocale>
<UserLocale>en-US</UserLocale>
</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">
<WindowsDeploymentServices>
<Login>
<WillShowUI>OnError</WillShowUI>
<Credentials>
<Username>wdsuser</Username>
<Domain>wds</Domain>
<Password>Password123!</Password>
</Credentials>
</Login>
</WindowsDeploymentServices>
</component>
</settings>
</unattend>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment