If prompted to install updates before shutting down, select the option to do so. If you are not able to shut down your computer with this method, try pressing Alt+F4 and then selecting Shut Down.

If prompted to install updates before shutting down, select the option to do so.

If you don’t see this option, click the small sideways triangle at the bottom-right corner to expand additional options.

If the menu says that Windows needs to install updates, it is recommended to do the installation. If you don’t want to install updates, click Click here to turn off without installing updates instead.

If you’re using Windows 10 or 8, you can do this by typing cmd into the Windows search bar and clicking Command Prompt when it appears. If you’re using Windows 7, Vista, or XP, click the Start menu, navigate to the All Programs, Accessories, and then click Command Prompt.

Only use this method if you were unable to shut down your PC using the method for its operating system.

If the PC is frozen and no shutdown message appears, you can force the machine to power off by holding down the power button until the screen goes dark. This should be an ultimate last resort as it could cause data corruption.