I am trying to disable remote assistance through batch file. But following code is not working. Is there any problem with this command?
@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
When I toggle the option in System Properties it is editing the key in: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Remote Assistance