111k views
1 vote
Which of the following methods can Administrators use to remove a user in Windows?

(Choose all that apply)
a. In the GUI, under Local Users and Groups in the Computer Management tool, right click the user and select Delete.
b. At the CLI, using the DOS style net computer computername/del command.
c. At the CLI, use the DOS style net user username/del command.
d. With Powershell, use the Remove-LocalUser usernamecommand.

User NLR
by
7.9k points

2 Answers

4 votes

Final answer:

Administrators can remove a user in Windows using the GUI in Computer Management, the CLI with 'net user [username] /delete', and PowerShell with 'Remove-LocalUser -Name username'. Option B is incorrect due to a non-existing command syntax. Options A, C, and D.

Step-by-step explanation:

The methods Administrators can use to remove a user in Windows are the following:

  • Using the GUI: Under Local Users and Groups in the Computer Management tool, right-click the user and select Delete.
  • Using the CLI: The correct DOS-style command is net user username /delete.
  • Using PowerShell: The command Remove-LocalUser -Name username is used.

Option A is correct as it describes the standard procedure for deleting a user via the graphical user interface.

Option B is incorrect because the demonstrated command does not exist in this form for user management.

Option C is also correct but with a minor modification—the correct syntax is net user [username] /delete.

Lastly, option d is correct as it shows the PowerShell command to remove a local user.

Hence, the right answer is options A, C, and D.

User Leon Williams
by
8.5k points
2 votes

Final answer:

Administrators can remove a Windows user via the GUI in Computer Management, the CLI using the 'net user' command, or PowerShell with 'Remove-LocalUser'. Option b is not a valid command for removing users.

Step-by-step explanation:

Administrators can remove a user in Windows by several methods. The correct options from the provided list are:

  • a. In the GUI, under Local Users and Groups in the Computer Management tool, right-click the user and select Delete.
  • c. At the CLI, use the DOS-style net user username /del command.
  • d. With PowerShell, use the Remove-LocalUser username command.

Option b is incorrect because the net computer command is used to add or remove a computer from a domain, not to remove users.

User Derwyn
by
8.6k points