One of the recommendations regarding virtualising a Windows Server was to adjust the GUI effects for best performance; now this is a user based configuration and as far as I can see to implement this through a group policy object requires the creation of user registry preference policy.
The registry preference that needs creating is:
Key: VisualFXSetting; REG_DWORD which equals 0x2 in hexadecimal.
In order to implement this user policy to Windows Server 2003 client you’ll need the group policy preferences client side extensions which can be found here:
Last night I was reading about virtualising Windows Server 2008 r2 in this book: http://www.amazon.com/Virtualizing-Microsoft-Applications-VMware-vSphere/dp/0470563605 page 106. One of the many recommendations was to disable hibernation; now to disable hibernation you just need to run powercfg.exe -h off.
My quandary was how do I implement this via Group Policy? – well I couldn’t find an option to disable hibernation via Group Policy, so I wrote a vbscript that runs when the computer starts up.
This script basically looks for c:\hiberfil.sys; if it finds hiberfil.sys then it runs powercfg.exe -h off
You can find the script here. Please note I’ve uploaded the script as a text file, if you wish to run it you’d need to change it to .vbs.