July 3, 2020

How to Clear the Remote Desktop Protocol Cache

mr rockstar


The RDP client stores the connection details for the machine For every successful connection.

Image of Remote Desktop Client showing connection history

If you want You can clear the RDP Cache history in a couple of ways. I will show you the easy way through regedit.

  1. Open Run Prompt Press  (WIN + R)
  2. Type Cmd & Press ( CTRL + SHIFT + ENTER) To open Cmd With Administrator
  3. Now Enter the Command Line and Press Enter
    • reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f
      reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f
      reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers"
      

Finally, delete the default.rdp file found in your homepath. This is a hidden file and will not show or delete by default.

    • del /ah %homepath%\documents\default.rdp

Image showing correct command line to delete default.rdp from users home directory

Here is Tutorial Video Link Of

How to Clear the Remote Desktop Protocol Cache

Popular Blog Posts