A Angel Tsankov Mar 29, 2006 #1 Using the command prompt how can I disable an account or remove it from a group?
J Jerold Schulman Mar 30, 2006 #2 Using the command prompt how can I disable an account or remove it from a group? Click to expand... See tip 6820 » What are the new Active Directory command-line tools in Windows Server 2003? in the 'Tips & Tricks' at http://www.jsifaq.com To disable a user account: dsmod user <UserDN> -disabled yes To remove a user account from a group: dsmod group <GroupDB> -rmmbr <UserDN> OR net user UserNamew /active:no /domain net group "GroupName" "UserName" /del /domain for a local group: net localgroup "GroupName" "UserName" /del Jerold Schulman Windows Server MVP JSI, Inc. http://www.jsiinc.com http://www.jsifaq.com
Using the command prompt how can I disable an account or remove it from a group? Click to expand... See tip 6820 » What are the new Active Directory command-line tools in Windows Server 2003? in the 'Tips & Tricks' at http://www.jsifaq.com To disable a user account: dsmod user <UserDN> -disabled yes To remove a user account from a group: dsmod group <GroupDB> -rmmbr <UserDN> OR net user UserNamew /active:no /domain net group "GroupName" "UserName" /del /domain for a local group: net localgroup "GroupName" "UserName" /del Jerold Schulman Windows Server MVP JSI, Inc. http://www.jsiinc.com http://www.jsifaq.com
M Michael Bednarek Mar 30, 2006 #3 Using the command prompt how can I disable an account or remove it from a group? Click to expand... Start with the NET command, e.g. NET HELP USER or NET HELP GROUP.
Using the command prompt how can I disable an account or remove it from a group? Click to expand... Start with the NET command, e.g. NET HELP USER or NET HELP GROUP.
R Roger Abell [MVP] Apr 3, 2006 #4 Michael Bednarek said: Start with the NET command, e.g. NET HELP USER or NET HELP GROUP. Click to expand... and net help localgroup for domain local groups instead of global groups
Michael Bednarek said: Start with the NET command, e.g. NET HELP USER or NET HELP GROUP. Click to expand... and net help localgroup for domain local groups instead of global groups