Since leaving the Remote Desktop Protocol (RDP) port 3389 open is
not recommended, I had tried to move one of the teams working on a couple of remote Windows servers on Azure B-series VMs to use ssh tunnels instead of directly RDP into the server. They could not get the tunnels to work with the reg file I sent them - probably because the paths were different. A workaround would be to just stop the remote desktop service when not in use, and start the service only when they need to use it. So, created a
stoprdp.bat file, containing
net stop UmRdpService
net stop termservice
A similar restartrdp.bat file has
net stop UmRdpService
net stop termservice
net start termservice
net start UmRdpService
No comments:
Post a Comment