新建用户
net user demo 123 /add
net localgroup administrators demo /add
开启远程桌面服务(3389):
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /F
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fDenyTSConnections /t REG_DWORD /d 0
referer:http://apps.hi.baidu.com/share/detail/15523701