How to clear remote desktop connections history

remove remote desktop connections history

Are you use Remote Desktop Connections feature extensively and want to remove it? If your answer is yes then this article will help you to remove remote history listed under Most used section of Start Menu.

You can easily hide or delete remote connections history from Jump List in Windows 10. You can achieve this task by turning off Jump List feature in Windows 10. To turn off Jump List features simply apply the given workaround:

Open Settings app -> Personalization > Start. At the right pane of this window, turn Off the option Show recently opened items in Jump Lists on Start or the taskbar option.2q

Is Your PC Running Slow & Needs Optimization?
Don't Miss The BEST TOOL To FIX PC Errors & Issues

By doing this you can solve your problem, but it will also disable Jump Lists for other apps as well. So, if you want to disable Jump List for Remote Desktop Connections only then you have to apply below-given registry manipulation.


Steps to Remove Remote Desktop Connection History in Windows 10

Step 1: Press Window key+ R together to open run dialog box , type regedit in it and hit enter key to open Registry Editor.3q

Step 2: At the left pane of Registry Editor, navigate to the below given registry key:

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default


Step 3: After navigating to this location, look for the registry string that is present in the right pane. Name of the registry string may be MRUnumber where the number may be 012…. Simply right-click over this string and choose Delete. After it close, the Registry Editor and restarts the system. Now you will see that RemoteDesktop Connections history is no longer visible under Start Menu.

Sometime when a user tries to connect Remote Desktop then it suggests username which was used previously. This is the very wired situation, to delete username history from the remote desktop connections apply the below-given solution.

To delete username history you have to delete the registry keys present under the node HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\UsernameHint

You can also do this via command line, run the below given command.

reg delete “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\UsernameHint” /f

How to Clear the RDP Connection History via Script

After deleting the RDP connections cache using the registry, you can also go with script method to clear remote desktop history. In this method, you have to run a small script or batch file that will automatically delete the RDP history.

If you want to remove the RDP history after every boot then you have to put the below-given script in the startup.

@echo offreg delete “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default” /va /freg delete “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers” /freg add “HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers”cd %userprofile%\documents\attrib Default.rdp -s -hdel Default.rdp

Open the text file and copy-paste the above-given script, then save it with the extension .bat

A batch file will be created, now, if you want to clean the RDP history after each boot then place this file inside the startup folder.

Or if you want to clear the RDP history then instantly then right click on the batch file that you have created and select “Run as Administrator”.

Once you run this script then it will:

  • It will prevent the information output of the console
  • Delete the complete values in the registry key HKCU\Software\Microsoft\Terminal Server Client\Default
  • It erases the complete contents from HKCU\Software\Microsoft\Terminal Server Client\Servers
  • Again creates the earlier deleted registry key
  • It opens the folder with Default.rdp file and then change the rdp file attributes, which are by default Hidden and System
  • Erases the rdp file


You may also Like: Windows 10 Fix: “Your Computer is Offline Please Sign In With The Last Password”


In order to clear the history of RDP connections, you can also go with the following PowerShell script:

Get-ChildItem “HKCU:\Software\Microsoft\Terminal Server Client” -Recurse | Remove-ItemProperty -Name UsernameHint -Ea 0
Remove-Item -Path ‘HKCU:\Software\Microsoft\Terminal Server Client\servers’ -Recurse  2>&1 | Out-Null
Remove-ItemProperty -Path ‘HKCU:\Software\Microsoft\Terminal Server Client\Default’ ‘MR*’  2>&1 | Out-Null
$docs = [environment]::getfolderpath(“mydocuments”) + ‘\Default.rdp’
remove-item  $docs  -Force  2>&1 | Out-Null


Removing Cached RDP Credentials

Deletion of cached RDP credential becomes important to avoid any kind of security issue.

When you establish new remote RDP connections and type the password then an option Remember Me will appear when you click on it then the username and password will be stored in the system Credential Manager. So, you don’t need to type username and password any time you connect to the same computer.

But, if you want to remove these insights then you can go with the below-given steps:

Open the client’s mstsc.exe window > Select the same connection from the available list of connections > then click on the Delete button.

At last, confirm the saved credentials for deletion


Go to the Windows Credential Manager (Control Panel\User Accounts\Credential Manager section)

Select Manage Windows Credentials from the list of saved passwords

Find the computer name (present in the following format TERMSRV/ 

Click on the found item to expand it and then click the Remove button

If you want to disable saving passwords for RDP connections then utilizing special policy Network access: Do not allow storage of passwords and credentials for network authentication.



So, all the above-given steps are very effective and helpful to clear remote desktop history. After removing them, it is also recommended to scan your computer with a professional PC Error Repair tool.

This is the tool that will help your system to get rid of all hidden errors and unwanted registry keys.

Download and scan your PC via this tool to make it fast and error free.

How to Clear Remote Desktop Connections History?
Article Name
How to Clear Remote Desktop Connections History?
Want to clear the Remote Desktop Connections History then follow the given solutions carefully and get rid of Remote Desktop Connections History with ease.
Publisher Name
Fix PC Error
Publisher Logo
  • 3
  • 1
, , ,