web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - Power Automate Desktop
Answered

How to restore all of the desktop flows in PAD? Please help

Like (4) ShareShare
ReportReport
Posted on 25 Aug 2023 13:20:21 by 92

    Hello everyone! So, I was reinstalling Windows 11 a few days ago and foolishly messed up with the OneDrive folder and lost all my flows in PAD. Previously that folder was on my D drive and the data needed for the Power Automate Desktop were there. After a fresh install of OneDrive, it placed its folder on the C drive (C:\Users\MyName\OneDrive), so I moved it to my D drive not knowing how to do it properly (I should have done it by selecting "Unlink this PC" and then move the folder). Then the OneDrive app said something about two copies of the same file. I copied the contents of the OneDrive folder (which is on the D drive) to another place (just to save it), precisely the \Apps\Power Automate Desktop For Windows folder, which is about 74 MB.

    While I was reinstalling all the other apps I went to onedrive.live.com and saw all the junk files (as I thought) in the Recycle Bin and deleted them. At that moment I didn't know that was a big mistake. I thought I'd place a copy of an Apps folder (previously copied) back to the OneDrive folder on my D drive and it will sync again. Sometime later I reinstalled Power Automate Desktop and realized that all of my flows were gone (there were 5 flows).

    I decided to reinstall OneDrive and PAD apps; I tried deleting the Power Automate Desktop For Windows folder and placing the copy back. No results. Therefore, I went to this forum and stumbled upon this thread https://powerusers.microsoft.com/t5/Power-Automate-Desktop/PAD-Flow-Disappeared/m-p/1687349 with the solution to a problem similar to mine. But the link there is unavailable for me. It is said something about "Access token is empty".

    I've installed the Wireshark Portable version for this purpose, but don't know where to look for the cTag and name values. So all I did was open my PAD console -> press Refresh in My flows tab -> capture the packets in the Wireshark. I see the packets and all that info for each packet, but, as I said, don't know where to find those values. I would really appreciate all your help. Thank you in advance.

    PS: Power Automate Desktop For Windows folder in OneDrive consists of 10 files (2 for each of my flows as I can understand, one with no extension and one with .meta) and .cnt file.

  • Verified answer
    TheAnker Profile Picture
    92 on 26 Aug 2023 at 16:46:03
    Re: How to restore all of the desktop flows in PAD? Please help

        I'd like to report that I've managed to regain access/restore all of my flows (dozens of hours of work). This solution helped in my case. Big thank you to @kostasc . I was trying to find those cTag and name values and couldn't get the place I should be searching for them; I was using Wireshark (never used it before). But in that solution author used another network tracing tool called Fiddler (it is not free as I can understand, but you get a free trial for 10 days and you need to create an account after the installation; maybe there is a free version, idk).

        And luckily after installing it, I immediately found the cTag and name values. Don't forget to open your Power Automate Desktop console, then navigate to My flows and click refresh, so the Fiddler can capture the packets. I should mention I was recommended by the Fiddler to check "Capture HTTPS traffic" (you'll see it in the settings). This link I was talking about previously (https://graph.microsoft.com//v1.0/me/drive/special/approot/children) is actually a URL you should be looking at in the URL column in Fiddler (left window). After clicking it you will see the Request and Response windows to the right. Go to the Body tab in the Response window at the bottom and there will be all your cTags and flow names. Other steps you can find in that post I linked here.

        Hope that these details will help someone else who finds themselves alone with this problem. Good luck.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete