Set up Power Automate Desktop

Before you can use your device to create desktop flows, you'll need to ensure it meets the requirements outlined here.

Tip

Before you create a desktop flow, check the list of connectors to see if the application you want to automate already has a connector. If it does, consider creating a cloud flow instead of a desktop flow. You might also build your own connector.

Prerequisites

  • Either a paid or trial license for Power Automate Attended RPA.

  • A work or school account to sign into your Windows device with administrator privileges and Power Automate.

  • System requirements:

    • A device that runs Windows 10 Pro, Windows 10 Enterprise, Windows Server 2016, or Windows Server 2019.

      • Minimum hardware
        • Storage: 1GB
        • RAM: 2GB
      • Recommended hardware
        • Storage: 2GB
        • RAM: 4GB
  • The Microsoft Edge (version 80 or later) or Google Chrome browser.

  • An environment with a Microsoft Dataverse database.

  • A supported keyboard attached.

Important

You must have the latest versions of each component to record, test, or run desktop flows.

Install Power Automate Desktop on your device

The installer contains all the components you need to record, edit, and test your automations.

Follow these steps to install the Power Automate Desktop app:

  1. Download the Power Automate Desktop installer.

  2. Open the Setup.Microsoft.PowerAutomateDesktop.exe file.

    This file is likely in your Downloads folder after you downloaded it in the previous step.

  3. Follow the instructions in the Power Automate Desktop setup installer to complete the installation.

  4. Make your selections for each feature for the installation to complete.

Important

The installer installs the Webdriver component. You need it to run desktop flows created with Selenium IDE. It will also installs the Power Automate Desktop app and third-party components.

Installation options image

Set data collection options

During installation, you can change the default settings if you do not want to send usage data to Microsoft. To do so, uncheck Allow Microsoft to collect usage data to improve Power Automate.

Install the Power Automate browser extension

After the installation completes, you will need to install and enable the extension for Power Automate Desktop. This extension will allow you to record and run web actions in your desktop flows.

Installation success image

Select one of the links displayed in the installer. For example, if you want to record your web automations on Microsoft Edge, select the Microsoft Edge link.

The store for your browser opens directly to the public page for the extension.

Important

If you already install the Power Automate extension in the past, you don't need to reinstall it

Microsoft Edge:

  • Install Edge extension: select Get, and then select Add extension when prompted.
  • If you see the message: This extension has been turned off in Microsoft Edge, at the top of the page, select Turn on extension.

Google Chrome:

  • Install Chrome extension: select Add to Chrome, and then select Enable extension when prompted.
  • If you see the message: This item has been disabled in Chrome on top of the page, select Enable this item.

Mozilla Firefox:

Tip

If you are not able to activate the extension(s) in your browser, you must use Microsoft Edge (version 80 or later) or Google Chrome or Firefox. Other browsers are not suppoted.

Install the on-premises data gateway to run your desktop flows from the cloud

You will need the gateway to trigger your desktop from an event, schedule, or button flow. on a remote device.

Tip

The gateway isn't required if you only want to create, edit, and test your flows on your device.

Install the on-premises data gateway, if you need it.

Important

You must install the on-premises gateway on each device from which you automate desktop flows.

When you install the gateway, it defaults to the region that Power Automate uses.

Setup desktop flows connections and machine credentials

  1. Sign into Power Automate.

  2. Expand Data on the left side of the screen.

  3. Select Connections.

    A screenshot of the connections tab

  4. Select New connection.

    A screenshot of a connection

  5. Search for Desktop flow, and then select Desktop flows.

  6. Provide the gateway information and device credentials:

    • Domain and Username: Provide your device account. You can use a local account by using the name of the user (for example, “MACHINENAME\User” or “local\User”), or an Active Directory account such as “DOMAIN\User”.

    • Password: Your account’s password.

    • Choose a gateway: Select the gateway you want to use.

      A screenshot that shows where to enter the credentials for the connection

  7. Select Create.

Install Power Automate Desktop silently

Follow these steps if you want to silently install Power Automate Desktop.

Note

The same installer is used for manual and silent installation of Power Automate Desktop.

Install Power Automate Desktop using the command line

  1. Download Download Power Automate Desktop.

  2. Open Start.

  3. Search for command prompt, and then run it as the administrator.

    A screenshot that displays the command prompt on the start menu

  4. Change the directory to downloads (or to the directory into which you downloaded Power Automate Desktop):

    For example, enter:

     cd C:\Users\JohnDoe\Downloads\
    
  5. Enter:

    Setup.Microsoft.PowerAutomateDesktop.exe -Silent -Install -ACCEPTEULA
    

    The installer runs and completes the setup of Power Automate Desktop.

    Important

    You must provide the -ACCEPTEULA argument to indicate that you accept the terms and conditions for Power Automate Desktop.

  6. You can now launch Power Automate Desktop from the Start menu.

Command line argument details

You can also retrieve the details of all the command line arguments from the help menu in the command prompt:

Setup.Microsoft.PowerAutomateDesktop.exe -HELP
Command Description
-INSTALLPATH:Value The full path of the installation folder that will be created. The default is %PROGRAMFILES(X86)%\Power Automate Desktop.
-DISABLEPADSHORTCUT By default, a shortcut of Power Automate Desktop app is created on the desktop, use this argument to indicate that you do not want to create it.
- DISABLETURNONRD Use the argument if you do not want the installer to turn on Remote Desktop on the device. You must turn on Remote Desktop if you want support for unattended runs.
-ACCEPTEULA Use this argument to indicate that you accept the terms of use for Power Automate Desktop
-HELP This argument displays all details about the arguments for the installer. prompt

Here's an example of a command line that installs Power Automate Desktop:

Setup.Microsoft.PowerAutomateDesktop.exe -SILENT -Install -ACCEPTEULA -INSTALLPATH: D:\My Programs\foo

Uninstall Power Automate Desktop using the command line

Use the following command to silently uninstall Power Automate Desktop:

Setup.Microsoft.PowerAutomateDesktop.exe -Silent -Uninstall

Update your version of Power Automate Desktop

To update Power Automate Desktop, use the same command line arguments that you use to install it.

Note

All your data and configuration, including telemetry, shortcuts, etc. are retained when you update Power Automate Desktop. If you want to enable parameters previously disabled, you will need to first uninstall Power Automate Desktop, and then reinstall it.

Install the gateway with PowerShell Cmdlets

You will need the on-premises data gateway to trigger your desktop flows from a cloud flow.

You can use PowerShell Cmdlets to install, configure, and manage your gateway.

Important

To use PowerShell cmdlets, you will need to run them from PowerShell 7.0.0 or higher in an elevated session.

Troubleshoot missing gateway

You might not find the gateway in the list while creating the connection for the following reasons:

  • The gateway may be installed in a different region than your Power Automate region. To resolve this issue, uninstall the gateway from the device, and then reinstall it, selecting the correct Power Automate region.
  • The gateway was deleted by its owner.

Install Windows recorder (v1) extension (optional)

The Windows recorder (v1) is another option to record and playback your desktop automations. We recommand you to use Power Automate Desktop since this is the latest RPA solution.

Follow these steps to install Windows recorder (v1) extension:

  1. Install the extension on Microsoft Edge and/or Google Chrome from the store (Firefox is not supported for Windows recorder (v1))

Microsoft Edge:

Google Chrome:

Install Selenium IDE to automate Web applications with desktop flows (optional)

The Selenium IDE is an open source tool that lets you record and playback human interactions on Websites.

With desktop flows, you can run Selenium IDE scripts from Power Automate and keep them stored securely (with appropriate IT governance) in Dataverse.

Follow these steps to install Selenium IDE:

  1. Make sure you already installed and enabled Windows recorder (v1) extension (see previous section)

  2. Download and install the Selenium IDE for Microsoft Edge (version 80 or later) or Google Chrome.

  3. On Microsoft Edge (version 80 or later), select Allow extensions from other stores, and then select Add to Chrome.

Supported keyboard layouts

  • US keyboard – English (United States)
  • US keyboard – English (Australia)
  • US keyboard – English (Canada)
  • Microsoft Pinyin – Chinese (Simplified Han, China)
  • German keyboard – German (Germany)
  • Microsoft IME – Japanese (Japan)
  • United Kingdom keyboard – English (United Kingdom)
  • French keyboard – French (France)
  • Russian keyboard – Russian (Russia)
  • Portuguese (Brazilian ABNT) keyboard – Portuguese (Brazil)
  • Portuguese (Brazilian ABNT2) keyboard – Portuguese (Brazil)
  • Microsoft IME – Korean (South Korea)
  • Spanish keyboard – Spanish (Spain)
  • Italian keyboard – Italian (Italy)
  • Latin American keyboard – Spanish (Mexico)
  • Polish (Programmers) keyboard – Polish (Poland)
  • United States-International keyboard – Dutch (Netherlands)
  • Turkish Q keyboard – Turkish (Turkey)
  • India keyboard – English (India)

Supported languages

Here are the languages that desktop flows supports, in addition to English:

Basque French Latvian Slovak
Bulgarian Galician Lithuanian Slovenian
Catalan German Malay Spanish
Chinese (Simplified) Greek Norwegian Swedish
Chinese (Traditional) Hindi Polish Thai
Croatian Hungarian Portuguese (Brazil) Turkish
Czech Indonesian Portuguese (Portugal) Ukrainian
Danish Italian Romanian Vietnamese
Dutch Japanese Russian
Estonian Kazakh Serbian (Cyrillic, Serbia)
Finnish Korean Serbian (Latin, Serbia)

Note

Power Automate Desktop is available only in English, French, German, Japanese, Spanish, Danish, Dutch, Finnish, Italian, Norwegian, Polish, Portuguese (Brazil), Chinese (Traditional), Chinese (Simplified), Swedish, and Turkish.

Uninstall Power Automate Desktop

  1. Open the start menu > Settings > Apps.
  2. Search for Power Automate Desktop, and then select it.
  3. Select Uninstall.

Limitations

The following are not supported:

  • Windows 10 Home installations are not supported.

  • Windows Recorder v1 desktop flows

    • Multiple monitors.
    • Double click, mouse hover, touch/pen input.
    • Interactions on Windows (File explorer, startup menu, task bar, etc.)
  • Selenium desktop flows

    • Right click.
    • User session information (for example: cookies) will not be reused during playback. You will have to edit the script to embed sign in information when required by websites.

You'll find feature-specific limitations included in the documentation for each feature.

Learn more