引言:Windows服务器通过远程桌面维护完成之后,需要将连接记录清除,否则,服务器端口信息可能外泄,造成安装隐患
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
把以下代码保存为clear.bat文件,双击运行即可清除远程桌面连接记录
@echo off @reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f @del "%USERPROFILE%\My Documents\Default.rdp" /a @exit
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接

» 转载请注明来源:系统运维 » 清除Windows远程桌面连接记录



server2008版本适用吗
08R2测试过
2008应该也一样的