Selectively disable UAC on Windows 7

During recent tests of ArcServe 16, I found out that command line tool cabatch.exe on my Windows 7 (x64) workstation triggers User Account Control (UAC) mechanism, resulting in a dialog box where I need to confirm application launch. This is unacceptable for automation of submitting backup jobs. Instead of completely disabling UAC on my Workstation I decided to turn off UAC selectively, just for a couple of CA command line tools. Here are the steps for cabatch:

Step 1) You’ll need “Microsoft Application Compatibility Toolkit 5.6”, you can download and install ApplicationCompatibilityToolkitSetup.exe from Microsoft site”.

Step 2) run Compatibility Administrator. In my case cabatch.exe is 32-bit binary, so I must launch 32-bit “Compatibility Administrator” from program group:

CompAdmin1

Click on Fix button and enter application info:

CompAdmin2

skip Compatibility mode with button Next:

CompAdmin3

on Compatibility fixes scroll down until you find RunAsInvoker and check it (you can also run a test):

CompAdmin4

on Matching information screen leave everything as it is and click Finish:

CompAdmin5

click on Save button to save newly created database:

CompAdmin6

name the database so, that you’ll know what it is for (DisablingUAC-app…):

CompAdmin7

then open File menu and install database:

CompAdmin8

you’ll get confirmation if installation was successful:

CompAdmin9

That’s it. No more UAC nagging while executing cabatch.exe.

Posted on 17.10.2011, in MS Windows and tagged , . Bookmark the permalink. Comments Off on Selectively disable UAC on Windows 7.

Comments are closed.