Wooders wrote:
> 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/groups?selm...60%40hydro.com
B)
PsShutdown.exe in the free PsTools suite
http://www.sysinternals.com/ntw2k/fr.../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/com...r/default.mspx