web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Cloud to run des...
Power Automate
Answered

Using Cloud to run desktop flow

(0) ShareShare
ReportReport
Posted on by 17

Hi

i need assistance with getting automate to start a desktop flow on a virtual machine.

 

can you help with the following:

 

AI14_0-1703289152912.png

 

what is the domain

username is my email right? and password.

 

do i have to use a gateway for this?

 

many thanks

AI14

 

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    User name is your machine name 

    Type who am I in cmd prompt then you will get user name 

    And password is your computer login password which you get while opening your laptop

     

    Hope this helps 

    Usha

     

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Is this a personal machine or an organization computer? If it's a personal machine, @UshaJyothi20 has correctly mentioned that you should open the CMD window and just type in "whoami" and use the result as the domain/username.

     

    You do not need a gateway to do this. Gateways for running desktop flows have been deprecated. They're used for different connectors. But what you do need is to run the Power Automate machine runtime app on your machine, login to it, and register the machine to an environment. When you've done that, you will be able to select the machine from the Machine or Machine Group drop-down menu. See her for a guide: https://learn.microsoft.com/en-us/power-automate/desktop-flows/manage-machines#register-a-new-machine

     

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/manage-machines#register-a-new-machine

  • AI14 Profile Picture
    17 on at

    I need this for a virtual machine

  • AI14 Profile Picture
    17 on at

    Hi,

    it’s for a virtual machine not personal. Would I need the same steps? Also I need it to run unattended. 
    thanks

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You can still use the whoami command to get the user name and domain, if you don't know what to type in there.

    And yes, you would still need to set up the Power Automate machine runtime app and register it.

     

    For unattended runs, you will need to purchase the Power Automate Process license and assign it to the environment.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard