How to get rid of the "Failed to update system registry" dialog for an application with normal user permissions

11,612

Solution 1

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:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true

Solution 2

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:
11,612

Related videos on Youtube

MA1
Author by

MA1

Updated on September 18, 2022

Comments

  • MA1
    MA1 almost 2 years

    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?

  • MA1
    MA1 over 12 years
    Thanks. Not found any option related to change execution permission in compatibility tab. I am using XP.
  • jhcaiced
    jhcaiced over 12 years
    Sorry about the confussion, I updated the answer with an option for running apps as administrator with WinXP