Sunday 27 September 2009

Disable a user account using command line

Access your domain contoller and type the following format to disable your user :

dsmod user "cn=Joe Bloggs, ou=IT Admins, dc= Your Domain name , dc=com" -disabled yes

No comments:

Post a Comment