| Step | Command | Expected Output | |------|---------|------------------| | 1 | Open CMD as Admin | UAC prompt → Yes | | 2 | net user | Lists all users, including SarahJones | | 3 | net localgroup Administrators "SarahJones" /add | The command completed successfully. | | 4 | net localgroup Administrators | Output includes SarahJones in the list. |
Example:
Replace <username> with the actual username. This method directly modifies the user's group membership.
"UserName" with the actual name of the account you want to change: cmd net localgroup Administrators "UserName" /add Use code with caution. Copied to clipboard (Keep the quotation marks if the username contains spaces.) 4. Verify the Change To ensure the user now has admin rights, type: cmd net localgroup Administrators Use code with caution. Copied to clipboard The username should now appear under the list of members for the Administrators group. Note: The user will need to