Automatic shutdown fails if user is not connected?

Posted: 10-23-2003, 08:55 AM
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.
Reply With Quote

Responses to "Automatic shutdown fails if user is not connected?"

Matt Coy
Guest
Posts: n/a
 
Re: Automatic shutdown fails if user is not connected?
Posted: 10-23-2003, 06:58 PM
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, MCSE

"Doug" <dougwzz99@yahoo.co.uk> wrote in message
news:dd38e04.0310230055.642b8eea@posting.google.co m...
> 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.

Reply With Quote
Hausi Tellenbach
Guest
Posts: n/a
 
Re: Automatic shutdown fails if user is not connected?
Posted: 10-24-2003, 07:01 AM
"Matt Coy" <mattcoy@mvps.org> wrote
> 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/default...NoWebContent=1
I've found many places for download on google (but be shure, you download
the Y2K-updated winat.exe)

Cheers,
Hausi


Reply With Quote
Frank
Guest
Posts: n/a
 
Re: Automatic shutdown fails if user is not connected?
Posted: 10-24-2003, 11:05 AM
I had to upgrade the BIOS


"Hausi Tellenbach" <abuse@127.0.0.1> wrote in message
news:eHx3ryfmDHA.1084@tk2msftngp13.phx.gbl...
> "Matt Coy" <mattcoy@mvps.org> wrote
> > 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/default...NoWebContent=1
> I've found many places for download on google (but be shure, you download
> the Y2K-updated winat.exe)
>
> Cheers,
> Hausi
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map Network drive fails user & password Garron Windows Vista Administration 19 08-08-2007 08:35 PM
How can I programmtically reconnect an user mailbox to an AD user in exchange 2000 katie zhang Windows XP WMI 0 04-18-2005 08:25 PM
crx140external USB connected CD-RW George Windows XP Device Drivers 0 10-20-2003 01:55 PM
Setting Up a Wirelessly Connected Laptop to Print to a USB-Connected PC Debbie Rollins Windows XP Printers / Scanners / Fax 2 09-21-2003 05:03 PM
Printing while connected to VPN ron Windows XP Printers / Scanners / Fax 3 09-09-2003 06:02 AM