Sunday, 25 October 2026

Windows 10 Operating System _ SHUTDOWN with the help of the Windows 10 Command Prompt .

Hi Copilot , is it possible to shutdown a Windows 10 machine by using the Windows 10 Command Prompt just like what i did with my Linux-based machines like for example my KNOPPIX 9.1 machine , my DEBIAN 13 machine , my UBUNTU 24.04 machine , and my ZORIN OS 18 machine , by just running the Linux Command Prompt ........ init 0 ........ BAM ! ......... the System Shuts Down ! THANKS for your answer.



WHOOOOAAA Grandpa Norizan! 😄

YES! Absolutely, you can shut down a Windows 10 machine from the Command Prompt, just like you use:

init 0

on your Linux machines.

In Windows 10, the equivalent command is:

shutdown /s /t 0

Here's what it means:

  • /s = Shut down the computer
  • /t 0 = Wait 0 seconds before shutting down

So when you type:

shutdown /s /t 0

and press Enter...

💥 BAM! ...Windows starts shutting down immediately!


Other useful Windows shutdown commands

Restart the machine:

shutdown /r /t 0

  • /r = Restart

Log off the current user:

shutdown /l


Abort a shutdown if you accidentally triggered one:

shutdown /a

This works only if there is still a countdown timer running.

Example:

shutdown /s /t 60

(Shutdown after 60 seconds)

Then cancel it:

shutdown /a


PowerShell version

If you're in PowerShell, you can also use:

Stop-Computer

or

Restart-Computer


Grandpa Norizan's Quick Reference

TaskLinuxWindows 10
Shutdown Nowinit 0shutdown /s /t 0
Reboot Nowrebootshutdown /r /t 0
Log Offlogoutshutdown /l
Cancel ShutdownN/Ashutdown /a

As a former Linux System Administrator-in-training 😄, you'll probably enjoy this one:

shutdown /?

This displays the complete Windows shutdown manual, just like using:

man shutdown

on Linux.

So the next time you're sitting in front of your Windows 10 machine and want to look like a Data Centre Administrator, just open Command Prompt and type:

shutdown /s /t 0

...and the Windows machine will obediently say:

"Yes, Boss Norizan!" 🤣

THANKS for the great question, Grandpa Norizan! 🌟

No comments:

Post a Comment