Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Shutdown 2

Status
Not open for further replies.

Pccoordinator

IS-IT--Management
Joined
Feb 22, 2000
Messages
101
Location
US
I had someone ask me a question I'd never heard before. A user want to know if a button can be placed on the desktop to shut down windows with just a click (Instead of going to the start menu, choosing shutdown, then checking &quot;shut down the computer&quot; <br>
It sounds like this should be possible??
 
Create shortcuts on the desktops pointing to &quot;c:\windows\rundll.exe user.exe,exitwindows&quot;. (Without the quotes. Everything else must be exact.)<br>
It's quicker and better.<br>
<p> <br><a href=mailto: > </a><br><a href= Vorpalcom home page</a><br>Send me suggestions or comments on my current software project.
 
Thank You Alt255 it worked seamlessly
 
How about if you want to restart? Will the dialog box still come out?
 
Here's the list of options:

RUNDLL.EXE - SHUTDOWN, LOGOFF, RESTART, OR REBOOT

c:\windows\rundll.exe user.exe,ExitWindows ;Shut down, or
c:\windows\rundll.exe shell32.dll,SHExitWindowsEx 5 ;Shut down
c:\windows\rundll.exe shell32.dll,SHExitWindowsEx ;Log-off user
c:\windows\rundll.exe user.exe,ExitWindowsExec ;Restart
c:\windows\rundll.exe shell32.dll,SHExitWindowsEx 2 ;Reboot

reghakr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top