Shutdown shortcut for XP

  • Thread starter Thread starter Wooders
  • Start date Start date
W

Wooders

Help please! Under 98 I could create a shutdown icon on
the desktop. I have tried the same thing on XP and come up
against a wall.

It was run "rundll.exe user.exe,exitwindows"

Any suggestions please
 
Wooders said:
Help please! Under 98 I could create a shutdown icon on
the desktop. I have tried the same thing on XP and come up
against a wall.

It was run "rundll.exe user.exe,exitwindows"

Hi

Create a shortcut to the file %windir%\system32\shutdown.exe 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
 
Back
Top