Jump to content

Recommended Posts

Posted

Is there a way to stop users logging in to the domain.

 

The reason for wanting this is that when I'm rebooting I sometimes want to stop users logging on after the reboot until I'm happy that any changes I've made are OK.

 

We are windows server 2003, but we will move to 2008 so will the same solution work.

Posted

If you have a single DC then you could I suppose disable caching of profiles so they'd need to see the server to log in.

 

Mind you, can you ensure that upon reboot any of the existing users will log out or just "wait" til it comes back?

 

A bit more info would be helpful.

Posted

Create a Security group (eg G Deny Logon)

Edit the relevant group policy (I used the Default Domain Policy ) -> Computer Configuration -> Policies* -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment

 

*If using Windows 2008

 

Find the "Deny Logon Locally" policy, enable it and add in your security group

Repeat for "Deny Logon through Terminal Services" if you use Terminal Services..

 

Refresh Group Policy & reboot.

 

Now whenever you add a user to that group they will not be able to logon to the domain

Posted
But with that you're factoring in the time taken to add "Everyone" to it and for this policy to be handed down to local clients as once the server is rebooting the local client can't find the server!
Posted

Wow some really imaginative and long winded ways here!

 

If you go into Services and stop the "Net Logon" service on all domain controllers it will stop anyone logging on. (though it won't kick anyone off that is already logged on)

 

Butuz

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...