Monday, February 06, 2012
   
Text Size

Windows XP - Delete a local account from a local group using the command line

 

Windows XP - Delete a local account from a local group


To delete an account from a local group using the command line.  Open a command window and type the following:

c:\winnt\system32\net.exe localgroup "Group" "Account" /delete

"Group" - replace with the local group - leave the speech marks.

"Account" - the account to be removed from the local group - leave the speech marks.