Creating a New Administrator Account in Windows
As a Windows administrator, you may need to create a new administrator account for various reasons, such as adding a new user or granting administrative privileges to a standard user. This article will guide you through the process of creating a new administrator account in Windows.
Prerequisites
Before you begin, ensure that you are currently logged in as an administrator. You cannot create a new administrator account while logged in as a standard user.
Creating a New Administrator Account
To create a new administrator account, follow these steps:
- Click the Start button and select Settings.
- In the Settings window, select Accounts.
- In the Accounts window, select Family & other users.
- Under the Other users section, click the Add someone else to this PC button.
- In the Add someone window, click the I don't have this person's sign-in information link.
- In the Create account window, click the Add a user without a Microsoft account link.
- Enter the new user's name and password, then click the Next button.
- Once the account has been created, return to the Family & other users section in the Accounts settings.
- Under the Other users section, click on the new user's account.
- Click the Change account type button.
- In the Change account type window, select Administrator from the dropdown menu.
- Click the OK button to save the changes.
Code Block Example
The following code block demonstrates how to create a new administrator account using PowerShell:
$userParameters = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "NewAdminUser", (ConvertTo-SecureString -String "P@ssw0rd" -AsPlainText -Force)
New-LocalUser -Name "NewAdminUser" -Password $userParameters
Add-LocalGroupMember -Group "Administrators" -Member "NewAdminUser"Creating a new administrator account in Windows is a straightforward process that can be done using the graphical user interface or PowerShell. By following the steps outlined in this article, you can create a new administrator account and grant administrative privileges to a user.
References
- Type: Article
Title: "How to create a new user account in Windows 10"
Author: Ed Bott
Publication: TechRepublic - Type: Article
Title: "Create a local user or group account in Windows 10"
Author: Microsoft Support
Publication: Microsoft Docs - Type: Article
Title: "How to Create a New Local User Account Using PowerShell in Windows 10"
Author: Rafael Rivera
Publication: Within Windows