How to shutdown a windows pc

Shut Down a Windows PC Without Installing Updates

One of the most frustrating things that can happen to you when you are using your Laptop and you are in a haste to go. Then you decide to shut down your laptop, but Windows insists on updating. Twelve minutes later, you’re still waiting for Windows to update and you’re going to be late.
There is a way around this: a way to can shut down immediately even when there are updates waiting to install.

Here’s the simplest method: make sure the desktop has focus by clicking any empty area of the desktop or pressing Windows+D on your keyboard. Then, press Alt+F4 to access the Shut Down Windows dialog box. To shut down without installing updates, select “Shut down” from the drop-down list.

Then, click “OK” to shut down your PC immediately.

You can also shut down your PC immediately from the login screen. Press Windows+L to lock the screen, or log out. Then, in the lower-right corner of the login screen, click the power button and select “Shut down” from the popup menu. The PC will shut down without installing updates.

Lastly, if you need do do this from a script, you run the following shutdown command in a Command Prompt window. Type the following command at the prompt and press Enter. The last character is a zero.
shutdown -s -t 0
Your PC will shut down immediately without installing updates.