• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do you create a shortcut to "LOG OFF" in windows 2000?

AnMig

Golden Member
I googled this but was unable to find any answers.

I want to be able to log off my windows 2000 pc with just a double click.
I know about the ctrl-alt-delete-L, but want a shortcut to avoid the using the keyboard.

Its a shared PC in a workroom, that i need to log off everytime I leave the room (at least 20 times a day)


Thanks

the closest answer I got was create a shortcut using "c:\winnt\system32\shutdown.exe -l -t 0" but it says it cannot be found.

Thanks
 
C:\WINDOWS\system32\logoff.exe

Oops..that's on XP....but it also exists on W2K Server...so you should be all set..
 
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
 
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


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}"

-----


 
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)
 
You can't find Logoff.exe? Odd. It's on both my work XP, my home XP, home W2K Server....

bkstntje has another good idea. That's what I usually use: Ctrl-Esc - L - L
 
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. 😉

 
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
 
"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
 
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}"
 
Back
Top