220-1102 exam dumps

220-1102 practice question 121 of 828

A+ Core 2. Associate level, CompTIA. Free question with the correct answer and a full explanation.

220-1102 Question 121

Single answernet user

A technician is remotely assisting with a standalone Windows 10 PC used in a small office. The employee cannot sign in because they forgot the password for the local account named jsmith. The technician is currently signed in with another local account that has administrative privileges and wants to reset jsmith's password from an elevated Command Prompt as quickly as possible. Which command should the technician use?

  1. A

    net user jsmith N3wP@ssw0rd

  2. B

    net user /add jsmith N3wP@ssw0rd

  3. C

    net localgroup Administrators jsmith N3wP@ssw0rd

  4. D

    net accounts jsmith /passwordchg:yes

Show answer and explanation

Correct answer: A

Explanation

The best answer is "net user jsmith N3wP@ssw0rd" because the net user command is specifically used to view, create, modify, and delete user accounts on Windows. For a local account on a standalone PC, supplying the username followed by the new password resets that user's password. This is a common administrative task in support environments. By contrast, "net user /add" creates accounts, "net localgroup" manages local group membership, and "net accounts" manages broader account policy settings rather than an individual user's password. This aligns with standard Microsoft command-line administration behavior for local user management in Windows.

  • A. Correct.

    Correct. On a local Windows system, the command syntax "net user " changes the password for an existing local user account when run from an elevated Command Prompt. In this scenario, "net user jsmith N3wP@ssw0rd" resets the password for the existing local account jsmith so the employee can sign in again.

  • B. Incorrect.

    Incorrect. The /add switch creates a new local user account rather than modifying an existing one. Running "net user /add jsmith N3wP@ssw0rd" would attempt to create a user named jsmith, and if that account already exists, the command would fail.

  • C. Incorrect.

    Incorrect. "net localgroup" is used to manage membership in local groups, such as adding a user to Administrators. It does not set a user's password. This distractor reflects a common confusion between managing accounts and managing group membership.

  • D. Incorrect.

    Incorrect. "net accounts" configures password and logon requirements at the system level, such as password age and lockout settings. It does not change the password for a specific user account. Also, the syntax shown is not how you reset a single user's password.

Timed practice exam

Take a 220-1102 practice test under exam conditions

90 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam