我尝试远程关机的电脑在我的实验室用下面的命令:当我单独运行每个命令Windows关闭工作不正常
shutdown /s /m 192.168.1.57
shutdown /s /m 192.168.1.56
关机时正常。但是,当我通过结合他们:
shutdown /s /m 192.168.1.57 & shutdown /s /m 192.168.1.56
只有一台机器关闭,那么Windows提供了一个错误:
The entered computer name is not valid or remote shutdown is not supported on the target computer. Check the name and then try again or contact your system administrator.(53)
任何想法如何解决/解决?
- 当我将这些命令组合到批处理文件中时,会发生同样的问题。
- 系统都运行Win 7,连接到同一个工作组。
- 请记住,我不是IT专业人员。
在此先感谢。
那么你为什么不写一个批处理文件中的命令行?或者在交互模式下使用'shutdown'('/ i')。 – Matten 2014-10-28 07:25:13
>>那你为什么不在批处理文件中为每个命令写一行? 我做了,并且遇到了同样的错误。 >>或在交互模式下使用shutdown(/ i)。 我做了,并遇到一个错误。不记得它是什么,但它或者是我没有适当的权限,或者窗口刚刚关闭而没有发生关闭。 – cag8f 2014-10-28 11:19:56
我删除了参考DOS,因为这显然是有关Windows(Windows中的命令行无关,与“DOS”) – 2014-10-28 11:39:26