VBS as LocalSystem in RDP

169 views Asked by At

Using PSEXEC and to run a VBS as LocalSystem account, to let the script run with admin rights. VB script called prompts and GUIs are not visible if a person is connected to the computer via RDP.

You can see the script or GUI as a running process in task manager, but it is not visible.

Windows Security setting preventing this? Limitation of RDP?

1

There are 1 answers

3
user14797724 On

Your script is running in an invisible desktop so you cannot run a denial of service attack on the interactive user of the physical computer.

This is normal.

State what your goal is rather than why your solution to an unknown problem doesn't work.

It doesn't matter your intentions.

This question is better suited to https://serverfault.com as you are trying to administer a network by programming rather than how it's designed to be administered.

Normally one uses logon scripts or group policy to set the RunOnce key.