This tutorial will show you how to remove entries from the Computer box in the Remote Desktop Connection client tool for your account in Windows 10 and Windows 11.
You can use Remote Desktop to connect to and control your PC from a remote device by using a Microsoft Remote Desktop client (available for Windows, iOS, macOS and Android). When you allow remote connections to your PC, you can use another device to connect to your PC and have access to all of your apps, files, and network resources as if you were sitting at your desk.
After you use the Remote Desktop Connection tool to connect to another computer, the name of the computer is added to the Remote Desktop Connection Computer box. It's easy for you to quickly select the same computer at a later time. However, the tool doesn't provide a way to clear the list of computers or remove one or more entries from the Computer box.
Reference:
Remove entries from Remote Desktop Connection Computer - Windows Server
Introduces how to remove entries from the Remote Desktop Connection Computer box.
docs.microsoft.com
Contents
- Option One: Remove All Computer Entries from Remote Desktop Connection client
- Option Two: Remove Specific Computer Entries from Remote Desktop Connection client
EXAMPLE: Computer entries in Remote Desktop Connection client
1 Click/tap on the Download button below to download the file below.
Clear_all-computer_entries_in_Remote_Desktop_Connection_cliet_for_current_user.zip
Download
(Content of BAT file for reference)
Code:
:: Clear entries from RDC Cumputer box
REG DELETE "HKCU\Software\Microsoft\Terminal Server Client" /F
:: Delete last connection history to not show in RDC Computer box
DEL /F /S /Q /A "%UserProfile%\Documents\Default.rdp"
:: Clear RDC jump list
DEL /F /S /Q /A "%AppData%\Microsoft\Windows\Recent\AutomaticDestinations\1bc392b8e104a00e.automaticDestinations-ms"
2 SSave the ZIP file to your desktop.
3 Unblock the ZIP file.
4 Extract the BAT file from the ZIP file.
5 Run the BAT file.
6 You will now notice a command prompt quickly open and close running the commands in the BAT file to apply.
7 You can now delete the downloaded .bat file if you like.
8 The BAT file does not delete any saved credentials of remote computers. You will need to manually delete any saved credentials you want for remote desktop connections.
Delete Saved Credentials of Remote Desktop Connection in Windows
How to Delete Saved Credentials of a Remote Desktop Connection in Windows
www.tenforums.com
1 Open Remote Desktop Connection (mstsc.exe).
2 Select the remote computer connection (ex: "Brink-Spectre") you want to remove in the Computer drop menu, and click/tap on the delete link (if available) to delete its saved credentials. (see screenshot below)
3 Click/tap on Yes to confirm deleting the saved credentials of the selected computer (ex: "Brink-Spectre"). (see screenshot below)
4 Right click or press and hold on the Remote Desktop Connection icon on the taskbar, and unpin (if pinned) the computer (ex: "Brink-Spectre") you want to remove from the jump list. (see screenshot below)
5 Right click or press and hold on the Remote Desktop Connection icon on the taskbar, right click or press and hold on the computer (ex: "Brink-Spectre") you want to remove from the jump list, and click/tap on Remove from this list. (see screenshot below)
6 Close the Remote Desktop Connection client.
7 Open Registry Editor (regedit.exe).
8 Navigate to the key below in the left pane of Registry Editor. (see screenshot below step 9)
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
9 In the right pane of the Default key, right click on the MRU# string value (REG_SZ) for the computer (ex: "Brink-Spectre") you want to remove from RDC, and click/tap on Delete. (see screenshot below)
10 Click/tap on Yes to confirm deleting the string value (REG_SZ). (see screenshot below)
11 Navigate to the key below in the left pane of Registry Editor. (see screenshot below step 9)
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers
12 In the left pane under the Servers key, right click on the subkey with the same name as the computer (ex: "Brink-Spectre") you want to remove from RDC, and click/tap on Delete. (see screenshot below)
13 Click/tap on Yes to confirm deleting the key. (see screenshot below)
14 You can now close Registry Editor.
15 Open a command prompt.
16 Copy and paste the command below into the command prompt, and press Enter. (see screenshot below)
This command will delete the last connection history so it will not continue to show in the RDC Computer box.
DEL /F /S /Q /A "%UserProfile%\Documents\Default.rdp"
17 You can now close the command prompt.
That's it,
Shawn Brink
Attachments
Last edited: