Remove Logoff

J

JD

Since I'm the only user of this computer, I thought I'd like to remove the
Logoff button from the Start/Shutdown menu. I found this tweak and tried it,
but it didn't work.
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ Current
Version\Policies\Explorer.

Right-click in the white area of the right window and select New, DWORD
Value. Name this value NoLogOff and press Enter. Then double-click this
entry and enter 1 under Value. Exit RegEdit and restart Windows. Log Off
User will be gone."

Maybe this was for Windows 9.x and there's a different fix for Windows XP?

I'm also curious what would happen if I clicked the Logoff button. I fear
something that I might regret, something that I couldn't undo. What WOULD
happen, given that I have no multiple users on this computer?
 
J

JD

I am grateful for your help, Kelly. I might add that I'm very impressed by
the comprehensiveness of your site, and have noted how many others you've
helped from this and other newsgroups.
However, far from "expert" with Windows, I am leery of doing any tweaks that
I'm not sure I can undo at a later date. Is a VBS "script" accomplished by
double clicking? Can it be "undone"?
The registry change that I posted worked for me on Windows 98. I would
really appreciate knowing how to accomplish the same thing in XP with a
registry hack that I know I can undo. You understand, I'm sure.
Thanks again, and Happy Mardi Gras to you, too.
 
T

Torgeir Bakken (MVP)

JD said:
I am grateful for your help, Kelly. I might add that I'm very impressed by
the comprehensiveness of your site, and have noted how many others you've
helped from this and other newsgroups.
However, far from "expert" with Windows, I am leery of doing any tweaks that
I'm not sure I can undo at a later date. Is a VBS "script" accomplished by
double clicking? Can it be "undone"?
The registry change that I posted worked for me on Windows 98. I would
really appreciate knowing how to accomplish the same thing in XP with a
registry hack that I know I can undo. You understand, I'm sure.

Hi

The vbscripts on line 98 is just setting a registry value, nothing more.

xp_startmenu_logoff_csm.vbs (Classic menu) sets the "NoLogoff" (DWORD)
value under the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

More about this registry value here:

Remove Log Off from the Start Menu (All Windows)
http://www.winguides.com/registry/display.php/9/


xp_startmenu_logoff_nsm.vbs (New type menu) sets the "StartMenuLogoff" (DWORD)
value under the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

More about this registry value here:

Restrict the Start Menu Log Off Option (Windows 2000-Me-XP)
http://www.winguides.com/registry/display.php/974/
 
T

Torgeir Bakken (MVP)

JD said:
Let me try again: Is a VBS "script" run by double clicking?
Yes.


Can it be
"undone"?

Ususally, yes. But you will need to understand what the vbscript did,
e.g. what registry values it modified (vbs files are text files, so you
can open them in e.g. Notepad to see the actual code). For what the
scripts on line 98 at Kelly's site do, see my other post in this thread.
 
J

JD

I"m sorry, but I don't "get" it. I'd still like to know how to do the
registry tweak myself, so that I know I can undo it at a later date.
 
T

Torgeir Bakken (MVP)

JD said:
I"m sorry, but I don't "get" it. I'd still like to know how to do the
registry tweak myself, so that I know I can undo it at a later date.

Hi

Please take a look at the www.winguides.com links in my previous
post to you, where the registry values in question is very well
documented.

Here is the same post at the Google newsgroup archive, I think it
is easier to read the post there than in the Web interface to the
newsgroups you are using (Copy and paste the URL address lines
into your IE address bar if it is not clickable):

http://groups.google.com/[email protected]
 
J

JD

My apologies. Apparently I was looking for a reply from Kelly and overlooked
yours. I should read the headers more carefully. I do appreciate the links.
Jim
 
J

JD

Hi Kelly,
I thought I'd let you know that I did use Doug's script.
It created the DWORD Value "StartMenuLogoff," but with a Hex value of "0."
This seems logical, since the DWORD is a "positive" (unlike the one
used--successfully--in Windows 98, which was "NoLogOff").
It didn't work, however.
So I changed the Hex value to "1"--and it did work.
No more Logoff on the Start Menu.
Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top