First ? I'd have to ask, is, "How are you shutting down your PC?"
Over the years, I've gained a lot of good information from the Internet Forums. It's been ages since I first learned of the "Quick Shutdown" shortcut. The syntax for that shortcut has changed a little bit over the years and OS upgrades, but it still works a treat, to quickly and efficiently shut down your PC. I've never seen it fail!
%windir%System32shutdown.exe /s /t 1
Just copy and paste that text into a desktop shortcut, * and you can pin that shortcut to your Taskbar, for a ONE CLICK SHUTDOWN.
I use that shortcut on every one of my 10 PC's, and the "Five Second Shutdown" is typical.
* Works for both Windows 10, and Windows 11, Home or Pro, Lite or Normal.
For years, as a working PC tech, I've given that shortcut to ALL of my PC customers, and they've all just loved it.
Just a note, I copied the line and opened Notepad, pasted it then chose File, Save as and named it QuickShutdown.bat on the Desktop then double-clicked. It shut down rather quickly. Pressing the power button brought things back up. Works fine in Win11.
I think my instructions said to use that text in a Desktop Shortcut.....NOT a batch file!
The biggest problem with using the Windows Shutdown method, is that it is more complicated and takes longer.
Using the shortcut that I listed, open files are forced to close, thus speeding up the Shutdown process, and assuring that all files are closed before Windows actually shuts down.
That shortcut, in the task bar, has worked 100% for me, and hundreds of my customers, for a long time.