WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Vista

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

UiAccess TRUE and Protected Locations

 Keywords: UiAccess TRUE @TREU Protected trusted Folders Locations Program Files System32

Question:

I have a WinBatch script the must have UIAccess set to True because I can calling Control Manager Extender functions. However, I see by default that I must run the compiled scripts from a Protected' windos directory such as: "Program Files" or "System32".

I need to run these script from a logoin script that resides on a networks server. What can I do?

Answer:

First Applications that request uiAccess=true must have a valid, trusted digital signature to execute. Also, applications by default must reside in a trusted location on the hard drive (such as windows or program files) to receive the uiAccess privilege. They will still run if they are not in one of these locations, but they will not receive the privilege. You can disable this security feature through the local security policy mmc snap-in.

User Account Control: Only elevate UIAccess applications that are installed in secure locations Location

Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\
UIAccess integrity level is enabled by setting UIAccess=true in an application's manifest.

This security setting will enforce the requirement that applications requesting to be run with a UIAccess integrity level must reside in a secure location on the file system. Secure locations are limited to the following directories:

"	…\Program Files\ (and subfolders)
"	…\Windows\System32\r- 
"	…\Program Files (x86)\ (and subfolders, in 64-bit versions of Windows only)
Note
Windows enforces a PKI signature check on any interactive application that requests to be run with UIAccess integrity level regardless of the state of this security setting.

The following table describes the values available for this setting.

Value Description
EnabledAn application will start with UIAccess integrity only if it resides in a secure location in the file system.
DisabledAn application will start with UIAccess integrity even if it does not reside in a secure location in the file system.

Default value: Enabled


Article ID:   W18432
Filename:   UiAccess TRUE and Protected Locations.txt
File Created: 2008:12:11:10:38:08
Last Updated: 2008:12:11:10:38:08