Windows system Add Delete user command!

Source: Internet
Author: User

Reference:
NET Help user
NET Help Group

Net User
Add or modify user accounts or display user account information.

Grammar
NET user [UserName [Password | *] [options] [/domain]
NET user [UserName {Password | *}/add [options] [/domain]
NET user [UserName [/delete] [/domain]

Parameters
UserName
Specifies the name of the user account to add, delete, modify, or view. A user account name can have up to 20 characters.

Password
Assign or change a password for a user account. Enter an asterisk (*) to generate a password hint that does not display a password when you type the password at the password prompt line.

/domain
Perform operations on the primary domain controller of the computer's primary domain.

Options
Specifies command-line options.   The following table lists the valid command-line options that you can use.   command-line Options Syntax Description/active:{no | Yes to enable or disable user accounts. If the user account is inactive, the user cannot access the resources on the computer. The default setting is Yes (active state).
/comment: "Text" provides a descriptive description of the user account. The note can have up to 48 characters. Enclose the text in quotation marks.

Example (a few commonly used)
View user information (for example: ABC): NET user ABC
Add a user (for example: ABC): NET User Abc/add
Delete a user (for example: ABC): NET User Abc/delete
Enable Ghust account: NET user Guest/active:yes
Disable Ghust account: NET user Guest/active:no
In addition, a problem is found, that is, the standard user login can create a super user through these commands, which is a vulnerability to the management of a local area network, it seems necessary to study the local policy or through the network management software to solve the problem.

Windows system Add Delete user command!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.