In Windows 11, you can set up a password for a non-admin user account and allow them to make changes that require administrator privileges, without giving them access to the main admin account. This is typically referred to as "elevated privileges" or "admin approval mode."
Here's how you can set this up:
- Log in to the computer with an administrator account.
- Click on the Start button, and then click on Settings.
- In the Settings app, click on Accounts.
- In the Accounts settings, click on Family & other users.
- Select the non-admin user account that you want to set up a password for, and then click on Change account type.
- Under Account type, select Standard user, and then click on OK.
- Click on the non-admin user account that you just changed, and then click on Change sign-in options.
- Click on the Create a password button, and then enter and confirm a password for the non-admin user account.
Once you have done this, the non-admin user will need to enter the password that you have just set up, in order to perform actions that require elevated privileges. Additionally, you can setup UAC (User Account Control) to prompt for an admin PIN or password when the user tries to perform a task that requires administrator rights, this can prevent the non-admin user from accessing the administrator account.
Please note that this feature only prevents the non-admin user from logging in as the administrator, it won't prevent them from installing software or make changes that require administrator rights. To do that you need to use other features like group policy, or setting up software restriction policies.