Since the USB flash drive was poisoned, I began to discover the importance of learning batch scripts. Let's work hard together! ! !
Do business! ! !
table of Contents
User operation command
View user help information
net user /?
View user detailed help information
net user /help
View user details
net user 用户名
View user accounts
net user
delete users
net user 用户名 /delete
Note : Be cautious with the user you are currently using, I was a real lesson of blood, which made me reinstall the system
Create user
Create a user with username admin and password admin
net user 用户名 密码 /add
Can check
User group operation command
View user groups
net localgroup
View user's group
net user 用户名
Add user group
net localgroup 所属组 用户 /add
Check the user's details at this time
net user admin
Delete user's group
net localgroup 所属组 用户名 /delete
Check the user's detailed information at this time.
Congratulations, you've finished reading it.