Where is Remote Desktop registered in the registry?

Posted on 2007-10-02
Last Modified: 2012-06-27
Does anyone know where Microsoft Remote Desktop 5.2 or 6.0 is registered in the registry for Windows XP?
I want to change the name, location, or both of the mstsc.exe file and update the registry for that change.
I have searched the registry for .rdp, Remote Desktop, and mstsc.exe but have not found anything specific to app name or location.
Question by:romatlo
    LVL 70

    Expert Comment

    LVL 3

    Expert Comment


    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStatiosn\RDP-Tcp

    Or thereabouts :)

    This is where I go when I need to change the port number that RD runs on - hopefully this helps!
    LVL 29

    Expert Comment

    Actually you don't need to do anything in registry, just delete/move mstsc.exe from %windir%\system32\dllcache and then rename %windir%\system32\mstsc.exe or move it where ever you like it will still work.


    Author Comment

    I have a corporate sponsored Remote Connection Client that is a "wrapper" around Microsoft Remote Deskop that has capability to log usage (and other features) to a server.  
    This program depends on the functionality of MSRDP so it must not be disabled.  It checks the MSRDP registry registration for the appropriate file name to run MSRDP.

    I want to some how not allow users to access and run Remote Desktop directly and bypass the corporate remote connection client.
    Some suggestions are remove the deskop/start menu icons, remove Start/Run (so can't type mstsc.exe).  

    I am just wondering if there is a way actually rename the mstsc.exe and change the registry registration to point to the new name, so that the user could not run the mstsc.exe.
    LVL 29

    Accepted Solution

    One thing to note about my post is that you must make these changes quite quickly as Windows File Protection will replace the file.  You could use a batch something like

    DEL %WINDIR%\System32\DllCache\mstsc.exe /Q
    Ren %WINDIR%\System32\mstsc.exe remote.exe


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
    INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now