Tech Off Post

Single Post Permalink

View Thread: shutdown.exe - Foiled by a screensaver?
  • User profile image

    W3bbo wrote:
    When I attempt to shut down idle computers on my home's LAN I often find the command doesn't work, invariably because a screensaver was currently executing.

    Take any XP box idling at the logon screen with logon.scr running and execute shutdown -s -t 0 -m \\machineName against it.

    You'll find the machine doesn't do anything until you deactivate the screensaver, only then does it shutdown.

    Is there any way to make the shutdown command ignore the screensaver?

    You could precede the shutdown command with a taskkill.