Tagged: Virtualisation best practice

Configuring the Windows GUI for best performance

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:

Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\

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:

http://www.microsoft.com/download/en/details.aspx?id=6955 and here: http://www.microsoft.com/download/en/details.aspx?id=14171

Advertisements

Checking the hibernate status of a Windows Server 200x

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.