Skip to content

How to Enable Windows 7 Computer to Enforce Users to Logon If They Want to Shut It Down?

By Codrut Nistor

Posted in How-to, Windows-7

In Windows 7 when a computer is booted users can log on using their credentials. In some cases it might be possible that as soon as the users start their computers they need to go out for some urgent work and because of which they need to shut down the computers instantaneously. By default Windows 7 allows users to shut down their computers even when they are not logged on. Assuming that Windows 7 is client operating system and is mostly used in home environments this configuration is enabled. However when Windows 7 computer is used in complex network scenarios that is in production environments it is recommended that administrators should disable this feature so that users cannot shut down the computers without logging on to them. Moreover in some cases administrators disable the shutdown feature as well. If you want to enforce users to log on to a Windows 7 computer in order to shut it down you need to follow the steps given below:

  1. Logon to the computer with administrator account.
  2. Click on Start button.
  3. At bottom of start menu in search box type gpedit.msc command and press enter key.
  4. On Local Group Policy Editor snap-in under Computer Configuration expand Windows Settings and then expand Security Settings.
  5. Expand Local Policies and click on Security Options.
  6. From the right pane double click on Shutdown: Allow system to be shut down without having to log on and on the opened box select Disabled radio button.
  7. Once done click on Ok button and close Local Group Policy Editor snap-in.
  8. Open Command Prompt and in command window type gpupdate /force to update here computer policy with latest configuration.
  9. Close Command Prompt.