If you're into Microsoft Windows Server 2008 R2 SP1 Workstation (or if you're just a curious "Dreamspark" student…), you may wish to try and use this slick but crude and efficient Microsoft Server OS as a Workstation OS.
AND Microsoft Hyper-V is a welcome new entry to the virtualization market: rest assured it's gonna be lots of fun at the backoffice!
Are you nuts?
Where to install that spare copy of Windows Server 2008 R2? On your laptop, where else did you expect?!
Beware — MS Windows server with the Hyper-V role on a laptop is unsupported by Microsoft and what I'm documenting here is just a dirty hack.
There are inconveniences to be aware of, for one, if you enable the Hyper-V Role on your laptop, it will become "just another desktop", since Hyper-V messes with ACPI and disables the "Hybernation" & "Sleep" features (ie.your laptop won't sleep/hibernate anymore, not even after you try and enable it from the CLI).
That said, there's another hack which allows you to disable the Hypervisor at boot time (then you may manually launch it from inside Windows) -- but that's just another hack, isn't it!?
By playing with Hyper-V, your system "complexity" increases exponentially (ie. by adding VMs), so it's important you plan for backup to prevent a stupid "desktop" software to break your perfectly working config (that's exactly what happened to me recently!).
Digressing a lil' bit, someday I ended up installing my "Sony DSLR Original Drivers CD" on my Hyper-V laptop.
After a reboot, my system hung…I mean, "5#it happens", what do you do on those cases? Restore an ENTIRE Hypervisor OS from backups because of a flaky desktop application not designed for server OSs?
Clearly System Restore would've helped solve this silly little issue in a pinch (ie. by restoring the system to a previous state).
Here's some good macadamias: How to manually Enable System Restore on Windows Server 2008 R2.
To enable System Restore on your MS Win Server 2008 R2 SP1, there are some extra precautions to be taken, follow me and I'll show you how to enable it step-by-step!
1) Enable the Windows Backup Feature and all the related sub-features then REBOOT your system.
This can be done through the CLI:
- Open an elevated command prompt (Win+R, cmd then CTRL+SHIFT+ENTER).
- type the following commands:
dism /online /enable-feature /featurename:WindowsServerBackup
dism /online /enable-feature /featurename:WindowsServerBackupCommandlet
The first two commands will enable the "Backup role", while the third one will reboot your system (if not already proposed by the last dism-command…).
2) Register to www.win2008r2worstationforum.com
3) Go to http://www.win2008workstation.com/forum/viewtopic.php?f=21&t=1321&sid=f63589f0435ec11abd4e4faf93328ae2&start=40 and Download "System Restore V2.zip" from page 5, then thank the author "halladayrules" for making this available — (alternatively you can get my copy of it: System Restore V2.zip).
4) Manually execute one by one the commands inside the "install.bat" script (i.e.: manually copy the files from folder to folder then run regsvr32 WITHOUT the /S(ilent) parameter).
5) [OPTIONAL] ONLY IF you have a DHCP SERVER ENABLED (I did!), there's a bug that needs to be taken care of.
This fix should be applied to the registry — basically you'll need to allow the "NETWORK SERVICE"-user "Full Control" permissions.
Open the registry with "regedit" then locate the "Diag" subkey (navigate through HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS).
Now you should grant the "NETWORK SERVICE" FC permissions to the VSS key.
To grant the "NETWORK SERVICE" FC permissions, Right Click on the Diag subkey then selecet "Properties" and make sure the "NETWORK SERVICE"-User is present — for additional details, check this out: http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2general/thread/589f71f3-5eb5-4b07-a3f1-4c8aec36736c
6) At this step, go to your %systemdrive%, look for the hidden folder "System Volume Information", Right Click on it then allow FC permissions to the "Administrators"-Group (if you get an error which says permissions couldn't be granted or similar, simply ignore).
7) Now Right Click on "Computer", Select "Properties", "Advanced Settings" and finally you'll find the ("missing") System Protection tab.
8) Configure it to your liking then test it by creating a new System Restore Point.
By following the procedure from start to end, you shouldn't encounter any problems, if you do, then Google is your friend, mate!
So…What's the "System Volume Information"-folder for? Now you know… :D