A system shutdown is in progress2/3/2023 Note that this is nearly the equivalent of pulling the plug on the machine. We’re going to take advantage of a useful property of the Windows kernel: it depends on certain processes to be running at all times, and if one of these processes is terminated, the system will immediately reboot. Just unzip them to a folder in your path (like C:\Windows). This tool is part of the excellent PSTools suite. You might try adding the /f switch to the shutdown /r command, which forces all running applications to exit rather than allowing them to save their data. What now? Well, you can try cancelling the reboot with shutdown /a /m \\computername and initiate it again. If you try the command again, you will get the error: A system shutdown is in progress.(1115). Occasionally, though, if the remote machine is having issues, the reboot can get hung up. Normally, after a minute or two, you’ll see the machine stop responding to ping, and then eventually come back online. Typically, I would follow this with a ping -i computername to confirm the remote machine has rebooted. Of course, you need to be running as a user with admin rights on the remote machine. Here’s a useful tip if you’ve ever tried performing a remote reboot of a server or workstation running Windows and had the reboot get hung up.įirst, some background: you can remotely reboot a machine with the following command:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |