Sunday 1 December 2013

Deactivating an active directory user account using CMD (Command Prompt) SERVER 2012 R2


Start by accessing CMD (Command Prompt) and have AD UC open just to see it working quicker that logging in and out.


Here we can see CMD open and our AD UC open, we can see our user Brian Chan is active.

Start by navigating to CMD and type: net user bchan /active:no

This will deactivate the account called bchan.


Refresh your AD UC console and you will notice that Brian Chan now has an arrow pointing down, this means his account is now deactivated.

Enjoy!

No comments:

Post a Comment