How to Automate running PowerShell as Admin Inside Remote Desktop Machine

Hello,

  1. I would like to run the PowerShell Scripts as admin inside Remote Desktop machine, please let me know the steps
    Note: I installed RDP run time in Remote Machine and these scripts cannot be run from Local Machine
  2. When I try to work on PowerShell console, it throws needs “elevated privileges” and try launch studio as Admin even though I launched Studio as admin

Please help as My Automation needs to run lot of PowerShell scripts inside RDP

Hi @Phanindra_Talasila

Checkout this link

Regards
Sudharsan

1 Like

Thanks @Sudharsan_Ka

These tutorials works when we want to have Studio and running the Powershell scripts from same machine

But my scenario is, Studio is on one machine from this machine I would like to run PowerShell scripts on Remote Machine…These scripts must run and execute on Remote machine, not from local

@Phanindra_Talasila

have you got any solution i am also in search of same solution , i need to run powershell command (Get-LocalUser) , i have 23.10.3 version

if you have got solution please guide me

thanks in advance

Regards
TIN_RPA

Hi,

following up on this thread if any one has solution to this ?
I need to run powershell script inside an Remote Server (connected via RDP) ?

Thanks
Senthil