<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
ASA/OPA RDP Fails with Error "Unable to locate mstsc.exe client on $PATH"
Advanced Server Access
Overview

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%


RDP URL error

Applies To
  • Advanced Server Access (ASA)
  • Okta Privileged Access (OPA)
Cause

The Remote Desktop Client executable file mstsc.exe is missing or not working.

Solution
  1. 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%
  2. Try to launch the Remote Desktop client by running mstsc from 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.

Loading
ASA/OPA RDP Fails with Error "Unable to locate mstsc.exe client on $PATH"