Shutting down automatically

  • Thread starter Thread starter Marco Roberto
  • Start date Start date
M

Marco Roberto

Hi,

is there anyway to automatically shut down the window in a schedulled time?
Maybe a script or something else.

Tks,

Marco
 
Marco said:
is there anyway to automatically shut down the window in a schedulled time?
Maybe a script or something else.

Hi

You could put %windir%\system32\shutdown.exe in a scheduled task,
and add the following parameters:

-s -t 0


Note that shutdown.exe often has a bad habit of ending up in "It is now safe
to turn of your computer" message when you do a shutdown.

Some other solutions (free) that does not have this problem:

A)
You can use a vbscript to do a shutdown:
http://groups.google.com/[email protected]

B)
PsShutdown.exe in the free PsTools suite
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

C)
Wizmo.exe
http://grc.com/wizmo/wizmo.htm

D)
Budja
http://www.budja.com/shutdown/


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 
Create a new shortcut and point it here:
%windir%\System32\SHUTDOWN.exe -r -t 05

Then schedule a task to run the shortcut at your desired time. The shortcut
will shutdown windows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top