locked
Unable to hide LogOff from startmenu RRS feed

  • Question

  • Hi,

    I am not able to hide LogOff from startmenu in Win7, using registry settings. Any pointers towards it are highly appreciable.


    Regards, http://shwetamannjain.blogspot.com/
    Monday, November 1, 2010 1:39 PM

Answers

  • The corresponding registry settings are documented here http://msdn.microsoft.com/en-us/library/ms815238.aspx:

    Disable Logoff

    (User Configuration\Administrative Templates\System\Logon/Logoff)

    NoLogoff

    (HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer)

    Disable Logoff on the Start Menu

    (User Configuration\AdministrativeTemplates\Start Menu & Taskbar)

    StartMenuLogOff

    (HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer)

     

    However, editing the registry directly is not recommended or supported. 

    Is there a reason why you have to use the registry rather than group policy tools?

    Regards,

    Oliver

    Wednesday, November 3, 2010 8:05 AM

All replies

  • See http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/d8fc394b-2449-46a7-be28-85ee7396e20d

    There is a group policy for this (User Configuration -->> Administrative Templates -->> Start menu and Taskbar --- >> Remove logoff on the start menu)

    Hope this helps,

    Oliver

    Monday, November 1, 2010 7:32 PM
  • Oliver,

    I need to perform this using registry settings.


    Regards, http://shwetamannjain.blogspot.com/
    Tuesday, November 2, 2010 8:20 AM
  • The corresponding registry settings are documented here http://msdn.microsoft.com/en-us/library/ms815238.aspx:

    Disable Logoff

    (User Configuration\Administrative Templates\System\Logon/Logoff)

    NoLogoff

    (HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer)

    Disable Logoff on the Start Menu

    (User Configuration\AdministrativeTemplates\Start Menu & Taskbar)

    StartMenuLogOff

    (HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer)

     

    However, editing the registry directly is not recommended or supported. 

    Is there a reason why you have to use the registry rather than group policy tools?

    Regards,

    Oliver

    Wednesday, November 3, 2010 8:05 AM
  • Hi Oliver,

    Actually this is the requirement. If operator(having minimum privilage) is running application, then he/she should not be able to access any of the windows features as LogOff, ShutDown,drives etc. This locking I am doing on click of a control.


    Regards, http://shwetamannjain.blogspot.com/
    Wednesday, November 3, 2010 2:18 PM