Windows 10: How can I force "shutdown /p" if regular shutdown hangs?

Discus and support How can I force "shutdown /p" if regular shutdown hangs? in Windows 10 Performance & Maintenance to solve the problem; Basically what's on the title, if a regular shutdown leads to the system hanging for a long time during the process, is there any way I can... Discussion in 'Windows 10 Performance & Maintenance' started by jpaquim, May 16, 2019.

  1. jpaquim Win User

    How can I force "shutdown /p" if regular shutdown hangs?


    Basically what's on the title, if a regular shutdown leads to the system hanging for a long time during the process, is there any way I can automatically dispatch a `shutdown /p` command?


    I've tried it using a timer in a Powershell script, set as the shutdown script in gpedit.msc, but unfortunately it seems that Windows actually waits for the script to finish running before shutting down, so it has to wait for the full timeout anyway. Is there any way I can say schedule this task for 1 minute for now, if the system hasn't shut down by then?

    :)
     
    jpaquim, May 16, 2019
    #1

  2. force shutdown

    How can I forcedly shutdown my phone when it is hanged?
     
    vamsiPesala, May 16, 2019
    #2
  3. R-T-B Win User
    PC is Suffering Unexpected Shutdowns

    Most important detail to me would be whether these shutdowns are sudden, in which case it's likely a short or PSU issue (capacitor aging maybe?) or graceful windows style shutdowns, which suggests software interference.

    It could also be overheating components if it's a sudden shutdown. What are your thermals like?
     
    R-T-B, May 16, 2019
    #3
  4. How can I force "shutdown /p" if regular shutdown hangs?

    Win 10 hangs on restart and shutdown

    No, that's rocket science. I'm posting with 10 already, so the problem was solved two days ago...Thank you.

    The Windows 7 shutdown screen simply decided to hang and I finally did a hard shutdown and started it up again, after which it was painless.
     
    required name required as well, May 16, 2019
    #4
Thema:

How can I force "shutdown /p" if regular shutdown hangs?

Loading...
  1. How can I force "shutdown /p" if regular shutdown hangs? - Similar Threads - force shutdown regular

  2. How to force close all apps on restart or shutdown ?

    in Windows 10 Support
    How to force close all apps on restart or shutdown ?: When I restart the end task dialog appear for some open applications and I must press on end task to close all these apps so is there a way to force close all of them without displaying end task dialog ? Thanks 129866
  3. Windows hangs on shutdown/restart

    in Windows 10 Drivers and Hardware
    Windows hangs on shutdown/restart: I just built a new PC. Upgraded my Windows license because my free upgrade to Windows 10 was from a Windows 7 OEM, Installed the mobo drivers (as best I could, see below), installed GPU drivers, etc. Issues: 1) Whenever I try and shut down, the system hangs on the blue...
  4. How can I shutdown the vitural on screen keyboard

    in Windows 10 Customization
    How can I shutdown the vitural on screen keyboard: I keep getting the on screen keyboard. I want to close it! https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/how-can-i-shutdown-the-vitural-on-screen-keyboard/4ed9763b-ec8d-4e74-b706-bcb37f86ac26
  5. Family Safety scheduler circumvented by forced shutdown

    in User Accounts and Family Safety
    Family Safety scheduler circumvented by forced shutdown: My boys are clever. I created Child accounts on their laptops and set up their schedule. My younger son found out (through YouTube) that he could "turn off" the schedule by performing a forced shutdown (hold POWER button down until it turns off). When the laptop is rebooted,...
  6. Computer Hangs at Startup After Shutdown

    in Windows 10 Support
    Computer Hangs at Startup After Shutdown: My system "hangs" after I Shut Down and then start back up. It doesn't occur when I Restart the system. * It "Hangs " when it gets to the black screen with the blue Windows logo in the center. I've waited a half an hour and remained hung. The "round working dots (for lack...
  7. How to force shutdown on laptop lid close ?

    in Windows 10 Support
    How to force shutdown on laptop lid close ?: Hi, I want to force a shutdown when the user close the laptop lid even if MSWord is open and the document was not saved. Any suggestion ? Regards 67302
  8. How do I can superfast shutdown in windows 10?

    in Windows 10 Support
    How do I can superfast shutdown in windows 10?: When I mean superfast shutdown I mean under 7 seconds.*Smile 36899
  9. Forced shutdown safe?

    in Windows 10 Support
    Forced shutdown safe?: Although not Windows 10 fault my machine got hung up accessing a misbehaving NAS network share. Unfortunately it couldn't resolve and I couldn't restarte explorer. I then tried a shutdown via Ctrl Alt delete but it just laboured on 'restarting' but didn't do it. I left it a...
  10. Difference between shutdown /p and shutdown /s ?

    in Windows 10 Support
    Difference between shutdown /p and shutdown /s ?: Hello, I followed Brink's tutorial here: Shut Down Computer in Windows 10 And I saw that there are 2 ways to fully shutdown Windows through cmd: /s and /p. What is the difference between these 2, if both of them are said to perform a full shutdown? Thanks 39792