Wednesday, March 12, 2008

Disable a user from logging off Windows

In order to make sure that a user always shuts down the Windows instead of logging off, you can disable the logging off options from the Windows. By disabling the logging off options, a user can either switch the user, or will have to shut down the system. He/she will not be able to log off the system, but will be able to shutdown the system.

In order to remove the logging off option from the Window, you'll have to remove the "Log Off" from the start menu and from the Task Manager as well.

1. Remove Log Off option from Task Manager

In order to remove the "log off " menu option from the Task Manager's menu, do as follows:

  1. Open Group Policy Editor (Start->Run->"gpedit.msc")
  2. On the left go to, User Configuration->Administrative Templates->System->Ctrl+Alt+Del Options.
  3. On the right, Enable this setting "Remove Logoff". (see figure below)

This setting does not let the user log off the system by using any method, including programs run from the command line, such as scripts. It also disables or removes all menu items and buttons that log the user off the system except from the Start Menu.

2. Remove Log Off from the Start Menu

To remove the log off button from the Start Menu, do as follows:

  1. Open Group Policy Editor (Start->Run->"gpedit.msc")
  2. On the left go to, User Configuration->Administrative Templates->Start Menu and Taskbar.
  3. On the right, Enable this setting "Remove Logoff on the Start Menu". (see figure below)
If you enable this setting, the Log Off item does not appear in the Start menu. This setting also removes the Display Logoff item from Start Menu Options. As a result, users cannot restore the Log Off item to the Start Menu.


exclaimEnJoYexclaim

11 comments:

CRD said...

u really do have a very good knowledge about computers...but not many of us would really know why theyd need to disable the option to log off from windows.u shud let readers know how it helps too..


btw i have a prob wid my pc..thrs some trojan called winflyer.dll and the antivirus isnt able to delete it..wat shud i do?

pandian chelliah said...

quite interesting...i am reading ur blog completely to get more idea abt computers...great work

Tina said...

very useful blog i ges ;)...cant understand it completly but i have a brother who ill like this...

gud work

Anonymous said...

good
informative blog

test said...

i bookmarked u dude.. wil come back often to steal ur knowledge

Anonymous said...

Informative & interesting...

Mythreya said...

really informative yaar..
Few them... are really helpful for me..
Dude.. Nice going..
nice tech blog.

Arjun said...

Hey...informative and useful..
Thanks..

Cheers..!!
Arjun

anonymousT said...

I dont really get the need for disabling log off button?

SRT said...

good work but has seen these before too.....

Gagan said...

very nice post !! helped me alot !!