Published on

January 23, 2016

Fixing Installation Failure Error in SQL Server

During interviews, it is not uncommon for candidates to excel in theoretical questions but struggle when it comes to practical tasks. Recently, while assisting a large organization with their interview process, we encountered a server installation error. This presented an excellent opportunity to test a new candidate’s problem-solving skills. The task was to fix the installation failure error related to setup account privileges in SQL Server.

When investigating the error, we encountered the following message:

Rule Check Result:
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. For more information, see the provided links.

To gain a better understanding of the issue, we examined the setup logs. In the “SystemConfigurationCheck_Report.htm” file, we found the specific failure related to the “HasSecurityBackupAndDebugPrivilegesCheck” rule. The failure indicated that the running process had the SeSecurity and SeBackup privileges but lacked the SeDebug privilege.

Upon further investigation, we discovered that the “Debug programs” privilege did not have any assigned users. By default, the “Administrators” group is part of this privilege, but it had been removed during some hardening measures. To resolve the error, we added the default account back to the “Debug programs” privilege and restarted the computer.

To access the “Local Security Policy” in Windows, you can go to Start > Run > SecPol.msc or open it from the Administrative Tools.

By addressing the missing privilege and restarting the computer, we were able to proceed past the installation failure error and successfully complete the SQL Server setup.

Remember, when encountering installation errors in SQL Server, it is essential to examine the setup logs for detailed information about the issue. Understanding the specific rules and privileges involved can help identify and resolve the problem effectively.

Click to rate this post!
[Total: 0 Average: 0]

Let's work together

Send us a message or book free introductory meeting with us using button below.