An attempt to Remote Desktop Protocol (RDP) to a server fails with the following error:
unable to locate mstsc.exe client on $PATH: exec: "mstsc.exe": executable file not found in %PATH%
- Advanced Server Access (ASA)
- Okta Privileged Access (OPA)
The Remote Desktop Client executable file mstsc.exe is missing or not working.
- Open a Command Prompt on the Windows client and verify that the mstsc.exe file exists in one of the %PATH% directories (typically C:\Windows\System32\).
where mstsc echo %PATH% - Try to launch the Remote Desktop client by running
mstscfrom the Command Prompt.mstsc
NOTE: If the executable is missing or not working properly, it can be installed or reinstalled following these steps from Microsoft: Uninstall and reinstall Remote Desktop Connection.
