PDA

View Full Version : Remove Logoff


JD
February 22nd 04, 07:23 AM
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?

Kelly
February 22nd 04, 08:01 AM
Hi,

Run the edit on line 98
http://www.kellys-korner-xp.com/xp_tweaks.htm

--
Happy Mardi-Gras,
Kelly

Microsoft-MVP Windows® XP

Troubleshooting Windows XP
http://www.kellys-korner-xp.com

Utilities for Windows XP
http://www.kellys-korner-xp.com/xp_u.htm#xp_util


"JD" > wrote in message
...
> 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?
>
>

JD
February 22nd 04, 12:08 PM
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.
"Kelly" > wrote in message
...
> Hi,
>
> Run the edit on line 98
> http://www.kellys-korner-xp.com/xp_tweaks.htm
>
> --
> Happy Mardi-Gras,
> Kelly
>
> Microsoft-MVP Windows® XP
>
> Troubleshooting Windows XP
> http://www.kellys-korner-xp.com
>
> Utilities for Windows XP
> http://www.kellys-korner-xp.com/xp_u.htm#xp_util
>
>
> "JD" > wrote in message
> ...
> > 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?
> >
> >
>
>

Torgeir Bakken (MVP)
February 22nd 04, 04:22 PM
JD wrote:

> 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\Curre ntVersion\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\Curre ntVersion\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/


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

Kelly
February 23rd 04, 08:21 AM
Thanks and most welcome. Seems Torgeir filled in for me. :o)

--
Happy Mardi-Gras,
Kelly

Microsoft-MVP Windows® XP

Troubleshooting Windows XP
http://www.kellys-korner-xp.com

Utilities for Windows XP
http://www.kellys-korner-xp.com/xp_u.htm#xp_util


"JD" > wrote in message
...
> 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.
> "Kelly" > wrote in message
> ...
> > Hi,
> >
> > Run the edit on line 98
> > http://www.kellys-korner-xp.com/xp_tweaks.htm
> >
> > --
> > Happy Mardi-Gras,
> > Kelly
> >
> > Microsoft-MVP Windows® XP
> >
> > Troubleshooting Windows XP
> > http://www.kellys-korner-xp.com
> >
> > Utilities for Windows XP
> > http://www.kellys-korner-xp.com/xp_u.htm#xp_util
> >
> >
> > "JD" > wrote in message
> > ...
> > > 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?
> > >
> > >
> >
> >
>
>

JD
February 23rd 04, 11:21 AM
Let me try again: Is a VBS "script" run by double clicking? Can it be
"undone"?

"Kelly" > wrote in message
...
> Thanks and most welcome. Seems Torgeir filled in for me. :o)
>
> --
> Happy Mardi-Gras,
> Kelly
>
> Microsoft-MVP Windows® XP
>
> Troubleshooting Windows XP
> http://www.kellys-korner-xp.com
>
> Utilities for Windows XP
> http://www.kellys-korner-xp.com/xp_u.htm#xp_util
>
>
> "JD" > wrote in message
> ...
> > 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.
> > "Kelly" > wrote in message
> > ...
> > > Hi,
> > >
> > > Run the edit on line 98
> > > http://www.kellys-korner-xp.com/xp_tweaks.htm
> > >
> > > --
> > > Happy Mardi-Gras,
> > > Kelly
> > >
> > > Microsoft-MVP Windows® XP
> > >
> > > Troubleshooting Windows XP
> > > http://www.kellys-korner-xp.com
> > >
> > > Utilities for Windows XP
> > > http://www.kellys-korner-xp.com/xp_u.htm#xp_util
> > >
> > >
> > > "JD" > wrote in message
> > > ...
> > > > 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?
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Torgeir Bakken (MVP)
February 23rd 04, 03:26 PM
JD wrote:

> 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.

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

JD
February 23rd 04, 10:04 PM
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.
"Kelly" > wrote in message
...
> Thanks and most welcome. Seems Torgeir filled in for me. :o)
>
> --
> Happy Mardi-Gras,
> Kelly
>
> Microsoft-MVP Windows® XP
>
> Troubleshooting Windows XP
> http://www.kellys-korner-xp.com
>
> Utilities for Windows XP
> http://www.kellys-korner-xp.com/xp_u.htm#xp_util
>
>
> "JD" > wrote in message
> ...
> > 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.
> > "Kelly" > wrote in message
> > ...
> > > Hi,
> > >
> > > Run the edit on line 98
> > > http://www.kellys-korner-xp.com/xp_tweaks.htm
> > >
> > > --
> > > Happy Mardi-Gras,
> > > Kelly
> > >
> > > Microsoft-MVP Windows® XP
> > >
> > > Troubleshooting Windows XP
> > > http://www.kellys-korner-xp.com
> > >
> > > Utilities for Windows XP
> > > http://www.kellys-korner-xp.com/xp_u.htm#xp_util
> > >
> > >
> > > "JD" > wrote in message
> > > ...
> > > > 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?
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Torgeir Bakken (MVP)
February 23rd 04, 10:07 PM
JD wrote:

> 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):




--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

JD
February 24th 04, 01:02 AM
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
"Torgeir Bakken (MVP)" > wrote in message
...
> JD wrote:
>
> > 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):
>
>
>
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>

Kelly
February 24th 04, 10:22 AM
You have been answered. If you are needing more help, post back.

--
It is Fat Tuesday,
Kelly

Microsoft-MVP Windows® XP

In memory of Robert McGregor (aka Koldbear)
http://www.btinternet.com/~winnoel/winhelp.htm

Troubleshooting Windows XP
http://www.kellys-korner-xp.com




"JD" > wrote in message
...
> Let me try again: Is a VBS "script" run by double clicking? Can it be
> "undone"?
>
> "Kelly" > wrote in message
> ...
> > Thanks and most welcome. Seems Torgeir filled in for me. :o)
> >
> > --
> > Happy Mardi-Gras,
> > Kelly
> >
> > Microsoft-MVP Windows® XP
> >
> > Troubleshooting Windows XP
> > http://www.kellys-korner-xp.com
> >
> > Utilities for Windows XP
> > http://www.kellys-korner-xp.com/xp_u.htm#xp_util
> >
> >
> > "JD" > wrote in message
> > ...
> > > 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.
> > > "Kelly" > wrote in message
> > > ...
> > > > Hi,
> > > >
> > > > Run the edit on line 98
> > > > http://www.kellys-korner-xp.com/xp_tweaks.htm
> > > >
> > > > --
> > > > Happy Mardi-Gras,
> > > > Kelly
> > > >
> > > > Microsoft-MVP Windows® XP
> > > >
> > > > Troubleshooting Windows XP
> > > > http://www.kellys-korner-xp.com
> > > >
> > > > Utilities for Windows XP
> > > > http://www.kellys-korner-xp.com/xp_u.htm#xp_util
> > > >
> > > >
> > > > "JD" > wrote in message
> > > > ...
> > > > > 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?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Kelly
February 24th 04, 10:22 AM
Never mind..... :o)

--
It is Fat Tuesday,
Kelly

Microsoft-MVP Windows® XP

In memory of Robert McGregor (aka Koldbear)
http://www.btinternet.com/~winnoel/winhelp.htm

Troubleshooting Windows XP
http://www.kellys-korner-xp.com




"JD" > wrote in message
...
> 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
> "Torgeir Bakken (MVP)" > wrote in message
> ...
> > JD wrote:
> >
> > > 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):
> >
> >
> >
> >
> > --
> > torgeir
> > Microsoft MVP Scripting and WMI, Porsgrunn Norway
> > Administration scripting examples and an ONLINE version of the 1328 page
> > Scripting Guide: http://www.microsoft.com/technet/scriptcenter
> >
> >
>
>

JD
February 24th 04, 11:21 AM
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.
"Kelly" > wrote in message
...
> Never mind..... :o)
>
> --
> It is Fat Tuesday,
> Kelly
>
> Microsoft-MVP Windows® XP
>
> In memory of Robert McGregor (aka Koldbear)
> http://www.btinternet.com/~winnoel/winhelp.htm
>
> Troubleshooting Windows XP
> http://www.kellys-korner-xp.com
>
>
>
>
> "JD" > wrote in message
> ...
> > 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
> > "Torgeir Bakken (MVP)" > wrote in message
> > ...
> > > JD wrote:
> > >
> > > > 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):
> > >
> > >
> > >
> > >
> > > --
> > > torgeir
> > > Microsoft MVP Scripting and WMI, Porsgrunn Norway
> > > Administration scripting examples and an ONLINE version of the 1328
page
> > > Scripting Guide: http://www.microsoft.com/technet/scriptcenter
> > >
> > >
> >
> >
>
>

Google