On my workstation at a client's office, I have some custom scripts that allow me to RDP-connect to various server machines without having to manually open Remote Desktop connection, enter server name and credentials etc.
This worked great until the client migrated my machine to Windows 8.1. Now, I can still use Remote Desktop manually (i.e. by starting it with the mouse), but when I use a script that invokes mstsc.exe
, I get the error message
This program is blocked by group policy
I understand that administrators can block usage of this program. What I don't get is why the program can be used manually, but not via a script.
Any ideas?
Note that when used via a script, Remote Desktop would still display warnings like "This connection might be unsafe" etc. So, I don't think it can be used by malicious scripts, since the user has to confirm the connection manually.