How to disable UAC for a specific program

The purposes of this procedure are: 

  • to disable UAC for a specific program, and still keep the Windows UAC setting as it is.
  • to login Windows as normal user and run the program without entering administrator password.

 

TOOL

For Windows 10 please download this program:

https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit

 

Please install “Application Compatibility Tools”. The others are not necessary, you can uncheck them all.
2018-02-07_15h58_00.png

INSTRUCTIONS

 

Please follow the instructions here:

(reference: http://cybernetnews.com/helpful-tip-disable-uac-prompt-for-an-application/)

 

  1. In the Start menu find the shortcut Microsoft Application Compatibility Toolkit 5.0\Compatibility Administrator. Right click it and click Run as administrator.
  2. In the left hand pane, right-click on the database under Custom Databases and select Create New, and select Application Fix.

  3. Enter the name and other details of the application you want to alter behavior on and then browse to it to select it. Click Next.
    2018-02-07_16h02_10.png

  4. Click Next until you are in the Compatibility Fixes screen. On the Compatibility Fixes screen, find the item RunAsInvoker, and check it.
    2018-02-07_16h02_40.png
    Click Next and then Finish.

  5. Select File -> Save As. Save the file as a filename.SDB type file in a directory you will easily find it.
    2018-02-07_16h04_25.png Then copy the <filename>.sdb file to the computer you want to alter the elevation prompt behavior on.
  6. Click Start -> All Programs -> Accessories. Right click Command Prompt and click Run as administrator.
  7. Run the command below:
    sdbinst <path>\<filename>.sdb

    For example, if you saved the .SDB file as abc.sdb in the c:\Windows folder, the command should be like this:
    sdbinst  c:\windows\abc.sdb
    It should prompt: Installation of <name> complete.
    2018-02-07_16h06_07.png

  8. Done.




For Windows 7 please download the previous version tool here:

https://www.microsoft.com/en-us/download/details.aspx?id=7352

Have more questions? Submit a request

17 Comments

  • 0
    Avatar
    Jens Hantschel

    Good Blogpost, but not working for me. I tried to configure "Diskpart.exe" in C:\Windows\SysWOW64\. It is a 32bit Application. Message still showing up. Any suggestions?

  • 0
    Avatar
    laura russell

    Seems to be very clear instructions but it did not work for me either. Am using a Seagate Dashboard program that throws a UAC screen on every boot up for "Startservices.exe". Having already installed and setup this software, I need to keep the backup service going but am very annoyed by the UAC screen. But could not solve the problem following your procedure here. Should the NDB file be saved in any particular folder?

  • 0
    Avatar
    laura russell

    Sorry, I meant SDB file (not NDB).

     

  • 0
    Avatar
    Luis V. Wagoner

    For Laura:

    Great article - thanks. Please update step 7 to exclude the path as an argument to sdbinst, and use only the *.sdb file. Apparently, we only need to CD to the directory where the sdb file was saved. Thanks.

  • 0
    Avatar
    Turtle Covers

    This doesn't work for me

  • 0
    Avatar
    Nonesi

    How do you reverse this? I tried this and the app now won't start unless I right click and select "run as admin" despite the option being ticked under properties.

  • 0
    Avatar
    Doub leup

    @Nonesi did you find a way to reverse it? 

    The application I used it on goes to start but after its initial launch screen nothing happens.

  • 0
    Avatar
    Márcio Silva

    Did not work for me. I was trying to do this in Arc Games Launcher, but instead, it only made it worse, didn't run at all, saying I didn't had enough privileges.

    So I managed to revert it. Just open the Compatibility Administrator, on the left pane, look for "Installed Databases". Uninstall the ones you made. Problem solved. I guess I will just disable UAC or use some other alternative software.

    Edited by Márcio Silva
  • 0
    Avatar
    Brian Bergin

    Does not work for me either.  Trying to get an ancient photo editing product called Lview Pro version 1.D2 to work.  It works fine in the Test mode inside the ADK but not after I import the sdb.

  • 0
    Avatar
    Keith Sheldon

    Just used this method for a overclocking utility and it worked perfectly, thanks

  • 0
    Avatar
    Christopher Vogel

    Does not work. When I applied the fix as instructed the app opened without the UAC but showed an error message because it wasn't run as administrator. When I set the app to automatically run as administrator the UAC was restored. Waste of time. 

       Try "UAC Trust Shortcut" . It's much simpler and actually works

    Edited by Christopher Vogel
  • 0
    Avatar
    Marco Scheffel

    Worked perfectly for me, thanks.

  • 0
    Avatar
    Rompers Uncles

    Worked perfectly for me, thanks. We had to apply the fix to MYOB.

    Minor notes:

    After installation Windows 10 Pro 1910, the msft app was found under "Windows Kits" in the Start menu.

    Myob is 32-bit, so use that version of the kit

    In step 3, click Next twice (tho 'Run as Invoker' is also available after the first 'Next')

    In step 5, there seems to be two 'saves'; one to save the database with a name; and the following one with the savefile dialog as shown in the above screenshot

    Step 7 is perfect as shown (one commenter said it is not)

  • 0
    Avatar
    Robert Wilson

    Worked great!  Thanks so much.

  • 0
    Avatar
    Ms G

    Thank you so much - worked perfectly for me also to fix MYOB.    Only glitch I had was I had a space in the file name - removed the space and all sorted. 

  • 0
    Avatar
    Peter Stacey

    Hi there, I can't find step 6" Click Start -> All Programs -> Accessories. Right click Command Prompt and click Run as administrator." on my computer, Windows 10. Any ideas?

  • 0
    Avatar
    Peter Stacey

    ok found it now.

Please sign in to leave a comment.