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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shortcut to shutdown 7

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
Awhile back, a thread was posted, and the conclusion was a link to some system file with some parameter. well, I was well accustomed to using this shortcut on my desktop, when I had to reformat my hd. oh well, but I would like to have that shortcut again.

I searched and searched, to no avail.

thanks

theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
That would be:
[tt]
C:\WINDOWS\RUNDLL32.EXE User,ExitWindows
[/tt]

(No spaces before or after the comma and, naturally, substitute your true Windows folder for "C:\WINDOWS".)

Works like a champ. I don't know who dreams this stuff up.

VCA.gif

Alt255@Vorpalcom.Intranets.com
 
thanks! now do you know of any shortcuts for restart, or shutdown to dos, or suspend


theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
This one is for restart:

rundll.exe user.exe,exitwindowsexec

RaTTuS
I cna ytpe 300 wrods pre mniuet.
 
Aside from [tt]ExitWindowsExec[/tt], I couldn't find the shortcuts you required. I'm sure they are out there but it might take a little more digging to find them. My research did uncover some questionably interesting trivia about User.exe.

The shortcut [tt]C:\WINDOWS\RUNDLL32.EXE User,SysErrorBox[/tt] does exactly what it sounds like it should do. It creates a dialog box reporting a fatal system error.

If you want to shut down the system instantaneously you can use [tt]C:\WINDOWS\RUNDLL32.EXE User,DisableOemLayer[/tt]. Probably not a great idea since Windows isn't given an oportunity to do any housekeeping before it shuts down.

Strange crew working at Microsoft now-a-days. Did you know that there is an API function called "BozosLiveHere"? This provides a valid entry point in User.exe but, since this is obviously an obscure, undocumented call, I couldn't find a reference to its required parameters. Without those "vital" parameters, BozosLiveHere simply renders a GPF. How do I know this is a valid call? Try calling User with an "xxxx" parameter (or any other garbage string). [tt]C:\WINDOWS\RUNDLL32.EXE User,xxxx[/tt] will render an error message:[tt]

Error in User
Missing Entry:xxxx
[/tt]
Any valid call will either perform the task for which it is intended or create a GPF (probably by overwriting a critical area of memory when it would normally write to an allocated area specified in a function parameter).

Stupid computer tricks, part 1.

Actually, this is interesting stuff. Interesting like a rattlesnake. LOL Use these shortcuts at your own risk.
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
Hello,
What are the steps in creating the shut down shortcut? I have it on my desktop and I can't recall how I created it. I'd like to put that short cut on my notebook also.
Thanks
 
Copy the command to the clipboard by highlighting it with your mouse and pressing Ctrl+C. Then right-click on the desktop, select "new", select "shortcut", paste the clipboard in to the "command line" box, click "Next", type a description of the shortcut (such as "Shut down Windows" and click the "Finish" button.
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
Alternate method. Start , Program, explorer, create shortcut to rundll32 and drag it to the desktop.
Highlight it, rename it, highlight it, change path to add the user call

Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
alt255 -

BozosLiveHere huh?

Makes you wonder what microsoft is really up to?

hmm.

theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
True, theEclipse! Microsoft is very tight-lipped about the BozosLiveHere API (you won't find a mention at microsoft.com but a thorough search of the Internet will reveal a few scattered references) It appears to be an embarrassing "left over" from Microsoft's transition to Win 95. BozosLiveHere is the 32-bit version of Hmemcpy, which could be used to make a copy of the data in a text box. I wonder why the MS programmers couldn't come up with a better name... like "CreateCopyOfTextBox".

BozosLiveHere is a reality, unlike the urban legend suggesting that Microsoft refuses to do random drug testing on its employees.

I'll let everybody know when I find a way to make a shortcut to prove that Bozos really do live here. Don't be too disappointed when it just shuts down your computer.
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top