cancel
Showing results for 
Search instead for 
Did you mean: 

Starting Process and Spy elements for UAC and Avecto defendpoint window

Anonymous
Not applicable
Hi, Case 1: I am trying to automate PowerShell script which runs in a elevated mode. But I am not able to capture the User Access Control window in which we need to click "Yes" command. Please help me out how can I do this? Case 2: While running PowerShell script in a elevated mode, it ask for permission from the user to execute (same as above scenario) But, we have Avecto Defendpoint software instead of normal UAC control. I am not able to attach the Avecto process and the spy the elements. Please help me on this. Regards Aravind
1 REPLY 1

Denis__Dennehy
Level 15
I don't think you should be trying to circumvent security features on your desktop, you should be working with your IT and security teams to get permission to do whatever you need to do (ensure you are keeping to the Security policy that should be put in place as part of your Robitic Operating Model). If you are doing nothing wrong and are adhering to security polcies then you should be able to arrange for your script to run with heightened privilidges or to be passed by whatever security software is installed on your PC (such as Avecto).