Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What's Covered

Create an Environment Variable Action

Create a Blank Application Control Policy

Test the New Policy

 

Using Application Control Solution you can override UAC prompts for end-users. You can create custom messages that require users to submit a reason for requesting administrator rights, which replace UAC prompts for credentials.

...

  1. Self-Elevation Without Adding Administrator Rights will capture the reason and close the application. (For details on how to create this custom message, go to [READY] to Self-Elevation Without Adding Administrator Rights.) 
  2. Self-Elevation will capture the reason and allow end users to automatically have administrator rights. (For details on how to create this custom message, go to [READY] Self-Elevation.)
  3. Request Elevation will capture the reason and go through an approval process with the help desk. (For details on how to create this custom message, go to [READY] Request Elevation.)

 

Overriding UAC prompts is a twothree-step process:

  1. Create an There is an out-of-the-box Environment Variable Filter called User Access Control Consent Dialog Detected.
  2. Create an Environment Variable Action.
     

To create an Environment Variable Filter, do the following steps:

  1. In the Security Manager Console, click the Policies tab.There is an out-of-the-box Environment Variable Action called Suppress User Account Control Consent Dialog, which you'll use to prevent the UAC prompt from appearing.
  2. Create a Blank Application Control Policy.
  3. Test the New Policy

Anchor
Policy
Policy
Create a Blank Application Control Policy

Next, create a Blank Application Control Policy by doing the following steps:

  1. In the file library in the left pane, navigate to to Policies > Arellia Solutions > Application Control > Filters > Dynamic Filters > EnvironmentalVariablesPolicies. 
  2. Right-click Environment Variables Policies and click New > Environment Filter.Blank Application ControlPolicy. 
    Image Added 
  3. In the Create Item dialog, enter a Name and  and Description.  
    Image Removed
  4. Set the variable Name to __APPINFO_RUNADMIN and set the Value of 1.
  5. In the Match Type menu choose Partial.
  6. Click Save.
    Image Removed

To create an Environment Variable Action, do the following steps:

  1. In the file library in the left pane, navigate to Policies > Arellia Solutions > Application Control > Actions > Environment Variables.
  2. Right-click Environmental Variables and click New > Set Environment Variable Action. 
  3. Give the action a name, such as Clear UAC dialog
  4. Set the Environmental Variable name to "__APPINFO_RUNADMIN" and empty value
    Image Removed
  5. Save the action (this action is used to prevent the UAC prompt from showing)
  6. Navigate to Policies > Arellia Solutions > Application Control > Policies 
  7. Right-click Policies and select New > Blank Application Control Policy 
  8. Set the application target to the new UAC detected filter from step 2
    Image Added
     
  9. In the right pane under the Applications to Control, click the Applications link and choose the new Environment Variable Filter. (Optionally you can change this so only certain applications or certain users will have see the UAC prompt overriddenImage RemovedUnder Exclude conditions add overridden UAC prompt.)
  10. Under Conditions (optional), click the Exclude any and add the Administrators filter to stop child processes (which inherit elevation) from triggering this policy.
    Image Added
  11. Click on the Application Actions tab and set the action to the Clear UAC dialog action from step 6Also set the action to include one of the following:Add Administrator Rights, and .
  12. To the right of Applications, select Application action and then click the Select link.
  13. In the Select Items dialog box, select the following:
  14. The Environment Variable Action you created previously.
    1. Add Administrator Rights.
    2. Justify Application Elevation Dialog (this will behave like [READY] Selflike Self-Elevation).
    3. Add Administrator Rights, and Justify Application Elevation (kill process) Dialog (will behave like [READY] Selflike Self-Elevation Without Adding Administrator Rights).Add Administrator
    4. Rights, and Approval Request Form Action (will behave like [READY] Request like Request Elevation).
    Image Removed
    1. Image Added
  15. Click Save

Anchor
Test
Test
Test the New Policy

To test the

...

new policy, do the following steps:

  1. Update the policies on an endpoint. 
  2. Test the policy by right-clicking Command Prompt and selecting click Run as administrator.

Image Modified

Instead of seeing UAC, you

...

will see the custom message

...

shown in the following screenshot.

Image Added

The recorded response will then be sent to the Arellia Management Server where it can be reviewed by the help desk team.