SCCM OSD Unattend.xml and Microsoft-Windows-Foundation-Packa ge
All, Using SCCM 2007 SP2 (no R2 or MDT) to deploy Windows 2008 R2. Have created and captured an image and attempting to deploy this image out. I want to enable the server for Hyper-V as part of the task sequence (e.g. if a variable flags this to be the case). I was using the command ServerManagerCmd.exe –Install Hyper-V and then issuing a reboot in the task sequence after the install. However I have been hit by the same challenge everyone else has (see http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/a61574c4-fb8c-4327-b2c6-3d1296f0b5c8 for an example) -> whereby the install of Hyper-V requires 2 reboots - the second being an "Out of band" reboot, which hoses the task sequence so that subsequent steps do not fire (the crticial one being the configuration of Hyper-V such as the Virtual Switch and NIC). The thread I've attached suggests including the Hyper-V role in the unattend.xml I use to play down my image in (in the Microsoft-Windows-Foundation-Package section). But despite how I try, I can't get this to work. I have attached the unattend.xml I use with the "Apply Operating System Image" task: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="Microsoft-Hyper-V-Management-Clients" state="true" /> <selection name="Microsoft-Hyper-V" state="true" /> </package> </servicing> <cpi:offlineImage cpi:source="wim://server/share$/os/image/release.wim#Windows 2008 R2 x64 Std System Disk" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> To add insult to injury I've found http://technet.microsoft.com/en-us/library/dd744263(WS.10).aspx which suggests that the installation of Hyper-V is supported by sysprep (?!). My questions: Is this correct - does the Microsoft-Windows-Foundation-Package not work at all within SCCM OSD deployment tasks when deploying an image? If it does work - how best can I troubleshoot this further (I've hunted around the logs in C:\Windows\Panther and don't see anything useful - I see all the other steps (from the SCCM generated portion of the unattend.xml) being processed in C:\Windows\Panther\UnattendGC\SetupAct.log but nothing for the Hyper-V install. Do I have to make some changes to my unattend.xml file perhaps? If it doesn't work - anyone any clues how I can get the Hyper-V role installed without casuing the "out-of-band" reboot and hosing the rest of the task sequence? Thanks in advance! Paul
July 24th, 2010 10:29pm

you are in luck, Johan has very kindly covered this right here http://www.deployvista.com/Home/tabid/36/EntryID/137/language/en-US/Default.aspx cheers niall My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2010 12:28am

Hello Niall (and indeed Johan), Thanks very mujch for this - the solution is spot on, works like a charm, and due to the unique way WIMs are created, cost me a whopping 20Mb of space importing the second image into my already existing 3Gb WIM file! I now alos have a nice script to auto create the second image once my master template image is generated (so no problems with human error!) It's odd -> I would never have thought to approach the problem like this, but I guess I've just bought into Offline servicing in a big way ;-) However -> just to complete my knowledge - is it possible anyone does know the answer to the original question above - does the Microsoft-Windows-Foundation-Package not work at all within SCCM OSD deployment tasks when deploying an image? Paul
July 27th, 2010 12:30am

Hello Niall (and indeed Johan), Thanks very mujch for this - the solution is spot on, works like a charm, and due to the unique way WIMs are created, cost me a whopping 20Mb of space importing the second image into my already existing 3Gb WIM file! I now alos have a nice script to auto create the second image once my master template image is generated (so no problems with human error!) It's odd -> I would never have thought to approach the problem like this, but I guess I've just bought into Offline servicing in a big way ;-) However -> just to complete my knowledge - is it possible anyone does know the answer to the original question above - does the Microsoft-Windows-Foundation-Package not work at all within SCCM OSD deployment tasks when deploying an image? Paul Hi, Does anyone know if the Microsoft-Windows-Foundation-Package work within a SCCM OSD deployment tasks when deploying an image? I am trying to enable the games within my Windows 7 Enterprise WIM and having no luck. Any help would be appreciated.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 11:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics