Wmic /node:"[full machine name]" /USER:"[domain][username]" PATH win32_terminalservicesetting WHERE (__Class!="") CALL SetAllowTSConnections 1 这里的"full machine name“也可以是IP,"domainusername”也可以是本机的帐号。 成功后图示如下, 转载于:https://blog.51cto.com/michael2017/656334 相关文章: