How to cancel a shutdown in windows 10 and 11

How to

Not shutting down Windows? You can cancel it. Here is how to cancel a shutdown on Windows 10 and 11 operating systems.

We recently described how to schedule a shutdown in Windows using a single command or the Task Scheduler. Once the shutdown timer is set, it will run automatically.

When the system is about to shut down, Windows will display a simple message such as ” You are about to log off “. This message prompts you to save your work before Windows shuts down. However, this message does not provide a way to cancel the shutdown operation.

If you encounter this situation, there is a simple trick to abort shutdown , i.e., cancel shutdown in Windows. Canceling a Windows shutdown is much easier than you think.

Table of Contents:

The following procedure works the same in Windows 10 and 11.

Undo Shutdown command

There is no visible option in Windows, but you can undo the shutdown with a one-line command. Here is how to use it.

  1. Right click on the Start menu.
  2. Select ” Windows Terminal “.
  3. Execute ” shutdown -a ” in the PowerShell tab.
  4. This cancels the scheduled shutdown .

Detailed instructions:

First, find “Windows Terminal” in the Start menu and click to open it. Alternatively, right click on the Start menu and select “Windows Terminal”.

In the Terminal window, make sure the PowerShell tab is open.

Interesting Tip: You can run the above command from the Run dialog box (Win + R).

After executing the command, Windows will display a notification to let you know that the scheduled shutdown has been canceled.

If there is no scheduled shutdown, the command prompt window will notify you with the error message “The shutdown could not be canceled because there is no shutdown”.

Canceling Shutdown with a Shortcut

If you frequently cancel shutdown, you may find it easier to click a shortcut than to type the command manually. Fortunately, it is relatively easy to create a override exclusion with a hotkey. Here is how it is done.

  1. Desktop .
  2. Right click on on the desktop.
  3. Select ” New > Shortcut “.
  4. In the Location field, type ” shutdown.exe -a “.
  5. Press ” Next “.
  6. Type ” Shutdown ” in the Name field.
  7. Press ” Exit “.
  8. This creates a shortcut to cancel the exclusion.
  9. Double click on the shortcut to cancel the shutdown.

Detailed instructions:

First, right-click on the desktop in an empty space and select “New > Shortcut”.

Type shutdown.exe -a in the “Enter a location for the item” field and click “Next” to continue.

Enter a name for the shortcut and click “Finish”. In my case, I chose the name “Abort Shutdown”.

Click Done, and a shortcut with a common icon will be created.

(Optional) Change the shortcut icon Abort Shutdown

If you do not like the common shortcut icon, you can change it to something you prefer.

First, right-click on the shortcut and select Properties.

Click the Change Icon button in the shortcut’s Properties window.

Scroll across the Change Icon window, select the icon of your choice, and click OK. If a warning message appears, click OK to continue with the icon selection.

If you do not like the default system icon, download an icon of your choice from the web, convert it to .ico format, and select it with the Browse button.

Click “Apply” and “OK” buttons to save changes.

The selected icon will be applied immediately.

You can assign a keyboard shortcut to the icon by selecting the “Shortcut Key” field in the Properties window. After assigning a shortcut, pressing it will execute the desktop shortcut.

In summary, executing command shutdown.exe -a at the command prompt or in the Run dialog box will cancel the shutdown. If you use this command a lot, create a custom shortcut.

That’s all. Canceling shutdown in Windows 10 and 11 is that easy.

I hope this simple and easy guide to working with Windows is sufficient.

If you get stuck or need help, send us an email and we will do our best to help.<1

YouTube video: How to cancel a shutdown in Windows 10 and 11


Rate article
We provide high-quality and detailed Windows tutorials