Q: I googled, but was unable to find answers.
I who want to unsubscribe my Windows 2000 PC with only one double click.
I know about the ctrl-alt-delete-L, but want a shortcut to avoid the use of a shared PC in a keyboard.
Its office, I must log out each time I leave the room (at least 20 times a day)
Thanks
the closest answer I got was a shortcut using “c: winnt system32 shutdown.exe-lt 0 “, but says it can not be found.
Thanks
Re:Thanks again for network man
the script he posted worked like a charm, just copy and paste in note pad, then change ext to .vbs
it so simple
set WshShell=CreateObject("WScript.Shell")
WshShell.SendKeys"^{ESC}ul{ENTER}"
Re:"The psShutdown utility can be found at the following URL: http://www.sysinternals.com/nt…eware/psshutdown.shtml
Edit1: When I downloaded the utility, I created a batch file with the following single line:
c:\winnt\system32\psshutdown.exe -o
I put a shortcut to it in my Quick Launch bar so with a single click I can initiate a LogOff. "
this worked perfectly, exactly what I was looking for. (desktop shortcut- to doubleclick and log off a user in w2k)
Thanks a lot, will suggest this solution to our network guys. This is better than leaving workstations open as most of the providers do in our office.
Thanks again
Re:network man thanks for the post. I initially thought I could just create a shortcut to the logoff.exe but later on learned its more complicated in w2k.
I was able to download the resource kit but worried our network personel might take offence if I installed it in a shared computer.
I will try the shutdown utility you linked. Thanks again.
edited spelling
Re:want to be able to just doubleclick a shortcut then leave the room.
I was trying to provide a solution meeting exactly what he wanted, not trying to provide alternatives. ![]()
Re:You can't find Logoff.exe? Odd. It's on both my work XP, my home XP, home W2K Server….
guy has another good idea. That's what I usually use: Ctrl-Esc – L – L
Re:Isn't the "Display logoff" option of the Start Menu what you're looking for?
(right click task bar >> properties >> advanced tab >> select "Display Logoff" in Start Menu Settings box)
Re:To shut down Win2K, you need to use either the shutdown.exe utility that?s provided in the Resource Kit or, if you don?t have the Resource kit, you can download and use the freeware psShutdown utility from Sysinternals (http://www.systernals.com).
The psShutdown utility can be found at the following URL: http://www.sysinternals.com/nt…eware/psshutdown.shtml (http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml)
Edit1: When I downloaded the utility, I created a batch file with the following single line:
c:\winnt\system32\psshutdown.exe -o
I put a shortcut to it in my Quick Launch bar so with a single click I can initiate a LogOff.
Edit2: A friend of mine came back with a .VBS script you could use so that you wouldn't need a 3rd party utility.
—–
set WshShell=CreateObject("WScript.Shell")
WshShell.SendKeys"^{ESC}ul{ENTER}"
—–
Re:C:\WINDOWS\system32\logoff.exe
sorry no go file cannot be found
OS is Windows 2000 5.00.2195, service Pack 4
I did a search for logoff.exe cant find it on my computer
Re:C:\WINDOWS\system32\logoff.exe
Oops..that's on XP….but it also exists on W2K Server…so you should be all set..
0 Comments.