How Windows Determines Whether an Application Needs Administrative Privileges
Windows examines several aspects of an executable to determine whether it should display a UAC prompt before running the application:
- Application properties Users can select the Run As Administrator check box for executable files.
- Application manifest A description of the application provided by the application developer, which can require Windows 7 to run the program as an administrator.
- Application heuristics Aspects of the application that might indicate it requires administrative privileges, such as being named Setup.exe.
The sections that follow describe each of these aspects and show you how to configure applications so that they always require elevated privileges. This can be important when an application does not work properly without elevated privileges but UAC does not prompt the user automatically for credentials.
In this tutorial:
- Windows 7 Client Protection
- Understanding the Risk of Malware
- User Account Control in Windows 7
- UAC for Standard Users
- UAC for Administrators
- UAC User Interface
- Secure Desktop
- How Windows Determines Whether an Application Needs Administrative Privileges
- How to Control UAC Using Application Properties
- How UAC Examines the Application Manifest
- UAC Heuristics
- UAC Virtualization
- UAC and Startup Programs
- Compatibility Problems with UAC
- How to Configure UAC
- Group Policy Settings
- Control Panel
- Msconfig.exe
- How to Configure Auditing for Privilege Elevation
- Other UAC Event Logs
- Best Practices for Using UAC
- AppLocker
- AppLocker Rule Types
- Auditing AppLocker Rules
- DLL Rules
- Custom Error Messages
- Using AppLocker with Windows PowerShell
- Using Windows 7 Defender
- Understanding Windows Defender
- Automatic Scanning
- Real-Time Protection
- Windows Defender Alert Levels
- Understanding Microsoft SpyNet
- Configuring Windows Defender Group Policy
- Configuring Windows Defender on a Single Computer
- How to Determine Whether a Computer Is Infected with Spyware
- Best Practices for Using Windows Defender
- How to Troubleshoot Problems with Unwanted Software
- Network Access Protection
- Forefront