Permissions for Windows administrator to perform SQL Server setup
You're starting a SQL Server setup | you've faced permission related errors during SQL Server setup | you've also gone through the article however finding it difficult to proceed, then read below :-)
- Open Command prompt, on Windows 7 or above choose to "Run as Administrator"
- type:
cd %temp% - Type following command line exactly as it appears with the variables:
whoami /all > %username%_%computername%_Perms.txt - Open your <actual_username>_<actual_server_name_Perms.txt
- Under Group Names verify you see:
BUILTIN\Administrators - Now scroll to bottom and the PRIVILEGES INFORMATION sections
- Look for the following privileges, ignore the State column, this shows if currently being used. As long as the privilege is listed, it is granted, if you had to add the permission user must logout and log back in to take effect.
Privilege Name |
Description |
SeTcbPrivilege |
Act as part of the operating system – Should only ever be granted temporally while running setup, must be removed after installation to prevent security vulnerability. |
SeAssignPrimaryTokenPrivilege |
Replace a process level token – required for SQL Server 2005 failover clustered instances |
Tip: Disks on Failover Clusters can fail to appear if BUILTIN\Administrators removed from:
SeDebugPrivilege |
Debug programs |
With the privileges noted above any SQL Server setup should normally complete unless, local BUILTIN\Administrators has been limited (Hint: weird group policies!).
This is KKB from SQL Server world!