RSS

远程开启windows 远程连接

09 Feb

Wmic /node:"[full machine name]" /USER:"[domain]\[username]" PATH win32_terminalservicesetting WHERE (__Class!="") CALL SetAllowTSConnections 1

正确执行应该出现如上显示。

需要将防火墙关闭,否者出现rpc错误。

需要管理员使用非空密码,否则

该命令最适合windows2003,默认管理员非空密码,防火墙关闭。

windows 6不适合该命令。

Advertisements
 
Leave a comment

Posted by on February 9, 2009 in Windows Server

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: