Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application which is modifying the Windows registry upon execution. With administrator privileges, the application executes fine (no problem) but whenever a normal user executes the application, a dialog box appears with following message

Failed to update system registry. Please try using REGIDIT.

The application executes successfully when clicked on OK button. But I want to get rid of this message.

The problem is obviously with permissions.

The application is just standalone executable.

Can anyone suggest a solution?

share|improve this question
up vote 1 down vote accepted

For Windows 7 : If you application needs Administrative privileges to run and you trust it, modify the properties for the executable to always execute as Administrator. IRC, you right click on the executable, the option is at the bottom of the Compatibility tab. - Also check if there is a newer version of your app that handles UAC correctly and can be run as regular user.

For Windows XP: The RunAs utility can be used to start some programs under another privileges, you can get more information at:

share|improve this answer
Thanks. Not found any option related to change execution permission in compatibility tab. I am using XP. – MA1 Nov 26 '11 at 16:19
Sorry about the confussion, I updated the answer with an option for running apps as administrator with WinXP – jhcaiced Nov 26 '11 at 23:05

Use Sysinternals Process Monitor to see to where in the registry the application tries to access (as a normal user).

Set a filter to the process name and watch only registry activity (disable network,file, etc....)

Then look for the Access Denied messages (in the result column) and set permissions to those registry locations.

Please be careful....

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .