How to Clear RDP Connections History in Windows?

Published November 24, 2021

Remote Desktop Protocol is a proprietary protocol developed by Microsoft which provides a user with a graphical interface to connect to another computer over a network connection. The user employs RDP client software for this purpose, while the other computer must run RDP server software.

How to Clear RDP Connections History in Windows?

Windows Remote Desktop Connection saves each username, password, and IP address that is used for a successful remote desktop Server. RDP has some functions like the “Remember me” Checkbox to remember the username, password, and domain or IP address.  On the next start, the RDP offers to choose a previous successful connection to connect the server without prompting any Credentials. if you have multiple expired servers that you don’t use anymore, let’s clear the expired RDP connections History.

 

  • Run the Registry Editor (regedit.exe) and browse to the registry key
  • HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client
  • You need two registry keys in this section:
    • Default (stores the history of the last 10 RDP connections)
    • Clear RDP Connections
    • Servers (contains the list of all RDP servers and usernames used previously to login)
    • Clear RDP Connections
  • Expand the Default Key which will contain the most recently used connections. You can delete every entry or select which ones you want to remove
  • Select the entries that you want to remove, right-click and click delete.
  • Now expand the Servers key, this contains the details of all the RDP connections that have ever been made from this machine, including the username used to connect
  • There may be many entries, it is easier to delete the entire server’s key, than recreate it.
  • finally, delete the “default.rdp” file found in your homepath. This is a hidden file and will not show or delete by default. You have to supply an extra switch to the delete command
  • Use command: del /ah %homepath%\documents\default.rdp
  • Thats it, It will clear your RDP connection History.

Plan #1

$79.99

Per Month


    Dual Xeon® E5-2670


    8 Core @2.60Ghz       Speed


    32 GB (DDR4) RAM


    1 TB HDD Storage


    15 TB Bandwidth

Plan #2

$129.99

Per Month


    Xeon® E5-2630L v3


    16C/32T @2.40Ghz CPU Speed


    64 GB (DDR4) RAM


    1.6 TB SSD Storage


    10 TB Bandwidth

Plan #3

$149.99

Per Month


    Xeon® E5-2670


    16C/32T @3.60Ghz CPU Speed


    96 GB (DDR4) RAM


    480GB SSD, 2 TB HDD Storage


    15 TB Bandwidth

Plan #4

$219.99

Per Month


    Xeon® E5-2630L v3


    16C/32T @2.60Ghz CPU Speed


    256 GB (DDR4) RAM


    4x 960GB SSD Storage


    20 TB Bandwidth

Plan #5

$499.99

Per Month


     Xeon® E5-2683 v4


    32C/64T @2.10Ghz       Speed


    512 GB (DDR4) RAM


    4x 1.92TB  SDD Storage


    25 TB Bandwidth