« Command line windows » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 11 : Ligne 11 :
net user /add [username]
net user /add [username]
# it prompts the password
# it prompts the password
# list local groups
net localgroup
# list the users of a group
net localgroup [groupname]


# add a user to a group
# add a user to a group
net localgroup administrators [username] /add
net localgroup administrators [username] /add
</kode>
</kode>

Version du 7 février 2022 à 17:50

Users and groups

Ps.svg
# list local users
net user

# display account information
net user [username]

# create an account
net user /add [username]
# it prompts the password

# list local groups
net localgroup

# list the users of a group
net localgroup [groupname]

# add a user to a group
net localgroup administrators [username] /add