Skip to content

Instantly share code, notes, and snippets.

@viniciusmelocodes
Last active June 8, 2021 14:14
Show Gist options
  • Save viniciusmelocodes/2494965d8c9456b0d79c1dc34c7e08e8 to your computer and use it in GitHub Desktop.
Save viniciusmelocodes/2494965d8c9456b0d79c1dc34c7e08e8 to your computer and use it in GitHub Desktop.
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 /f /ah %homepath%\documents\default.rdp
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs" /va /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment