# Automating applications running as administrator

> Automating an application running as administrator fails by default.

## 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\UiPath\Studio\UiPath.Studio.exe`
   * UiPath Assistant: `C:\Program Files\UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe`
2. Right-click on each executable to open the **Properties** window and go to the **Compatibility** tab.
3. Enable the **Run this program as an administrator** option and click **Apply**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/studio-docs-image-311783-268dc031.webp)
4. Restart your machine to make sure all UiPath processes restart correctly.
