Automatic shutdown fails if user is not connected?

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

I have a regularly scheduled automatic system shutdown using the task
scheduler and the shutdown.exe program. This all works fine if the
user is logged on. However for security reasons I have the set the
screen saver to go back to the logon screen if the system has been
idle for more than 30 minutes. If this has occurred then it seems that
either the task scheduler fails to run the shutdown.exe program, or
the shutdown.exe program doesn't work when it is run.

Any ideas on why it doesn't work unless the user actually is logged on
at the screen?

TIA.

--Doug.
 
Hi Doug, unless a user is logged in, the Task Scheduler doesn't run and
therefore any tasks you have setup will not run either, just as MSN
Messenger won't connect when you aren't logged in because it can't be run
yet.
 
Matt Coy said:
Hi Doug, unless a user is logged in, the Task Scheduler doesn't run and
therefore any tasks you have setup will not run either, just as MSN
Messenger won't connect when you aren't logged in because it can't be run
yet.
But with the "AT" command it sould work!

=> Start - cmd - AT /?

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on
the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted,
the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.

There also was a gui called WINAT in the reskit of NT4 ->
http://support.microsoft.com/defaul...port/kb/articles/q158/3/88.asp&NoWebContent=1
I've found many places for download on google (but be shure, you download
the Y2K-updated winat.exe)

Cheers,
Hausi
 
I had to upgrade the BIOS


Hausi Tellenbach said:
Matt Coy said:
Hi Doug, unless a user is logged in, the Task Scheduler doesn't run and
therefore any tasks you have setup will not run either, just as MSN
Messenger won't connect when you aren't logged in because it can't be run
yet.
But with the "AT" command it sould work!

=> Start - cmd - AT /?

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on
the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted,
the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.

There also was a gui called WINAT in the reskit of NT4 ->
http://support.microsoft.com/defaul...port/kb/articles/q158/3/88.asp&NoWebContent=1
I've found many places for download on google (but be shure, you download
the Y2K-updated winat.exe)

Cheers,
Hausi
 
Back
Top