Created
December 18, 2022 05:15
-
-
Save WindyNova/3742a1a0db19bb87c8dc6cd842e04e3e to your computer and use it in GitHub Desktop.
Clear RDP Connection History Batch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @REM https://www.tachytelic.net/2019/01/clear-rdp-cache/ | |
| @echo off | |
| 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" | |
| del /ah %homepath%\documents\default.rdp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment