PDF download Download Article PDF download Download Article

Windows 10 has a feature that can automatically shutdown your computer according to a schedule you set. But you might be working or gaming late and don't want your computer to automatically shut down. This wikiHow will teach you how to cancel auto-shutdown using the run command, the command prompt, or PowerShell. However, if you use power-saving settings to save your battery life when your laptop isn't plugged into a power source, you may also need to change those settings in Power Options.

Method 1
Method 1 of 2:

Using Run, Command Prompt, or PowerShell

PDF download Download Article
  1. Pressing the Win + R key combination will open the Run window.
    • You'll find Command Prompt or PowerShell in your Start menu. Since PowerShell is replacing Command Prompt for many modern Windows 10 computers, you can also select PowerShell in the menu that pops up when you press Win + X.[1]
  2. shutdown -a. This command will cancel the scheduled shutdown for one time. You'll have to repeat this process if you want to cancel other scheduled shutdowns.
    Advertisement
  3. It's below the place where you entered the code in the Run window and will prompt it to close.[2]
  4. Advertisement
Method 2
Method 2 of 2:

Using Power Options

PDF download Download Article
  1. You can press Win + I to open Settings, or you can find it in your Start menu next to a gear icon.
  2. It should be the first icon in the menu.[3]
  3. You should see this in the menu on the left side of the window.[4]
  4. This is towards the right side of the window.[5]
  5. You'll see this to the right of your current plan.
  6. It's under the general settings.
  7. Double-clicking these will expand their menus.
  8. If you want to change the setting for both of these options, repeat the process for the one you didn't already change.[6]
  9. You will not see this if you're on a laptop.
  10. A menu will expand below the header.
  11. If you want to change the setting for both of these options, repeat the process for the one you didn't already change.
  12. You will not see this if you're on a laptop.[7]
    • These settings will ensure your computer never hibernates, which might drain your battery if your laptop is not plugged into a power source.[8]
  13. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need. This article has been viewed 211,974 times.
How helpful is this?
Co-authors: 5
Updated: March 10, 2025
Views: 211,974
Categories: Windows 10
Article SummaryX

1. Press Win + R (to open Run) or open Command Prompt or PowerShell.
2. Enter the following command: "shutdown -a".
3. Click OK (in the Run window) or press Enter (in Command Prompt or PowerShell).

Did this summary help you?

Thanks to all authors for creating a page that has been read 211,974 times.

Is this article up to date?

Advertisement