Skip to content

Instantly share code, notes, and snippets.

@atiq1589
Last active May 15, 2018 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atiq1589/edb70b7215572dd6b63668ad88dbf8b6 to your computer and use it in GitHub Desktop.
Save atiq1589/edb70b7215572dd6b63668ad88dbf8b6 to your computer and use it in GitHub Desktop.
Disable User Account Control for certain applications only

While you should not disable the UAC prompts for the whole computer, you may want to disable it for certain applications. Using the Microsoft Application Compatibility Toolkit and following the steps below, you can disable the UAC prompts for one or more specific applications which you trust. This will NOT disable the User Account Control feature for the whole computer.

  1. Create a system restore point first.
  2. Download and install the Microsoft Application Compatibility Toolkit 5.0. (https://www.microsoft.com/en-us/download/details.aspx?id=7352)
  3. In the Start menu, locate the new folder. Find the shortcut icon for Compatibility Administrator. Right click it and click Run as administrator.
  4. In the left-hand pane, right-click on the database under Custom Databases and select Create New, and select Application Fix.
  5. 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.
  6. Click Next until you are in the Compatibility Fixes screen.
  7. On the Compatibility Fixes screen, find the item RunAsInvoker, and check it.
  8. Click Next and then Finish.
  9. Select File and Save As. Save the file as a filename.SDB type file in a directory you will easily find it.
  10. Copy the .sdb file to the Vista computer you want to alter the elevation prompt behavior on.
  11. Open a Command Prompt as administrator.
  12. Run the command: sdbinst <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 complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment