PDA

View Full Version : Win 98 Log off & Shut down


Tink
July 17th, 2003, 01:23 PM
I'm trying to create desktop profiles in win98se. I would like to put icons on the desktop: one for shut down and another for log off.

I am using laptops with win98se and logging onto win NT domain. The laptops are not part of the standard network so when users log on restrictions are placed on the laptop and the icons for shut down and log off disappear off the start menu.

Is there a way I can create shortcuts to these items. I have looked for the program files associated with these functions but can't find them. I'm sure someone out there knows which files run the log off and shut down. Please help me obi wan - you're my only hope. ;)

tramtwo
July 17th, 2003, 03:43 PM
Hi Tink and welcome to CTH


C:\WINDOWS\RUNDLL32.EXE SHELL32.DLL,SHExitWindowsEx X in the Command line: text box where X is one of the following values:

0= Log off
1= Shut down
2= Restart Windows
4= Force all running processes to terminate
8= Exits Windows, then turns off the computer’s power (If power-off is supported by the computer).
-1= Restart Explorer

You can call me tram. ;)

tramtwo
July 17th, 2003, 03:54 PM
Edit: Don't know how the double post happened. Darn back button. :D

Tink
July 18th, 2003, 09:27 AM
Tram - you da man:-S

Thanks for that it works a treat. Tink x :-S

tramtwo
July 18th, 2003, 11:42 AM
You're welcome. :cool: