帳戶管理 (user management)

 

 


Local Groups

 

# check group member

net localgroup administrators

Alias name     administrators
Comment        Administrators have complete and unrestricted access to the computer/domain

Members

-------------------------------------------------------------------------------
Administrator
tim
The command completed successfully.

# To add a user to Power users group:

net localgroup "Power users" UserLoginName /add

# To list the users belonging to a particular group

net localgroup group_name

# To add a domain user to local administrator group:

net localgroup administrators domainname\username /add

# # To remove a domain user to local administrator group:

net localgroup administrators domainname\username /delete