Apply & Update the HKCU\Control Panel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Apply & Update the HKCU\Control Panel without a locally Cached profile being
present. I mean, apply the registry settings without logging off and back
on..

Can this be done? Please help me or I'll be shot!
 
Hi Chris

The problem is that when you set things in the Control Panel registry
key they generally affect the explorer environment, which is normally
already launched before you patch the registry. The way in which we get
round this is to run a small command after patching the registry:

%SystemRoot%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters

This seems to refresh the environment and certainly works for setting
things like wallpaper using a registry file.

Hope this is of use to you.

Thanks

Jon Wallace
AppSense - http://www.appsense.com
 
Back
Top