Wednesday, June 12, 2013
0 comments

How to clear remote desktop connections history

9:54 AM

How to delete Remote desktop connection history?
  • Open Registry editor (Execute Regedit from Run window)
  • Navigate to the node HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
  • Now you can see that each computer you have connected to has an entry in this node with the names MRU0MRU1MRU2MRU3….
  • Select all the MRU entries.
  • Right click and select delete from the context menu. This method works for all Windows editions i.e XP, Vista and Windows 7 and also on the server editions Server 2003 and Server 2008.

Delete Remote desktop connection history from command line
Instead of using GUI we can just run a simple command from windows command line and delete remote desktop history.  Command for this is given below
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /f
The above command can be added to a batch file and we can run the batch file whenever we want to delete remote desktop connection history.
Is there any group policy not to save the Server, username and passwords history?
There is a group policy for passwords which prevents passwords from being saved. There is no GP setting to disable user and remote servers history.
Remote desktop suggests user names when I try to connect to a computer which I used previously. How to delete this user name history in the remote desktop connections?
You can delete the user name history by deleting the registry keys under the nodeHKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\UsernameHint
From command line you can run the below command to do the same.
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\UsernameHint" /f
If you have any more questions related to remote desktop, check out Remote desktop and Terminal Services FAQ

0 comments:

 
Toggle Footer