« NetCaptor 7.51 发布 - 一个老牌的多页面WWW浏览器 |
Main
| tsweb msrdp terminal port support patch - 支持端口的补丁 »
May 11, 2004
通过TCP/139网邻(网上邻居)方式远程重起Windows服务器
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/05/11/000345.html
1.通过网邻 shutdown 重起 2.通过网邻 at 重起
-----> 1. shutdown -r -m \\IP D:\>net use \\166.111.XXX.YY\ipc$ password /user:administrator 命令成功完成。
D:\>shutdown (可以从 xp 上拷贝) Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
No args Display this message (same as -?) -i Display GUI interface, must be the first option -l Log off (cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system shutdown -m \\computername Remote computer to shutdown/restart/abort -t xx Set timeout for shutdown to xx seconds -c "comment" Shutdown comment (maximum of 127 characters) -f Forces running applications to close without warning -d [u][p]:xx:yy The reason code for the shutdown u is the user code p is a planned shutdown code xx is the major reason code (positive integer less than 256) yy is the minor reason code (positive integer less than 65536)
D:\>shutdown -r -m \\166.111.XXX.YY
-----> 2. at \\IP D:\>net time \\166.111.XXX.YY \\166.111.XXX.YY 的当前时间是 2004/5/11 上午 06:14
命令成功完成。
D:\>at \\166.111.XXX.YY 清单是空的。
-----> 重起成功 D:\>net time \\166.111.XXX.YY 服务仍未启动。
请键入 NET HELPMSG 2184 以获得更多的帮助。
|
|
Posted by windtear at May 11, 2004 7:19 PM