Re: Shutdown.exe fails when computer is locked
From: Eric Perlin [MS] (ericperl@microsoft.com)
Date: 02/24/03
- Next message: Garybrown172002@yahoo.com: "password"
- Previous message: Brian Roberts: "Losing MSSQL Registrations"
- In reply to: Rob: "Shutdown.exe fails when computer is locked"
- Next in thread: Rob: "Re: Shutdown.exe fails when computer is locked"
- Reply: Rob: "Re: Shutdown.exe fails when computer is locked"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Eric Perlin [MS]" <ericperl@microsoft.com> Date: Mon, 24 Feb 2003 11:42:51 -0800
C:\>shutdown -r -t 0 -m \\computername
computername: The machine is locked and can not be shut down without the
force option.(1271)
Add -f (i.e. force to your command line)
-- Eric Perlin [MS] This posting is provided "AS IS" with no warranties, and confers no rights. --- "Rob" <everhart@yahoo.com> wrote in message news:01ed01c2dc07$ef8d1e80$8ef82ecf@TK2MSFTNGXA04... > Hi, > I am trying to run "shutdown.exe -s" as a scheduled task > on XP Home. If I turn off the screen saver it works, but > if the PC is locked, it doesn't shutdown, although the log > indicates successful completion. I read that this was a > problem that was resolved w/WIN2K in the "ExitWindowsEx" > function. Does anyone know if there is a resolution for > XP? > Thanks, > -Rob
- Next message: Garybrown172002@yahoo.com: "password"
- Previous message: Brian Roberts: "Losing MSSQL Registrations"
- In reply to: Rob: "Shutdown.exe fails when computer is locked"
- Next in thread: Rob: "Re: Shutdown.exe fails when computer is locked"
- Reply: Rob: "Re: Shutdown.exe fails when computer is locked"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|