1Jan

A System Shutdown Is In Progress Windows 10

Learning has never been so easy!

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.

First, some background: you can remotely reboot a machine with the following command:

shutdown /r /m computername

I have recently bought lenovo ideapad with windows 10 pre installed. I have been using it for programming in vs2015. Suddenly one day it didn't shutdown. I tried to shut it down via cmd using the shutdown command: shutdown /s /t 0. A system shutdown is in progress.(1115) I left the laptop in my desk and it took more than 6 hours to shut down.

Of course, you need to be running as a user with admin rights on the remote machine. Typically, I would follow this with a ping -i computername to confirm the remote machine has rebooted.

Normally, after a minute or two, you’ll see the machine stop responding to ping, and then eventually come back online. Occasionally, though, if the remote machine is having issues, the reboot can get hung up. If you try the command again, you will get the error: A system shutdown is in progress.(1115).

What now? Well, you can try cancelling the reboot with shutdown /a /m computername and initiate it again. 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. But what if that doesn’t work either?

PSKill to the rescue:

http://technet.microsoft.com/en-us/sysinternals/bb896683

This tool is part of the excellent PSTools suite. Just unzip them to a folder in your path (like C:Windows). 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. One of these processes is winlogon.exe. Just issue this command:

pskill computername winlogon

Dvt jb licsrv.darwin.amd64 license server for mac 2017. Edit pages, scripts, layouts, CSS and also Javascripts.

Note that this is nearly the equivalent of pulling the plug on the machine. I wouldn’t recommend using it unless a regular reboot has failed. And of course if the machine isn’t responding to RPC, then nothing is going to work and you’ll just have to walk over there and mash that power button.

Published: Feb 08, 2011 · Last Updated: Jan 17, 2018
Error code:1115

References

  • Originally published on my blog
  • PSKill

10 Comments

  • Datil
    Gearhead89 Feb 9, 2011 at 12:15pm

    Will def. try on the next machine I have hangup. Thanks for the how-to!

    I would use shutdown -i so you can be specific with reasons why you shut it down without having to type in all of those extra commands.

  • Cayenne
    MattSMI Feb 10, 2011 at 04:04pm

    I'll spice that! Never thought to take out winlogon to force a reboot.

  • Serrano
    LAS Feb 11, 2011 at 11:19am

    Windows has a buildin PSKILL equivalent that works nicely with the buildin TASKLIST and it is called TASKKILL:

    TASKKILL /S system /U username /P password /F /IM LSASS.EXE /T
    TASKKILL /S system /U username /P password /PID 1230 /T
    TASKKILL /S system /U username /P password /PID 1230 /PID 1241 /T

    Use /? to see switches on both.

  • Jalapeno
    MightyTweek Feb 16, 2011 at 12:10pm

    Thanks LAS, good point! TASKKILL won't let you kill the Winlogon process (it gives you an error saying winlogon.exe is a critical system process and can't end it) but killing the LSASS process may have the same result.

  • Thai Pepper
    Ryan Goode Mar 24, 2011 at 12:05pm

    Thanks! This could have saved me some trouble two weeks ago.

    Added to the arsenal.

    Ryan

  • Habanero
    John6020 May 10, 2011 at 09:58am

    Thank you - another one for the book!

  • Serrano
    JRBlood Oct 7, 2014 at 02:02am

    CLI for the win! Thanks. Worked like a champ and saved me from a 1 hour drive.

  • Serrano
    CorneliousJD Aug 22, 2016 at 01:51am

    Saved me from getting up really early and making an hour plus commute to an office and back just to reboot a hung server, thank you!

  • Pimiento
    Zephroth Jan 6, 2017 at 04:18am

    Using LAS' commands added the force command to the other two and added winlogon to one of the probable hung things. This helped to restart a fully hung server remotely. Saved me a drive in to work. Will be saving this for the future. Thumbs up for this whole thread and group.

    TASKKILL /S serverIP /U userid /P password /F /IM LSASS.EXE /T
    TASKKILL /S serverIP /U userid /P password /F /IM WINLOGON.exe /T
    TASKKILL /S serverIP /U userid /P password /F /PID 1230 /T
    TASKKILL /S serverIP /U userid /P password /F /PID 1230 /PID 1241 /T

  • Jalapeno
    SilverbackNet Apr 11, 2018 at 06:01am

    When trying this against a 2012 R2 server, I got this:

    Could not start PsKill service on fileserv:
    A system shutdown is in progress.

    The Taskkill variant gets me a 'unknown username or bad password,' most likely since netlogon is already shut down. Oh well. I should have ensured iLO was set up first, I'll have to get someone local to pull the plug first thing in the morning.

How to Perform a Full Shutdown in Windows 10If you don't plan to use your PC for a while, then you could by pressing the Win+X keys, press U, and press U again. A shutdown will close all apps, sign out all users, and completely turn off the PC. Users in Windows 10 are able to perform a hybrid shutdown (fast startup), hibernate, or a full shutdown on the PC. is a setting that helps your PC start up faster after shutdown.

Vice city properties map

Even faster than hibernate. is a power-saving state designed primarily for laptops or tablets.