moggy Posted December 17, 2008 Posted December 17, 2008 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.
OutToLunch Posted December 17, 2008 Posted December 17, 2008 Back of server - network cable - yoink! Reboot. Test. Plug in? I prefer the low tech approaches
kmount Posted December 17, 2008 Posted December 17, 2008 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.
Gatt Posted December 17, 2008 Posted December 17, 2008 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
kmount Posted December 17, 2008 Posted December 17, 2008 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!
Gatt Posted December 17, 2008 Posted December 17, 2008 Ah... classic case of not reading the OP fully first What about killing the netlogon service?
FN-GM Posted December 17, 2008 Posted December 17, 2008 I have been told if you stop the netlogon service it will stop people logging on. Not tried it myself. Z
Butuz Posted December 17, 2008 Posted December 17, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now