4
1
I have a scheduled task that shuts down a Windows XP computer at 6:00pm every day using the following command:
shutdown.exe /s /t 600 /c "Windows will shutdown in 10 minutes. To cancel shutdown, click Start and type 'shutdown /a'."
The command works as expected except when the user has locked the workstation with Ctrl+Alt+Del.
Is there a way to shutdown a computer even when the user has locked it?
UPDATE: The documentation for the /f
parameter reads:
Force running applications to close without forewarning users. The /f parameter is implied when a value greater than 0 is specified for the /t parameter.
From that, I assume that it is set already.
4Turns out the
/f is implied
is BS. I added that and it works. – matpie – 2011-03-25T23:38:19.187Good discovery. I did not know that. – LawrenceC – 2011-03-25T23:41:44.407