Version: 2008
  • On The Insider: Britney's Bikini-Clad Top 10
Advanced Search
advertisement
advertisement
Click Here

Forum display:

PC utilities: shortcut for shut down

by alderessy - 7/17/05 9:37 AM
advertisement
Post 16 of 23

GOODNIGHT.exe

by smfriedland - 7/22/05 5:31 PM In reply to: GOODNITE.EXE by happybottom

There is an equivilent for goodnight.exe, its called shutdown.exe and using it with the parameters -s and -t 5 will do the exact equivilent to goodnight.exe. To issue a forced shutdown use the -f parameter, which will force closed all the open programs (and may result in lost data) and shut the computer down.

Post 17 of 23

I put the goodnite.exe file on my site

by TONI H - 7/23/05 3:43 AM In reply to: There is another instant shutdown by TONI H

http://www.pcwarfare.com/neatstuff.toc.htm

If it works with XP for those of you willing to try it, let me know so I can correct the wording I have there. Thanks.

TONI

Post 18 of 23

Thank you again

by alderessy - 7/20/05 7:20 AM In reply to: shortcut for shut down by alderessy

I just want to thank people here for their replies.

Post 19 of 23

Something easier. . .

by Coryphaeus - 7/20/05 5:28 PM In reply to: shortcut for shut down by alderessy

Press the Hybernate button on the keyboard. Most new keyboards have them, even the cheapy $9.00 MicroInnovations like mine. One button, one press. And there is a Power button too.

Post 20 of 23

Shortcut to Shutdown computer.

by smfriedland - 7/22/05 5:28 PM In reply to: shortcut for shut down by alderessy

Create a shortcut with this as the command:

SHUTDOWN -s -t 5

Which will execute the shutdown command. The "-t 5" gives you a five second shutdown wait period, to abort the command, if desired.

The shortcut command to abort the shutdown is:

SHUTDOWN -a

Both shortcuts should be created with a miminized window to reduce system overhead on command execution.

Post 21 of 23

Desktop Shortcut For Shutdown

by Rbobhorton - 7/23/05 2:27 PM In reply to: shortcut for shut down by alderessy

It's possible to shut down Windows by simply double-clicking an icon on your Desktop. Granted, you won't see any options to restart your computer or advance into a power down mode. This method immediately closes Windows, no questions ask.
Just create a shortcut icon on your Desktop that runs a command line telling Windows to shut down the computer. First, right click an empty portion of the Desktop, select New, and click Shortcut. In the Command Line field, type
c:\windows\rundll.exe user.exe,exitwindows (and be sure to include a space between rundll.exe and user.exe) Click Next, type a name for the shortcut
(such as: Shutdown), and click Finish. The new icon should now appear on your Desktop, ready for you to double-click it the next time your computing session is over.

Post 22 of 23

Quick XP Shutdown

by trschoenborn - 7/23/05 6:13 PM In reply to: Desktop Shortcut For Shutdown by Rbobhorton

When your curser is on the desktop,
press and hold "Alt" key and press "F4" Key.
The shut down dialogue comes up with three choices:
Two are. "U" = shut down or "R" restart.
Already in place in Windows XP.

Post 23 of 23

Do this.

by Mendieta - 7/24/05 2:48 AM In reply to: shortcut for shut down by alderessy

C:\WINDOWS\RUNDLL32.EXE user.exe,exitwindows
C:\WINDOWS\SYSTEM32\RUNDLL32.EXE user.exe,exitwindows

It depends of what Windows version your computer has installed.

The tip in question, from the July 1998 Windows Tips, illustrated how a command line for exiting and restarting Windows eliminates those bothersome confirmation prompts. It also allows automation via the Task Scheduler and makes it possible to create keyboard shortcuts for these common operations. With Windows 98, you can take this shortcut further by using various commands to exit or restart Windows without rebooting, or to reboot the system. This procedure won't work in Windows NT or 2000.

To create a shortcut for exiting Windows 9x, navigate to the folder the shortcut will be stored in. If you would like the commands to be available on the Start menu, right-click the Start button and choose Open. Then right-click the desired folder window and choose New, Shortcut. In the command-line box, type rundll.exe user.exe,exitwindows to create a shortcut that exits Windows (Windows 9x and Windows Me) or rundll.exe user.exe,exitwindowsexec to create a shortcut that restarts Windows without rebooting (Windows 9x only). Click Next, type a name for your icon, and click Finish. You can customize this feature even further by Alt-double-clicking the icon to display its Properties. Then click the Shortcut tab (if needed), and use the Shortcut key box to type a keyboard shortcut; or you can click the Change Icon button to select a new appearance for the shortcut icon. Click OK as many times as necessary to close all the open dialog boxes. If you have any difficulty getting the restart command to function, open the shortcut's Properties box and type a space followed by a 0 or a 1 at the end of the Target line.

In Windows 98 or Windows Me, you can create an icon that reboots the system (as opposed to merely restarting Windows) or that logs off the current account. Follow the same steps as above, but type this command line: rundll32.exe shell32.dll, SHExitWindowsEx 2 (it's case-sensitive, so watch capitalization following the comma). The ''2'' parameter causes a reboot. If you change it to 0, you will log off and on with a different account, and if you change it to 1, you'll get the ''exit Windows'' command explained above.

More Discussions

Forum legend:
Locked Locked thread
Moderator Moderator
CNET staff CNET staff
Samsung staff Samsung staff
Norton Authorized Support team Norton Authorized Support team
AVG staff AVG staff
Windows Outreach team Windows Outreach team
Dell staff Dell staff
Intel staff Intel staff
Powered by Jive Software