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