How to prevent users from logging on
Start by logging on with a local administrator account.
- Click the Start button and run gpedit.
- Browse to the following path:
Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
- Open the Deny log on locally policy for editing.
- Click the Add user or group button.
- Apply your changes.
Thanks for visiting.