search
HomeCommon ProblemHow to remove an IP address from Remote Desktop connection history
How to remove an IP address from Remote Desktop connection historyApr 13, 2023 pm 04:37 PM
remote Desktop connectionRegistry Editor

Remote Desktop Connection or RDC stores your previous remote desktop connection information. This is a great feature because you don't have to enter the IP address, username repeatedly. However, this can also get you into trouble if you have multiple remote connections connected. You can't even delete these credentials from the RDC panel itself as there isn't any direct option available! In this article, we show you how to remove old IP addresses from RDC.

How to remove an IP address from Remote Desktop connection history

Fix 1 – Use Registry Editor

You can use Registry Editor to find and delete the value associated with an IP address.

1. Press the Windows key once and enter "regedit".

2. Next, just click "Registry Editor" once in the search results.

How to remove an IP address from Remote Desktop connection history

NOTE ——

Registry editing is dangerous to your system and may sometimes lead to fatal errors. You should always create a registry backup before performing registry edits. Just follow these steps -

a. After opening the Registry Editor, click "File" in the menu bar, and then click the "Export..." option.

Bay. Now, just save this backup in a safe location.

How to remove an IP address from Remote Desktop connection history

3. Go like this in the left pane -

HKEY_CURRENT_USER\Software\Microsoft\Terminal Servers Client\Default

4. On the right side you will notice several MRUs Binary value.

5. Simply select all MRU values ​​except "Default" value and press the "Delete" key on your keyboard All values ​​will be deleted.

How to remove an IP address from Remote Desktop connection history

#6. Now, proceed to the next step and you will notice another subkey "Server" in the left pane.

7. Simply right-click on the key and click "Delete" to delete it. This will delete every entry in that subkey.

How to remove an IP address from Remote Desktop connection history

8. The one thing left to do is to recreate the deleted subkey.

9. So just right click on "Terminal Server Client" and click on "New" and "Key>" Create a key.

10. Name it "Server".

How to remove an IP address from Remote Desktop connection history

After completing all these operations, close the Registry Editor page.

11. Now, open File Explorer.

12. Click on the " Documents " folder to access it.

13. Once you are there, just click on the "View" tab and click on "Hidden Items>" and then further click on "Hide s project".

How to remove an IP address from Remote Desktop connection history

14. Once you find it, select the " Default.rdp " file and click the " Delete " icon on the bin icon to remove it from deleted from the system.

How to remove an IP address from Remote Desktop connection history

# After that, close everything and reboot the system. Check if this works for you.

Fix 2 – Create and use a batch file

If you don’t want to go into Registry Editor, you can create and use a batch file to clean up IP addresses.

[NOTE– We have created and uploaded the batch file for you. So if you just want to download and run the file, scroll down to the bottom of the post to find more instructions. ]

1. Use the search box to search for "Notepad".

2. Click "Notepad" that appears in the search results.

How to remove an IP address from Remote Desktop connection history

#3. On the Notepad page, copy and paste these lines.

回声reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /freg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f注册添加“HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers”cd %userprofile%\documents\属性 Default.rdp -s -h删除默认.rdpecho "IP 地址已从远程桌面连接中删除,请按任意键继续"暂停

4. Just click on "File" on the menu bar and then click on the "Save as" option.

How to remove an IP address from Remote Desktop connection history

5. Now, before you make any changes, set "Files of type:" to "All files".

6. Name it "IPremover.bat".

7. Select an appropriate location to store the file (eg - Desktop) and click on "Save" to save the file on your system.

How to remove an IP address from Remote Desktop connection history

保存文件后,只需关闭记事本窗口即可。

8. 只需转到保存批处理文件的位置。

9. 右键单击​​批处理文件并点击“以管理员身份运行”以管理员权限运行批处理文件。

How to remove an IP address from Remote Desktop connection history

这将在您的系统上运行批处理文件。完成后,打开远程桌面连接面板并检查是否成功。

注意——

如果您不想创建批处理文件,请按照以下步骤操作。

1. 在您的系统上下载IPRemover文件。

2. 现在,您可以将 zip 文件解压缩到您想要的任何位置。

How to remove an IP address from Remote Desktop connection history

3.只需右键单击“ IPRemover ”并点击“以管理员身份运行”。

How to remove an IP address from Remote Desktop connection history-1

这样,您可以在系统上执行批处理文件。

修复 3 – 运行 PowerShell 命令

如果前两种方法都失败了,你可以运行这些 powershell 命令来尝试同样的事情。

1. 按 Windows 键并开始输入“ powershell ”。

2、当你看到“ Windows PowerShell ”出现在搜索结果中时,只需右键点击它并单击“以管理员身份运行”即可运行powershell。

How to remove an IP address from Remote Desktop connection history

3. 然后,将这些代码复制粘贴到终端并按Enter

Get-ChildItem "HKCU:\Software\Microsoft\Terminal Server Client" -Recurse | Remove-ItemProperty -Name UsernameHint -Ea 0Remove-Item -Path 'HKCU:\Software\Microsoft\Terminal Server Client\servers' -Recurse 2>&1 | 外空Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Terminal Server Client\Default' 'MR*' 2>&1 | 外空$docs = [环境]::getfolderpath("mydocuments") + '\Default.rdp'删除项目 $docs -Force 2>&1 | 外空

How to remove an IP address from Remote Desktop connection history

运行此代码后,关闭 PowerShell 屏幕。然后,重新启动系统。

修复 4 – 从 Windows 凭据中删除

您还可以使用 Windows 凭据管理器删除旧的 IP 凭据。

1. 只需右键点击任务栏上的 Windows 图标,然后点击“运行”。

2. 然后,粘贴这些术语并按Enter

控制/名称 Microsoft.CredentialManager

How to remove an IP address from Remote Desktop connection history

3. 当凭据管理器页面打开时,单击“ Windows 凭据”进行管理。

4. 在这里,您会发现列出的几个凭据。展开“通用凭证”。

您在此系统上注册的所有远程连接都存储在这里。因此,请一一检查所有凭据并查找您不想要的那些 RDC 凭据。

5. 现在,单击“删除”以删除凭据。

How to remove an IP address from Remote Desktop connection history

这样,重复这些步骤以确保没有遗漏任何不必要的凭据。

完成后,关闭 Credential Manager 页面并打开 RDC 面板。检查您是否仍然看到那些旧 IP 地址。

如何防止 Windows 保存 RDP 连接历史记录?

一旦您清除了所有凭据,它们可能会永远消失。但是当您登录到更多远程计算机时,Windows 也会继续存储这些凭据。您实际上可以阻止 Windows 存储 RDP 连接历史记录。

1. 按Win 键R键。

2. 然后,在窗格中输入“ regedit ”并单击“ OK ”。

How to remove an IP address from Remote Desktop connection history

3.一旦你登陆注册表编辑器页面,直接前往这个地址 -

HKEY_CURRENT_USER\Software\Microsoft\终端服务器客户端\

4. 现在,右键单击“终端服务器客户端”并点击“权限... ”。

How to remove an IP address from Remote Desktop connection history

5. 在权限窗口中,点击“高级”设置进行访问。

How to remove an IP address from Remote Desktop connection history

6. 在屏幕底部,您必须单击“禁用继承”来禁用继承。

How to remove an IP address from Remote Desktop connection history

7. 您将看到一个提示来决定如何处理已经继承的权限。您可以选择“从该对象中删除所有继承的权限”。以避免任何冲突。

或者,您可以使用“将继承的权限转换为此对象的显式权限”来转换权限。“ 选项。

How to remove an IP address from Remote Desktop connection history

8. When finished, first click "Apply" to apply the changes, then click "OK".

How to remove an IP address from Remote Desktop connection history

9. Return to the original permissions page and select the "User" account from the list.

[Also, if you don't want to disturb other users, you can choose your username and continue. ]

10. Just check the "Deny" box in the "Full Control" option.

How to remove an IP address from Remote Desktop connection history

11. Finally, just click "Apply" and "OK" to save all of this.

How to remove an IP address from Remote Desktop connection history

After completing all these operations, close the Registry Editor screen. Then, restart the system. MSTC does not log further RDP connections. This should resolve the issue once and for all.

The above is the detailed content of How to remove an IP address from Remote Desktop connection history. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete
如何在 Windows 11 或 10 中禁用高 DPI 设置的显示缩放如何在 Windows 11 或 10 中禁用高 DPI 设置的显示缩放May 22, 2023 pm 10:11 PM

Windows10或更高版本上的默认显示缩放功能是Windows操作系统的核心组件。但有时,某些特定应用程序的此功能可能会导致兼容性问题、无法阅读的文本、模糊的标志,并最终导致应用程序崩溃。如果您正在处理2160p或更高的分辨率,这会非常令人头疼。有很多方法可以禁用高DPI设置上的默认显示缩放功能。我们选择了最好的,并详细说明了每个过程的分步说明。如何在高DPI设置上禁用显示缩放功能有一种方法,您所要做的就是禁用单个应用程序的高DPI缩放功能,并且有一种方法可以在整个Window

选择在 Windows 11/10 中获取应用程序的位置缺少问题选择在 Windows 11/10 中获取应用程序的位置缺少问题Apr 14, 2023 am 11:22 AM

Windows为用户提供了一个选项,以便他们可以选择将其应用程序从“任何地方”获取到“仅限Microsoft Store”。但是,在某些情况下,Windows 用户报告了一个问题,即他们找不到“设置”页面中缺少的“选择获取应用程序的位置”选项。这对您来说可能是一场噩梦般的情况,就像将其设置为仅限应用商店模式一样,您无法从任何地方旁加载任何应用程序!不用担心。您可以应用注册表修复程序来解决此问题。解决方法 –1. 重新启动系统。如果这是一次性故障,重新启动应该可以修复它。2. 您需要管理员帐户才能

如何解决 Windows 7 远程桌面出现黑屏的问题:11 种方法如何解决 Windows 7 远程桌面出现黑屏的问题:11 种方法Apr 25, 2023 pm 05:46 PM

远程桌面连接(RDC)是专业版和企业版Windows上的一项有用功能,允许用户远程连接到另一台计算机,而无需其他软件。但是Windows11远程桌面上的黑屏可能会毁掉这一切。黑屏问题是用户遇到的最常见问题之一。你想知道为什么屏幕变黑吗?如何解决这个问题?以下是在Windows11中修复远程桌面上黑屏的一些快速方法。为什么我的远程桌面全黑?第一步是找出导致远程桌面上出现黑屏的原因。在下文中,我们将介绍此问题的一些最重要的原因。Windows更新:远程桌面中黑屏问题的最重要原因之一是更新

如何修复注册表编辑器在 Windows 11、10 中无法打开的问题如何修复注册表编辑器在 Windows 11、10 中无法打开的问题May 23, 2023 pm 11:31 PM

注册表编辑器是我们用来修复Windows系统错误的工具。它是注册表项的中心,经过适当调整,可以解决大部分问题。但在极少数情况下,注册表编辑器也可能会挂起。许多用户报告在尝试搜索系统中不存在的密钥时看到了错误。如果您尝试取消搜索,应用程序将挂起,即使您不取消搜索,应用程序也会冻结并显示以下消息。注册表编辑器已停止工作。问题的根本原因是子键的长度。如果子键的长度超过255个字节,则会出现此错误。但是,有时,这也可能是因为病毒或恶意软件。如果您在系统上注意到此问题,请不要惊慌。在本文中,让我们讨论解决

Windows 搜索突出显示选项灰显问题修复Windows 搜索突出显示选项灰显问题修复Apr 27, 2023 pm 11:55 PM

搜索突出显示显示您最近完成的过去搜索。但是,如果您无法在“设置”中启用“搜索突出显示”选项,因为它显示为灰色,该怎么办?如果是这样的话,你就错过了很多方面。搜索突出显示大大增强了您的搜索体验,并让您轻松地非常快速地进行重复查询。此问题有一个非常简单的修复方法,您可以在几分钟内修复搜索突出显示灰显的问题。修复1–更改禁用搜索框建议的值使用注册表编辑器更改DisableSearchBoxSuggetsion的值以解决此问题。步骤1–点击Windows+R键打开一个运行框。然后,在框中键入“注

修复:发生错误,并非所有更新都已成功卸载修复:发生错误,并非所有更新都已成功卸载May 23, 2023 pm 09:07 PM

Windows更新通常使Windows设备更好,对数十亿用户更有用。但有时某些更新可能无法正常工作,因此您可以轻松选择卸载一些最近安装的更新。这个过程非常简单,Windows会回滚当前的更新。卸载更新后,您可能会在屏幕上看到此提示“发生错误,并非所有更新都已成功卸载”。如果你得到这个,卸载过程没有成功完成,所以你必须手动解决问题。修复1–使用CMD卸载更新有一种非常简单的方法可以卸载所需的更新。1.只需单击任务栏中间的Windows图标。2.接下来开始在顶部的搜索框中写“cmd

如何解决 Windows 安全自动样本提交被关闭的问题?如何解决 Windows 安全自动样本提交被关闭的问题?Apr 21, 2023 pm 05:43 PM

自动样本提交是Windows安全中心的一项底层功能,可自动将可疑文件从您的计算机发送到Microsoft以供进一步检查。它通常在后台运行,根本不会打扰您。但是,如果这种自动样本提交一直自动关闭怎么办。有多个用户有相同的问题,他们已将此问题升级到多个论坛。在您的系统上实施这些解决方案,问题将很快消失。修复1–尝试注册表黑客您必须在其中创建一个子键和一些值,以保持自动采样自动关闭。1.您必须打开注册表编辑器。因此,同时按下Win键+S键,然后输入“regedit”。2.看到“注册表编辑器

如何在Windows 10/11的PowerShell中禁用脚本执行?如何在Windows 10/11的PowerShell中禁用脚本执行?Apr 21, 2023 pm 11:55 PM

PowerShell是一个优秀且先进的跨平台任务自动化解决方案。在Windows系统上创建和运行PowerShell脚本通常非常容易。但是,您可能会被“在此系统上禁用运行脚本”所阻碍。”如果您在系统上运行脚本,则会出现错误消息。如果系统管理员设置了阻止任何未经授权的脚本在系统上运行的策略,您将看到指定的错误消息。您必须取消阻止策略或调整注册表,并且您可以运行任何脚本。修复1–调整PowerShell您可以绕过当前执行策略运行代码。因此,您不必篡改它,但您可以运行您的脚本。1、同时按下W

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.