mstsc is not a recognized as a cmdlet when trying to connect to virtual machine

Mr Kola M 1 Reputation point
2022-10-27T13:07:25.82+00:00

PS /home/malebo> mstsc /v:myVMWeb
mstsc: The term 'mstsc' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 96,281 Reputation points MVP
    2022-10-27T17:35:33.427+00:00

    Hi @Anonymous ,

    by default the mstsc.exe should be in the C:\Windows\System32\ folder.

    Are you able to start mstsc.exe at all on the computer?
    If the mstsc.exe is missing on the computer you could try to copy the file from a working computer.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments