
Announcements
I need help with Power Automate Desktop (PAD) and here it is:
1. I open CMD prompt on Administrator mode
2. UAC requires Yes or No response. Yes is selected.
3. Execute RSop.msc
4. I have to approximately wait for 45 seconds, depending on the speed of the computer, for a new dialog message box, "Resultant Set of Policy", to pop-up.
I need to use PAD to monitor and catch this pop-up dialog message box and then right click on "User Configuration" to further evaluate the data for a match or etc.
Can someone shed some light on how I can go about doing this? Thank you in advance.
I have found a work around for the problem, to keep automated:
I found something important, you probably know it already.
The issue I was facing was to execute "GPRESULT /Z" via the
PAD. Windows UAC required me to physically respond the YES
query button for the Administrator level/rights. Which was basically
defeating my purpose of automation (fire and forget). So, I
decided to look at Powershell script, invoked from PAD. In
Powershell. I executed the following
"Start-Process PowerShell -Verb RunAs -Yes"
and it dumped the data in the associated/designated area.
The "- Yes" on the command line will automatically respond
with YES to Windows UAC requirement for the Administrator
rights (YES/NO). And I did not have to do anything else,
after starting the execution of the PAD/test from
"Power Automate > My flows." The call to "Run PowerShell script"
from the PAD with the command of
"Start-Process PowerShell -Verb RunAs -Yes", and one more
"Run PowerShell script" with the command of "GPRESULT /Z",
gave me every thing that I needed from RSoP's "Resultant Set
of Policy". After this the "Terminate process" for "Powershell" was
executed to free the PAD.
Please feel free to share this with any user of PAD.
Best Regards,
Wamiq Sattar