Sql Server Installation Error (sql_server_setup_failed_setup_account_privileges)
Scenario And Resolution:
Contents:
1. Error Description 2.Images of the Error 3.Reason For the Error 4.Exact Settings To Be changed 5. Resolution with Images (Not Familiar With Windows Services) 6. Resolution
Error Description: A new installation of Microsoft SQL Server 2012 or Microsoft SQL Server 2008 R2 fails You see the following error message when you try to install a new instance of SQL Server 2012 or SQL Server 2008 R2: Rule "Setup account privileges" failed. The account that is running SQL Server Setup does not have one or all of the following rights: the right to back up files and directories, the right to manage auditing and the security log and the right to debug programs. To continue, use an account with both of these rights.
2.Images of the Error:
2. When we trying to discover the Error by clicking Failed (Linkbutton), We can see the below image which will appear.
3.Reason for the Error: This behavior is by design. In addition to adding the user account that is running the Setup as a local administrator, the Setup user account requires the following default user rights for the Setup to be completed successfully.
4.Exact Settings To Be changed: Local Policy Object Display Name User Right Backup files and directories SeBackupPrivilege Debug Programs SeDebugPrivilege Manage auditing and security log SeSecurityPrivilege 5. Resolution With Images
To add the rights to the local administrator account, follow these steps: 1. Log on to the computer as a user who has administrative credentials.
2. Click Start, click Run, type Control admintools, and then click OK. By Doing this we will get the below window.
3. Double-click Local Security Policy.
4. In the Local Security Settings dialog box, click Local Policies, double-click User Rights Assignment, and then double-click Backup Files and Directories.
5. In the Backup Files and Directories Properties dialog box, click Add User or Group.
6. In the Select User or Groups dialog box, type the user account that is being used for setup, and then click OK two times.
Repeat the procedure for the other two policies that are 2.Debug Programs 3.Manage auditing and security log
7. On the File menu, click Exit to close the Local Security Settings dialog box.
6.Resolution Without Images:
To add the rights to the local administrator account, follow these steps: 1. Log on to the computer as a user who has administrative credentials. 2. Click Start, click Run, type Control admintools, and then click OK. 3. Double-click Local Security Policy. 4. In the Local Security Settings dialog box, click Local Policies, double-click User Rights Assignment, and then double-click Backup Files and Directories. 5. In the Backup Files and Directories Properties dialog box, click Add User or Group. 6. In the Select User or Groups dialog box, type the user account that is being used for setup, and then click OK two times. 7. Repeat the procedure for the other two policies that are mentioned in the "Cause" section. 8. On the File menu, click Exit to close the Local Security Settings dialog box.