RunOnce dont get reset in Limited User mode??!!

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I have written a software that requires a reboot after uninstall
before reinstalling. I write a registry value in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
and checks it during installation. This value always get reset while
logging in as adaministrator. But I recently discover that this doesnt
get reset when log in as limited user. I need this to work as limited
user as well, how should I get around this prolblem?

Ken
 
If the application is running under the user's credentials, then they may not have write permissions to that portion of the registry. You need to either adjust the permissions, or put the value you're creating, elsewhere in the Registry.
 

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

Back
Top