Auto shut down

  • Thread starter Thread starter Mark Lewis
  • Start date Start date
M

Mark Lewis

I have a problem with one of the users that he forgets to switch off his
workstation each night. I'm worried about power cuts, apart from switching
it off myself can I schedule a task to shut down the PC ?

Windows 2000

Thanks

Mark
 
I imagine you could shedule a task on the server to issue a remote shutdown
to his PC. However, a remote shutdown might do just as much damage as a
power cut (i.e. data loss if you force applications closed). If you don;t
force the applications to close, then the shutdown may not complete.

The command you need would be along the lines of:-

shutdown -s -m \\computername

just put it in a batch (.bat) file and then schedule the batch file using
'Scheduled Tasks' control panel. Ensure the job runs as a user with
sufficient permissions to do the remote shutdown.

A better solution might be to set his power management options so the
machine hibernates after a given time period. You might even be able to do
this using group policy (but I haven;t checked, so I may be wrong on that).

--Tim
 
Can't you just enable hibernate after x hours? Open files are safely written
to the HD and system is shut down.

Dirk-Thomas
 
In microsoft.public.win2000.setup Mark Lewis said:
I have a problem with one of the users that he forgets to switch off his
workstation each night. I'm worried about power cuts, apart from switching
it off myself can I schedule a task to shut down the PC ?

I think you may be worried unnecessarily. I never shut down my home
machine unless I need to do some hardware maintenance or I'm going to be
away for several days. At work, powering down our machines is not
allowed. Backups and software maintenance are run during the night, and
the surest way to tick off the IT people is to turn off your machine the
night they've scheduled a major update.
 
I second Gary's comments. My home and business workstations stsay on 24x7.
More than powering them off, though, you want to make sure that they are not
left logged on or at least password protected via screen savber, which you
can easily set via group policy.

-kw
 
There is a .exe on the Windows 2000 Resource Kit
called "Shutdown.exe". You can copy this exe on the local
computer and make a schedule task with. i think the switch
are /l (local computer) /r (reboot after shutdown) / y (to
answer yes to all questions).

Charles
 
Back
Top