Shutdown shortcut for XP

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
 
T

Torgeir Bakken (MVP)

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
 

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

Similar Threads


Top