bootloader and sysprep
On a 2008R2 lab machine (we have 50 machines) we use the bootoption hypervisorlaunchtype = off to disable hyper-v so we can use vmware, vpc or virtualbox. This works fine but when we use sysprep with an unattend.xml file the bootloader rule is removed
and only the OS with Hyper-v can be booted. Any idea how we can script or reset the bootloader?
July 1st, 2010 2:42am
Hi,
You may consider to run a script after the system is setup. Please refer to the following article:
http://technet.microsoft.com/en-us/library/cc766314(WS.10).aspx
If you would like to know how to write the script, please consult it in our MSDN forum. They are the best resource to deal with scripting issues.
http://social.msdn.microsoft.com/Forums/en-US/categories
Tim Quan
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer
your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2010 9:06am
The script we are using is:
for /f "tokens=6" %%G in ('bcdedit /copy {default} /d "No Hypervisor"') do set GUID=%%G set GUID=%GUID:~1,-2% bcdedit /set {%GUID%} hypervisorlaunchtype off
July 31st, 2010 12:50am