遠端桌面連線機碼

摘要:遠端桌面連線機碼

一般我們是由介面去設定

但有時候我們需要由程式去控制

 

1為Disable

0為Enable

reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0

參數可參照www.petri.co.il/reg_command_in_windows_xp.htm