Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

Disable logon to this computer

Hey Guys,

Is there a way to disable logon to this computer option for all users. Except for admins?

4 Solutions
Justin OwensITIL Problem ManagerCommented:
Just set the Log on Locally policy to only allow members of the Administrators group (or a group you have delegated) via GPO.

ShivtekAuthor Commented:
That would mean the GPO on the OU of users?
Justin OwensITIL Problem ManagerCommented:
No, the computer.  You want to apply the policy to the computer, not to the user.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Henrik JohanssonSystems engineerCommented:
Configure the following policy in local policy on the computer or in a GPO linked to OU containing the computer objects that shall be affected.

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow log on locally

You can also prevent some users by using 'Deny log on locally' user right. Be aware that deny always override allow if there's a conflict and the deny policy setting will act as an exclude rule of the allowed group of users.
to get to the local GPO editor

go to start-> run-> type "gpedit.msc" without quotes and press enter.  Follow previous comments for proper login allow/deny settings.
Premkumar YogeswaranAnalyst II - System AdministratorCommented:
In that local system,
Start-> Run -> GPEDIT.MSC (enter)
Now in Local Computer Policy.
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\ Log on locally
In that remove the "USER" and add the user you want to log on locally...!

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now