In this post, we will show you how to shut down Windows 11/10 PC at scheduled time using Command Prompt. You can enter a time of your choice and execute the command using CMD or Command Prompt window.
However, if you have to leave your PC for a long duration ... desktop shortcut without even opening the Command Prompt. You can cancel this sleep shutdown command anytime you want.