之前在网上查到并使用成功了,记录一下。
情况是远程桌面服务停止,又需要重启服务器,可以在cmd命令行下输入:
shutdown -r -m \\$IP -t 0 -f 香港vps //-f表示强制重启 net use \\$IP\ipc$ “password” /user:”username”//使用有效的用户名和密码 49024122
之前在网上查到并使用成功了,记录一下。
情况是远程桌面服务停止,又需要重启服务器,可以在cmd命令行下输入:
shutdown -r -m \\$IP -t 0 -f 香港vps //-f表示强制重启 net use \\$IP\ipc$ “password” /user:”username”//使用有效的用户名和密码 49024122