/

How to Remove Remote Desktop Connection History in Windows

by Miguelito Balba, IT Editorial Expert
How to Remove Remote Desktop Connection History in Windows blog banner image
How to Remove Remote Desktop Connection History in Windows blog banner image

Try our #1 rated endpoint management platform on G2

NinjaOne dashboard screenshot

Automate the Hardest Parts of IT

Key Points

  • IT administrators can completely remove Remote Desktop Connection (RDC) history from Windows for privacy, security, and troubleshooting.
  • Delete stored RDC entries by removing specific registry keys under HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default and Servers.
  • Clear jump list history by deleting the file 1bc392b8e104a00e.automaticDestinations-ms from %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations.
  • Remove saved RDC credentials via Control Panel > Credential Manager under TERMSRV/<remote-computer-name>.
  • Prevent credential reuse and password saving by enabling Deny delegating saved credentials in Group Policy or setting DisablePasswordSaving to 1 in the Registry under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services.

Remote Desktop Connection (RDC) lets Windows users connect to other computers remotely, and Windows saves a history of those connections. Remote Desktop Connection (RDC) is a Microsoft Windows feature that allows users to connect to other computers remotely. It is used for remote work, technical support, server management, and Virtual Desktop Infrastructure (VDI). Each time RDC is used, Windows saves the connection history for faster future access.

IT administrators can delete saved connections for specific reasons. These include protecting privacy, preventing others from viewing accessed computers, deterring unauthorized access to saved remote systems, and resolving issues caused by corrupted or outdated entries. This article explains the methods for removing Remote Desktop Connection history in Windows.

For a visual guide, watch our video on how to remove remote desktop connection history in Windows.

Knowing how to log on securely is just as important as managing RDC history.

Here’s a quick guide to streamline and secure your Remote Desktop login process in Windows.

Where Remote Desktop Connection History is Stored

As mentioned, Windows saves the connections you made using Remote Desktop Connection. These saved connections are stored in locations such as registry entries, jump lists, cached credentials, and a default connection file. Here’s a deep dive into the specific locations:

1. Registry entries

The Windows Registry is the primary location where RDC stores connection history. Two specific registry keys contain this information:

  • HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default which stores a list of recently accessed remote computers
  • HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers which stores subkeys for each remote computer accessed

2. Jump lists

Jump lists or taskbar history provide quick access to recently used items within applications, including RDC. When RDC is pinned to the taskbar, previously connected computers may appear in its jump list. These entries are stored in the following location:

  • %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations
  • %APPDATA%\Microsoft\Windows\Recent\CustomDestinations

3. Cached credentials

Cached credentials or Windows Credential Manager store login credentials if the Remember me option is selected during an RDC session. To access saved RDC credentials:

  1. Open Control Panel > Credential Manager
  2. Select Windows Credentials
  3. Look for saved entries under TERMSRV/<remote-computer-name>

4. Default connection file

Windows also saves the settings from your most recent RDC session to a file called Default.rdp, stored in your Documents folder (%UserProfile%\Documents\Default.rdp). This file is separate from the registry-based history and jump lists, and it gets recreated automatically the next time you use Remote Desktop Connection.

A Step-by-Step Guide and Methods to Remove RDC History

A. Using Windows Registry

1. Open Registry Editor

    • Press Win + R, type regedit, and press Enter.

2. Navigate to Connection History

    • Go to: HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
    • In the right pane, right-click each MRU# entry and select Delete.

3. Remove saved servers:

    • Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers
    • Right-click on the computer name you want to delete and select Delete.

4. Close Registry Editor

    • Restart the Remote Desktop Connection tool to verify the entries are gone.

B. Clearing RDC History via Command Prompt

1. Open Command Prompt as Administrator:

    • Press Win + R, type cmd, and press Ctrl + Shift + Enter.

2. Delete stored RDC entries

    • Run the following command:
      • reg delete “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default” /f
    • Then delete the saved servers:
      • reg delete “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers” /f

3. Close Command Prompt

C. Adjusting Group Policy for Privacy (Optional)

While Windows doesn’t include a Group Policy that fully prevents Remote Desktop Connection (RDC) history from being saved, administrators can still configure related settings to improve privacy and reduce credential exposure.

1. Open Group Policy Editor

  • Press Win + R, type msc, and press Enter to open the Local Registry Policy Editor.

2. Hide the last logged-in username:

  • Navigate to:

Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options

  • Locate the policy: “Interactive logon: Do not display last signed-in” (or on older systems “Interactive logon: Do not display last user name”).
  • Double-click it, select Enabled, and click OK.
  • This prevents Windows from showing the last signed-in user on the logon screen.

3. Prevent credential reuse:

  • Navigate to: Computer Configuration > Administrative Templates > System > Credentials Delegation
  • Locate and enable Deny delegating saved credentials to stop Windows from automatically using stored credentials for RDP or other authentication processes.

D. Deleting RDC Jump List Entries (File Explorer Method)

1. Open File Explorer

    • Press Win + E.

2. Navigate to Jump List folder

    • Go to: %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations

3. Locate the Jump List file

    • Look for a file named 1bc392b8e104a00e.automaticDestinations-ms.

4. Delete the file

    • Right-click and select Delete.

5. Restart File Explorer

    • Press Ctrl + Shift + Esc, right-click Windows Explorer, and select Restart.

E. Removing the Default Connection File

1. Open File Explorer

  • Press Win + E.

2. Navigate to the Documents folder

  • Go to your Documents folder.

3. Locate the Default Connection file

  • Look for a file named Default.rdp.

4. Delete the file

  • Right-click and select Delete. Windows recreates this file automatically the next time you use Remote Desktop Connection.

F. Using Third-Party Tools

1. Download a trusted cleaning tool

    • Examples: CCleaner, BleachBit.

2. Run the tool and select RDC history:

    • Open the tool and look for options related to Windows history or MRU lists.

3. Clear the history:

    • Follow the on-screen instructions to remove RDC traces.

4. Close the tool and restart RDC.

At a glance: RDC history removal methods

MethodWhereBest for
Windows RegistryTerminal Server Client\Default and \Servers keysPrecise, one-off cleanup
Command Promptreg delete commandsScripting or remote execution
Group PolicyLocal Security Policy / Credentials DelegationOrg-wide credential hygiene
File Explorer (jump list)AutomaticDestinations jump list fileClearing taskbar history
Default connection fileDefault.rdp in DocumentsClearing the most recent single connection
Third-party toolsCCleaner, BleachBitBroader system cleanup beyond RDC

What to watch for

Editing the registry incorrectly can affect system stability, so back up the relevant keys before deleting them (Windows Registry method, Section A). Confirm the computer name before deleting a Servers subkey, since removing the wrong one can cut off access to a machine you still need.

Preventing remote desktop from storing history

Windows doesn’t include a built-in setting to completely stop RDC history from being stored. However, you can enhance privacy and reduce credential retention:

A. Disable password saving:

  • In the Registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services (create the “Terminal Services” key under “Windows NT” if it doesn’t already exist).
  • Create a D

B. Use Group Policy to limit credential reuse

  • Open Group Policy Editor and go to: Computer Configuration → Administrative Templates → System → Credentials Delegation.
  • Enable the policy Deny delegating saved credentials to block the reuse of stored credentials.

C. Use a portable RDC client:

  • Portable versions of Remote Desktop don’t store MRU history or cached credentials.

How this applies to the Windows app

If you connect to Azure Virtual Desktop, Windows 365, or Microsoft Dev Box, note that Microsoft retired the separate “Remote Desktop” app from the Microsoft Store in 2025 and moved that functionality into the Windows App. The Remote Desktop Connection tool (mstsc.exe) covered in this guide is unaffected and remains part of Windows. If you use the Windows App to reach cloud resources, clear its connection history from within the app itself (its data is stored separately from the steps above and isn’t touched by them).

Enabling secure remote access requires full visibility and control over all endpoints. 

Try NinjaOne Endpoint Management to centrally manage, monitor, and secure your devices across all locations.

Use cases for clearing RDC history

Removing Remote Desktop Connection History serves many purposes. Here are the most common use cases for clearing RDC history.

1. Protecting sensitive information

Removing RDC history is an efficient security measure to protect sensitive information, especially when using shared or public computers. This action deters unauthorized users from seeing or even configuring previously accessed systems. Leaving RDC history uncleared may expose critical information such as internal server names and network details. That’s why it’s just reasonable for some to clear RDC history to reduce security risks.

2. Troubleshooting connection issues

Clearing the RDC history forces the system to fetch fresh connection details. If an IP address changes, DNS records update, or credentials become outdated. Stored RDC entries that are outdated or corrupted may cause connection issues, authentication failures, or persistent problems when connecting to remote systems. That’s why IT administrators remove these RDC entries to help resolve errors and ensure smooth remote access.

3. Enhancing privacy in corporate environments

In corporate settings, leaving RDC history on a shared or company-issued device can be a catalyst for unauthorized access or credential-based attacks. Exposure of internal infrastructure details like server names and workstation addresses may lead to potential security breaches or compliance violations. Regularly clearing RDC history prevents unintended disclosure of remote connection details, strengthening the overall IT security posture.

Keeping your remote connections secure

Remote Desktop Connection History is a handy tool by Windows if you need to reference previous remote connections for specific purposes.

However, since these RDC entries may contain sensitive information, it’s only ideal to clear them regularly to avoid unauthorized access, protect sensitive data, and maintain a secure remote access environment.

This article outlines the methods of RDC history removal to help you execute an important security measure to keep your remote connections secure.

FAQs

No, removing RDC history only clears the list of previously accessed computers from the Remote Desktop Connection interface. Removing saved credentials can only be done manually from the Windows Credential Manager.

No, once RDC history is deleted, it cannot be recovered unless you have a backup of the Windows registry from before the deletion. Keeping a manual record of essential remote machines before clearing the history is a good practice if you frequently need to reference past connections.

RDC history isn’t resource-heavy. System performance may improve after clearing RDC history, but not significantly since they don’t consume noticeable system resources. However, clearing outdated or incorrect entries can help avoid connection issues, especially if old records contain obsolete IP addresses or incorrect credentials.

Windows doesn’t provide a direct setting to completely disable RDC history logging. You can, however, reduce credential storage by editing the system Registry or using Group Policy.

In the Registry, go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation, create a DWORD value named DisablePasswordSaving, and set it to 1. In the Group Policy Editor, navigate to Computer Configuration > Administrative Templates > System > Credentials Delegation and enable the policy called Deny delegating saved credentials. For added privacy, you can also automate history cleanup with PowerShell scripts or trusted third-party tools.

In most cases, no. Registry entries under HKEY_CURRENT_USER only affect the signed-in user’s profile, so a standard account can usually delete them. Administrator rights are only needed to change machine-wide settings, such as Group Policy or the DisablePasswordSaving value under HKEY_LOCAL_MACHINE.

No, once RDC history is deleted, it cannot be recovered unless you have a backup of the Windows registry from before the deletion. Keeping a manual record of essential remote machines before clearing the history is a good practice if you frequently need to reference past connections.

RDC history isn’t resource-heavy. System performance may improve after clearing RDC history, but not significantly, since they don’t consume noticeable system resources. However, clearing outdated or incorrect entries can help avoid connection issues, especially if old records contain obsolete IP addresses or incorrect credentials.

No. Remote Desktop Connection (mstsc.exe) and the Windows App store their connection history separately, so clearing one has no effect on the other. If you use both to reach different systems, clear each one on its own.

You might also like

Ready to simplify the hardest parts of IT?