Share via


Unattended Installation of Windows Server 2008 with Hyper-V RC0

I am taking a quick break from the WMI PowerShell scripts while I take a short Mothers Day vacation, more WMI scripts when I get back! Unattended Hyper-V installation has been one of the most read TechNet forum posts I wrote and it also seems that a lot of people where doing the installation wrong.  This sample was generated using Windows Automated Installation Kit (AIK), this is a tool that allows you to build unattened xml files for Windows 6.0 OS’s (Vista and Server).

Make sure you update the path to the update cab file.   To extract the cab file download the RC0 update from the Microsoft Download Center then run expand -f:* Windows6.0-KB949219-x64.msu <folderToExtractTo>.

 

<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="install" permanence="permanent"> <assemblyIdentity name="Package_for_KB949219" version="6.0.1.2" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" /> <source location="<PathToUpdateCab>\Windows6.0-KB949219-x64.cab" /> </package> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="Microsoft-Hyper-V" state="true" /> <selection name="Microsoft-Hyper-V-Management-Clients" state="true" /> </package> </servicing> </unattend>

 

Have a great Mothers Day weekend!!!   And remember every mom needs a copy of Windows Server with Hyper-V RC0 pre-installed, seriously odds are pretty good flowers are a better Mothers Day gift. :-)

-Taylor Brown
-Hyper-V Test Lead