# Automating applications running as administrator

> Fix automation failures that occur when the target application runs as administrator by elevating UiPath Studio and Assistant privileges.

## Description

Automating an application running as administrator fails by default.

## Cause

The application you are trying to run has an Integrity level higher than the UiPath applications.

## Solution

You need to run the UiPath applications (both UiPath Studio and UiPath Assistant) as administrator.

To do so, follow these steps:

1. Navigate to the UiPath Studio and UiPath Assistant executables paths:
   * UiPath Studio: `C:\Program Files\UiPathPlatform\Studio\<version>\UiPath.Studio.exe`
   * UiPath Assistant: `C:\Program Files\UiPathPlatform\Assistant\<version>\UiPath.Assistant.exe`
2. Open the context menu for each executable to open the **Properties** window and go to the **Compatibility** tab.
3. Enable the **Run this program as an administrator** option and select **Apply**.

   ![Solution](https://dev-assets.cms.uipath.com/assets/images/studio/studio-docs-image-311783-268dc031.webp)
4. Restart your machine so that all UiPath processes restart with the new permissions.

### Result

UiPath Studio and UiPath Assistant run as administrator. You can now automate applications that run as administrator.
