如何在Windows 11上禁用远程桌面?
时间:2023-09-19 06:00:46
在Windows 11上,如果您不使用远程桌面,最好禁用该功能,以最大限度地降低恶意个人远程访问您的计算机的风险。远程桌面允许任何拥有正确用户名和密码的人使用远程桌面协议 (RDP) 从另一个位置访问计算机,以访问文件和应用程序或为其他用户提供帮助。尽管该功能相对安全,但如果您的帐户凭据遭到泄露,有人可能会在未经您同意的情况下访问该设备。如果您不使用该功能,我们始终建议您禁用它。
在 Windows 11 上禁用远程桌面
在 Windows 11 上,您可以从“设置”应用、控制面板以及 PowerShell 和命令提示符中的命令禁用远程桌面功能。
从设置
要从“设置”应用禁用 Windows 11 上的远程桌面,请使用以下步骤:
1、打开Windows 11 上的设置
2、单击系统。
3、单击“远程桌面”页面。
4、关闭远程桌面切换开关。
5、单击确认按钮。
从控制面板
要从控制面板禁用远程桌面,请使用以下步骤:
1、打开控制面板。
2、单击系统和安全。
3、在“系统”部分下,单击“允许远程访问”选项。
4、在“远程桌面”部分下,选择“不允许远程连接到这台计算机”选项。
5、单击应用按钮。
6、单击确定 按钮。
从命令提示符
要从命令提示符禁用远程桌面协议,请使用以下步骤:
1、打开开始。
2、搜索Command Prompt,右键单击最上面的结果,然后选择Run as administrator选项。
3、键入以下命令以启用远程桌面协议,然后按Enter 键:
reg 添加 “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 1 /f
4、(可选)键入以下命令以禁用通过 Windows 防火墙的功能,然后按Enter 键:
netsh advfirewall 防火墙设置规则组=“远程桌面”新启用=否
从 PowerShell
要使用 PowerShell 命令禁用远程桌面,请使用以下步骤:
1、打开开始。
2、搜索PowerShell,右键单击最上面的结果,然后选择以管理员身份运行选项。
3、键入以下命令以禁用远程桌面协议,然后按Enter 键:
Set-ItemProperty -Path ‘HKLM:\System\CurrentControlSet\Control\Terminal Server’ -name “fDenyTSConnections” -value 1
4、(可选)键入以下命令以禁用通过 Windows 防火墙的功能,然后按Enter 键:
禁用 NetFirewallRule -DisplayGroup“远程桌面”
完成这些步骤后,远程桌面功能将在 Windows 11 上禁用。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何精简win7系统
![](https://img.aspxhome.com/file/2023/1/a279795_0s.jpg)
Win11任务栏怎么更换颜色 win11任务栏更换颜色教程
![](https://img.aspxhome.com/file/2023/27/a236625_0s.png)
在Word 2019中使用大纲视图
WPS 2013怎么插入加减乘除符号
![](https://img.aspxhome.com/file/2023/0/a163540_0s.png)
Window10睡眠如何用键盘唤醒
![](https://img.aspxhome.com/file/2023/7/53087_0s.png)
wps怎样编辑个性文本框
sketchup怎么渲染出图_草图大师渲染教程
![](https://img.aspxhome.com/file/2023/5/a317296_0s.jpg)
Win7系统提示“无internet访问”怎么办?
![](https://img.aspxhome.com/file/2023/1/a283086_0s.jpg)
Win7鼠标右键失灵怎样修复?Win7鼠标右键失灵的修复方法
![](https://img.aspxhome.com/file/2023/27/a230120_0s.jpg)
PPT怎么制作一个时间进度条效果?
![](https://img.aspxhome.com/file/2023/10/a345655_0s.jpg )
win8系统和win10哪个好用_win8系统和win10哪个好用比较点评
![](https://img.aspxhome.com/file/2023/3/a298756_0s.jpg)
Win7系统电脑插耳机后声音很小的解决办法
![](https://img.aspxhome.com/file/2023/2/a291367_0s.jpg)
Win11触摸键盘主题如何更换?Win11更换触摸键盘主题的方法
![](https://img.aspxhome.com/file/2023/27/a235415_0s.jpg)
Windows11打印机驱动怎么安装?Windows11打印机驱动安装方法分享
![](https://img.aspxhome.com/file/2023/27/a238187_0s.jpg)
M1 iMac 2021的初体验
![](https://img.aspxhome.com/file/2023/7/a206827_0s.jpeg)
Win10系统怎么打开跨设备共享功能?Win10系统打开跨设备共享功能的方法
![](https://img.aspxhome.com/file/2023/1/52771_0s.png)
win8点击右键出现卡顿或未响应现象的解决方法
![](https://img.aspxhome.com/file/2023/4/a308556_0s.jpg)
excel表格怎么解除锁定单元格
微信怎么绑定社保卡 微信电子社保卡设置方法
![](https://img.aspxhome.com/file/2023/2/a290634_0s.jpg)
怎样利用手机输入法输入序号①②③④
![](https://img.aspxhome.com/file/2023/9/a343652_0s.jpg)