SQL Server Installation failing saying 'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'

Hi,

I am trying to install SQL server 2012/SQL Server 2014 and I constantly keep getting this error and the Management Tools fails to install.

 'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'

Tried installing even SQL Server 2008 and still get the same error.

Below is the log i get from C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140705_151943\sql_ssms_Cpu64_1.log

MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(Name=SQLPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools,)
MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(,,)
MSI (s) (FC:D8) [15:22:55:746]: Note: 1: 1406 2:  3: SOFTWARE 4: 5 
MSI (s) (FC:D8) [15:22:59:434]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
MSI (s) (FC:D8) [15:23:03:435]: User policy value 'DisableRollback' is 0
MSI (s) (FC:D8) [15:23:03:435]: Machine policy value 'DisableRollback' is 0
Action ended 15:23:03: InstallFinalize. Return value 3.

Just not able to figure out what the problem is, can someone help?

Thanks

July 5th, 2014 10:14am


MSI (s) (FC:D8) [15:22:59:434]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

Hi,

This is a permission issue with account you logged in in your OS or account if any you chooses to run you SQL Server installation . Did you right click on setup file and selected run as administrator you should always do it even if you THINK you are ad administrator in Windows machine. Anyways Below Support article will tell you how to resolve such error

http://support.microsoft.com/kb/913559

Free Windows Admin Tool Kit Click here and download it now
July 5th, 2014 10:22am

Tried every way, running as administrator, setting registry permissions to Everyone but am still facing this problem. Its very frustrating and have now spent days on this, still cant figure out why this is happening. Tried installing 2008, 2012 and even 2014 and this error appears for all.

July 6th, 2014 4:54pm

Can you post Summary.txt file and details.txt file on skydrive for further analysis

Below link will help you locate it

http://msdn.microsoft.com/en-gb/library/ms143702%28v=sql.100%29.aspx

Is the account you are using to install SQL server added as Local administrator on windows machine. Is this server a workgroup or domain I guess its domain. Can you try adding domain admin as local windows administrator( on the machine)  and  try.

Make sure before trying you remove all failed installation from add remove program.

Free Windows Admin Tool Kit Click here and download it now
July 6th, 2014 5:26pm

I am having the exact same problem. Nothing seems to be working, have uninstalled/re-installed, updated the registry based on various post but none seem to work.

Any help would be vastly appreciated.

July 7th, 2014 11:43am

Still the same issue, have shared the summary and detail logs

https://onedrive.live.com/?cid=acc6d6991891d041&id=ACC6D6991891D041%21126&Bsrc=Share&Bpub=SDX.SkyDrive&authkey=!AsijJyFhwc0nZmI

https://onedrive.live.com/?cid=acc6d6991891d041&id=ACC6D6991891D041%21127&Bsrc=Share&Bpub=SDX.SkyDrive&authkey=!AsijJyFhwc0nZmI


Free Windows Admin Tool Kit Click here and download it now
July 9th, 2014 7:41am

Hi,

Thanks for providing log

Following is in the log.

-----------------------------------------------------------

01) 2014-07-09 11:08:53 Slp: Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
(01) 2014-07-09 11:08:58 Slp: Watson bucket for generic failure has been created
(01) 2014-07-09 11:08:58 Slp: Error: Action "Install_sql_ssms_Cpu64_Action" failed during execution.
(01) 2014-07-09 11:08:58 Slp: Completed Action: Install_sql_ssms_Cpu64_Action, returned False
(01) 2014-07-09 11:08:59 Slp: ----------------------------------------------------------------------
(01) 2014-07-09 11:08:59 Slp: Running Action: Install_sql_tools_Cpu64_Action
(01) 2014-07-09 11:08:59 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_tools.msi' does not exist

(01) 2014-07-09 11:07:00 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_ssms.msi' does not exist
(01) 2014-07-09 11:07:00 Slp: Checkpoint: PREINSTALL_SQL_SSMS_CPU64_ACTION
(01) 2014-07-09 11:07:00 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
(01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open SC Manager
(01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open service handle for service msiserver
(01) 2014-07-09 11:07:00 Slp: Invoking QueryServiceStatus Win32 API
(01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close service handle for service msiserver
(01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close SC Manager
(01) 2014-07-09 11:07:00 Slp: Target package: "D:\Softwares\SQL2012\DeveloperEdition\x64\setup\sql_ssms.msi"
(01) 2014-07-09 11:07:57 Slp: MSI Error: 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
(01) 2014-07-09 11:08:38 Slp: InstallPackage: MsiInstallProduct returned the result code 1603.
(01) 2014-07-09 11:08:38 Slp: Using MSI error code to detect the retry option: 1406
(01) 2014-07-09 11:08:38 Slp: No retry-able MSI return code detected.
(01) 2014-07-09 11:08:38 Slp: Watson Bucket 2
 Original Parameter Values

---------------------------------------------------------------------------

From above it seems client tools component is missing from Installation or may be problem with Windows installer but I guess this is not issue with windows installer . Can you re download SQL Server package and run again.

Edit: For further analysis can you also post log from below location on skydrive

C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140709_104804\sql_ssms_Cpu64

July 9th, 2014 7:26pm

Hi,

Installing from original DVD. While installing Client tool getting the above mentioned error. Please guide us what exactly we need to do for this.  

Thanks 

Free Windows Admin Tool Kit Click here and download it now
November 15th, 2014 4:30am

Can try this setup on different machine for testing purpose ?


April 5th, 2015 1:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics