BTW, you should use the API to set this instead of hacking the registry directly. See http://blogs.msdn.com/oldnewthing/archive/.../09/390706.aspx (The API is SystemParametersInfo). That way, you can get the changes you want without needing to logoff/logon.