I have a question I have this batch code
@echo off
taskkill /F /FI "STATUS eq running" /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "USERNAME ne NT AUTHORITY\LOCAL SERVICE" /FI "USERNAME ne NT AUTHORITY\NETWORK SERVICE"
shutdown /s /f /t 0
[I want the computer to shutdown when it finishes running, but it only closes all current processes, not shutdown]?
Is there any way to finish running the above code and the computer will shut down perfectly? thank you guys !