Here are the steps in granting Admin access to local user in MS Windows
- Press the Windows key on your keyboard to open the Start menu.
- Type “cmd” (without quotes) in the search bar.
- Right-click on “Command Prompt” in the search results.
- Select “Run as administrator” from the context menu. This will open an elevated command prompt with administrator privileges.
Please note that you’ll need administrator credentials to proceed with the steps below.
- In the elevated command prompt, type the following command:
net localgroup Administrators firstname.surname /add
Replace “firstname.surname” with the actual username you want to add to the Administrator group. For example, if the user’s name is “John.Doe,” the command would be:
net localgroup Administrators John.Doe /add
- Press Enter to execute the command. If successful, you will receive a message indicating that the command completed successfully.
Remember that adding a user to the Administrator group gives them elevated privileges, which can potentially be risky. After completing the software installation, it is a good practice to remove the user from the Administrator group to minimize security risks.
To remove the user from the Administrator group, follow these steps:
- Open an elevated command prompt as described above.
- In the elevated command prompt, type the following command:
net localgroup Administrators firstname.surname /delete
Again, replace “firstname.surname” with the actual username you want to remove from the Administrator group.
- Press Enter to execute the command. If successful, you will receive a message indicating that the command completed successfully.
After this process, the user will no longer have administrative privileges on the machine. Always exercise caution when making changes to user accounts and system settings.