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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Building a flow that s...
Power Automate
Unanswered

Building a flow that starts by opening a Command Prompt

(0) ShareShare
ReportReport
Posted on by

I'm one of the many who encounter the problem where my taskbar stops auto-hiding. The only way to restore it to normal function is to go into Task Manager (or open a DOS command screen), kill explorer.exe, and then run explorer.exe. It comes back like normal and stays like that until ... the next time it feels like not auto-hiding. 😐

 

I'm trying to use Power Automate for a solution to expedite the fix: create a flow consisting of initiating Command Prompt, entering the kill explorer.exe text line, entering explorer.exe, and exiting. Being able to run this flow would be a god-send.

 

Trouble is: I can't make it work. I can't get it to start by initiating the Command Prompt, which means the flow fails right at the beginning because it doesn't have a place to enter the text lines in the subsequent steps of the flow. Can someone out there offer a little guidance on how to set up a Power Automate flow that starts by opening the Command prompt (so that the subsequent text entry commands go into the Command prompt window? Thanks much!

Categories:
I have the same question (0)
  • srApps Profile Picture
    306 on at

    Are you choosing PA Desktop to do this as a learning experience? I can't help with that as I've not used it, but I'm all for learning. A batch file is quick and easy too though and may be the right/easier tool to do the job. Open Notepad and type in:

    taskkill /f /im explorer.exe
    start explorer.exe

    Save as restart-explorer.bat to your desktop. Double click and it does the trick.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard