Apply & Update the HKCU\Control Panel

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!
 
J

Jon Wallace

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top