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: 239
  • Last Modified:

Disable User and Computer Accounts

Is there a setting in Group Policy that I can set to disable User and Computer accounts.  When new users are created they go to a OU=Quarantined\Users and compters go to OU=Quarantined\Computers.  I want to apply the disable account to these two OUs.
1 Solution
You could run a script targeted at that particular OU. An example can be found at this site.

Note to change the code to 514 for disable.

That is what I use and then I just run a script every 5 mins

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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