0
我试图通过批处理文件禁用远程协助。但是下面的代码不起作用。这个命令有什么问题吗?如何使用批处理文件禁用远程协助
@echo off
@echo Disable remote assistance
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v "fAllowToGetHelp" /t REG_DWORD /d "0" /f
pause
当我切换它正在编辑的关键系统属性中的选项: 'HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Remote Assistance' – Squashman
这是应该通过[组策略](https://technet.microsoft.com/en-us/library/bb456993.aspx)完成的事情比黑客入侵未记录的注册表项。 –
谢谢HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Remote Assistance工程 – Matt