≡ Menu

Managing user accounts from windows command line

On Windows we can manage user accounts from command line. We can do the following operations from command prompt.

Add user account to local computer or domain
Removing user account
Renaming user account
Add a user to a local group
Create a local group
Delete a local group
Enable / Disable user account

For detailed command line syntax and examples, please go through the articles listed below.

Add new user account from command line (CMD)

57 comments
2 comments

Add user to domain group from command prompt

1 comment

Set password to never expire

6 comments

Add domain group to local administrators

2 comments

How to Enable or Disable guest account

10 comments

Rename group from Windows command line

1 comment

wmic useraccounts

16 comments

Rename local user account

35 comments
3 comments