Insert COM Classes
COM elevations are a form of elevation which are typically initiated from Explorer, when an integrated task requires administrator rights. Explorer uses COM to launch the task with admin rights, without having to elevate Explorer. Every COM class has a unique identifier, called a CLSID, that is used to launch the task.
COM tasks usually trigger a Windows UAC prompt because they need administrative privileges to proceed. Privilege Management for Windows allows you to target specific COM CLSIDs and assign privileges to the task without granting full administration rights to the user. COM based UAC prompts can also be targeted and replaced with custom messaging, where COM classes can be allowed and/or audited.
- Select the Application Group you want to add the COM Class to.
- Right-click and select Insert Application > COM Class .
- Enter a Class ID (CLSID) if required. Privilege Management for Windows extracts information from this for the criteria if required. Or click Browse Class or Template.
- Enter a description if required. By default, this is the name of the application you're inserting.
- You need to configure the matching criteria for the executable. COM classes are hosted by a COM server DLL or EXE, so COM classes can be validated from properties of the hosting COM server. You can configure:
- File or Folder Name matches
- Drive matches
- File Hash (SHA-1 Fingerprint) matches
- File Hash (SHA-256) matches
- Product Name matches
- Publisher matches
- CLSID matches
- App ID matches
- COM Display Name matches
- Product Description matches
- Product Version matches
- File Version matches
- Trusted Ownership matches
- Application Requires Elevation (UAC): Match if Application Requires Elevation (User Account Control) is always enabled, as COM classes require UAC to elevate
- Source URL matches
- You need to configure the
for the application. You can configure:
- Allow child processes will match this application definition
- Force standard user rights on File Open/Save common dialogs
- Click OK . The application is added to the Application Group.
- Insert Applications from Templates
- File or Folder Name Matches
- Drive Matches
- File Hash (SHA-1) Matches
- Product Name Matches
- Publisher Matches
- CLSID Matches
- App ID Matches
- COM Display Name Matches
- Product Description Matches
- Product Version Matches
- File Version Matches
- Trusted Ownership Matches
- Application Requires Elevation (UAC)
- Source URL Matches
- Advanced Options