Thứ Tư, Tháng Hai 12, 2025
spot_img
HomeTechnologyHow to get admin rights on Windows

How to get admin rights on Windows

Windows separates user accounts into 2 levels: Administrator and Standard. Standard accounts can make changes that don't affect other people on the computer, such as personalization options or installing software themselves. However, you need an admin account to change the clock, access protected system files, add users, and perform similar actions.

Perhaps you tried to access something and were told that you don't have admin rights. Today's article will show you how to get admin rights on Windows 10.

How to get admin rights on Windows?

First, make sure you have admin rights!

It sounds obvious, but perhaps you don't have admin rights on the computer because the owner doesn't want it to. On a company computer or one owned by your parents, friends, etc. you may be limited to the standard account so you can't make major changes.

If you need admin access on someone else's computer, ask them to make changes or updates to your account with admin rights.

User Account Control: Know your rights

Windows uses the blue and yellow User Account Control (UAC) shield icon to designate computer functions that require admin rights. If you try to perform the action, you will see two different prompts depending on whether you are an admin or not.

Admin just click Yes when asked if you want to allow the program to make changes. Standard accounts must enter an admin password to proceed.

This allows you to perform administrative functions without needing to log in to an admin account all the time. See the article: Learn about the nature of Windows UAC and why we should not turn off this feature for more information..

If you want to upgrade your standard account to an admin account, another admin will need access Settings > Accounts > Family & other users. Select your account in Other People (or Your Family) and click the button Change account type.

Change it from Standard User wall Administrator and you will have full privileges.

Change from Standard User to Administrator
Change from Standard User to Administrator

Not disabling UAC is also a smart choice. Doing so will prevent standard accounts from seeing the UAC prompt, so attempts to perform admin actions will not result in a notification.

Xem thêm  Instructions for blocking messages from strange WhatsApp accounts

To test this, enter UAC Go to the Start menu and click settings Change User Account Control. Make sure the slider is not set to the bottom option Never Notify. The second option from the top is the default and will work fine in almost all cases.

Make sure the slider is not set to the bottom option Never Notify
Make sure the slider is not set to the bottom option Never Notify

Forgot your admin account password?

A common situation in which you cannot log in to your admin account is when you lose your password. Luckily, there is a workaround for this situation.

The article mentioned how to reset Windows password. If you use Microsoft login information for your admin account, you can easily reset your password through the Microsoft portal. Local accounts have several other methods to reset the password, but it will take some effort.

Once you restore your account password, you will have full admin rights again.

How to get admin rights on Windows

How to get admin rights on Windows 10 with Command Prompt

If you prefer to use the command line rather than the GUI, you can do the following to get admin rights on Windows 10!

1. Enter command prompt or cmd into the search box. Then, from the search results, right-click Command Prompt and choose Run as administrator to open CMD with admin rights.

2. You will receive a confirmation screen User Account Control asks you to allow the program to make changes to your computer, click Yes.

3. Above Command Promptto list all users on the computer, enter the command below and press Enter.

net user

4. Copy the username for the user you want to grant admin rights to.

Copy the username for the user you want to give admin rights to
Copy the username for the user you want to give admin rights to

5. Finally, to grant admin rights on Windows 10 to the user, type the command below and press Enter.

Net Localgroup Administrators UserName /add

Replace UserName with the username for the user you want to add to the administrators group. In this example, the author wants to add users, NewLocalUser to the local administrators group. Here is the modified command:

Net Localgroup Administrators NewLocalUser /add

6. If the command returns “The command completed successfully”you have successfully granted admin rights.

Xem thêm  9 default settings that should be changed after buying a new iPhone
Command returned "The command completed successfully"
The command returns “The command completed successfully”

7. To remove admin rights, enter the command below and press Enter.

Net Localgroup Administrators NewLocalUser /Delete

8. If the command returns “The command completed successfully”the user's admin rights have been revoked.

Command returned "The command completed successfully" Report admin rights revoked
The command returns “The command completed successfully” indicating that admin rights have been revoked

How to get admin rights on Windows 10 with PowerShell

PowerShell is Microsoft's latest tool that helps Windows administrators automate Windows tasks. If you want to use PowerShell to grant admin access, follow the steps below…

1. Enter powershell into the search box. Then on the right pane of search results, below Windows PowerShellclick Run as Administrator.

2. You will receive User Account Control requires permission to allow PowerShell to open, click Yes.

3. Then, on the PowerShell command prompt, to list all users on the local PC, enter the command below and press Enter:

Get-LocalUser

4. The command will list all local users on the computer. Note the username for the user you want to add to the administrators group.

All local users on the computer
All local users on the computer

5. Then, to grant admin rights on Windows 10 using PowerShell, enter this command and press Enter:

Add-LocalGroupMember -Group Administrators -Member NewLocalUser

Replace NewLocalUser with the username you want to grant admin rights to.

6. To confirm that the user is now a member of the local administrators group, enter the command below and press Enter.

Get-LocalGroupMember -Name administrators

7. Users will be listed as members:

The user will be listed as a member
The user will be listed as a member

8. If you want to revoke admin rights, use the command below.

Remove-LocalGroupMember -Group Administrators -Member NewLocalUser

Replace NewLocalUser with the username you want to set as admin.

9. Finally, to confirm that the user has been successfully removed from the local administrators group, use the command below…

Get-LocalGroupMember -Name administrators

10. The result of the command confirms that the user, NewLocalUser no longer part of the group Administrators.

NewLocalUser is no longer part of the Administrators group
NewLocalUser is no longer part of the Administrators group

Solution to replace the integrated admin account

If you try to open Command Prompt with admin rights above and are unable to do so because of lack of admin rights, you will have to enable the admin account using a workaround.

To do this, please refer to the guide: Forgot Windows 10 password, this is how to break Windows 10 password without using a third tool for more details.

Xem thêm  Latest Code of Fighting Gods

How to fix admin rights on your own account

Once you're logged in with an admin account, you can use Windows tools to fix problems on your own admin account. Start by visiting the same account page as before to make sure your account is actually an admin: Settings > Accounts > Family & other users.

Click on your account name in Other users (or Your familyif available) and then press the button Change account type. Change the word drop-down box Standard User wall Administrator if not done yet.

Another way to do this is through the page User Accounts. Enter netplwiz Go to the Start menu (or menu Run Win+R) to access. Here, you will see a list of all users on the machine.

Click on a user and press the button Propertiesthen select tab Group Membership. You can change accounts from Standard users wall Administrator. Options Other contains many other account types that are not as common.

Click on a user and press the Properties button
Click on a user and press the Properties button

There's another place you should check to make sure you're not missing out on any permissions. Open the incoming File Explorer window This PC. In Devices and drives. drivesright-click on the primary storage drive (probably the C: drive) and select Properties.

In the results window, switch to tabs Security. Next, click the button Advanced near the bottom. You'll see a complete list of permissions for each user group on your PC. This will be different if you've made changes, but here's an idea of ​​what a typical list of permissions looks like:

List of common permissions
List of common permissions

Make sure that the group Administrators Have Full Control listed for Access. If not, then you'll see why you can't see all the files. Click the button Change permissions first to make changes, then double-click the group to modify.

Make sure to check the box Full control for the group Administrators. Remember, you shouldn't change anything else that you're not sure about here. If you're still having problems, try creating a new admin account at Settings > Accounts > Family & other users > Add someone else to this PC.

Wish you success!

Refer to some more articles below:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments