0

I'm writing a script to perform some actions (e.g: execute scripts, copy/paste/rename etc) on a remote machine. The remote machine only has RDP, VNC and FTP activated. I can perform all the above mentioned actions manually using a RDP/VNC viewer but I want to automate them. Initially I wrote my script in Python but I can change to Powershell if necessary. SSH would solve all the problems but unfortunately its not available on the remote machine.

I tried to connect through psexec but its been disabled.

Is it possible to control the remote machine through Python/Powershell using RDP/VNC?

Farahi
  • 1

1 Answers1

0

Neither RDP or VNC supports this.

The best you can do is to RDP/VNC to the remote machine.
Copy your script over (if file-transer is disabled you can always open Notepad on the remote and copy/paste the script content from your local PC to Notepad on the remote and save it there).
Then run your script remotely.

Tonny
  • 33,276