命令行强制开启3389服务支持server2008和2003

1.C:\Windows\System32\wbem\wmic /namespace:\\root\cimv2\terminalservices path win32_terminalservicesetting where (__CLASS != "") call setallowtsconnections 1
2.C:\Windows\System32\wbem\wmic  /namespace:\\root\cimv2\terminalservices path win32_tsgeneralsetting where (TerminalName ='RDP-Tcp') call setuserauthenticationrequired 1
3.reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fSingleSessionPerUser /t REG_DWORD /d 0 /f

4.net start TermService

C:\Windows\System32\wbem\wmic


win03 winxp 一条命令即可:


wmic path win32_terminalservicesetting where (__CLASS != "") call setallowtsconnections 1



你可能感兴趣的:(命令行强制开启3389服务支持server2008和2003)