使用管理员帐户在 Windows 7 计算机上安装 SSMS 时显示无法将值写入密钥 \SOFTWARE [英] Could not write value to key \SOFTWARE is displayed for SSMS Install in a Windows 7 machine with an Administrator account

查看:210
本文介绍了使用管理员帐户在 Windows 7 计算机上安装 SSMS 时显示无法将值写入密钥 \SOFTWARE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装 SQL Server 2014 时出现以下错误:

I have the following error when installing SQL Server 2014:

无法将值写入密钥 \SOFTWARE.验证您是否有足够的权限访问该密钥,或联系您的支持人员.当它尝试安装 SSMS 并且我的机器运行 Windows 7 时会发生这种情况.为了使它工作,我做了以下事情:

Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel. It happens when it tries to install the SSMS and my machine has Windows 7 running. I have done the following things in order to make it work:

• 以管理员身份运行设置

• Run the set up as an admin

• 重新安装机器

我在 Microsoft 链接 上找到了这个,但也不起作用

I found this on a Microsoft link and doesn’t work either

• 单击开始,单击运行,键入控制用户密码,然后单击确定.

• Click Start, click Run, type control userpasswords, and then click OK.

• 创建一个新的计算机管理员帐户.

• Create a new computer administrator account.

• 单击开始,单击运行,键入 regedit,然后单击确定.

• Click Start, click Run, type regedit, and then click OK.

• 在注册表编辑器中,右键单击 HKEY_CURRENT_USER\Software,然后单击权限.

• In Registry Editor, right-click HKEY_CURRENT_USER\Software, and then click Permissions.

• 单击添加",键入所有人",然后单击确定".

• Click Add, type Everyone, and then click OK.

• 在组或用户名下,单击每个人.

• Under Group or user names, click Everyone.

• 在权限"下,单击以选中允许"列中的完全控制",然后单击确定".

• Under Permissions, click to select Full Control in the Allow column, and then click OK.

• 找到以下子项:

  1. HKEY_LOCAL_MACHINE\软件
  2. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Setup

• 对于每个子项,请执行以下步骤:

• For each subkey, follow these steps:

  1. 单击子项.
  2. 删除右侧面板中的 InstanceComponentSet.# 字符串值.注意#是一个数字,这个key的值为{66563AD8-637B-407F-BCA7-0233A16891AB}.

• 取消注册,然后重新注册 Microsoft Windows Installer 服务.为此,请按以下步骤操作:

• Unregister and then reregister the Microsoft Windows Installer service. To do this, follow these steps:

  1. 单击开始,单击运行,键入 msiexec/unregister,然后单击确定.
  2. 单击开始,单击运行,键入 msiexec/regserver,然后单击确定.

谢谢

艾伦

推荐答案

我已经安装并运行了一个插件程序adwcleaner".它已经从我的系统中清除并删除了恶意软件病毒,然后我尝试重新安装 SQL Server 管理工具,并且安装没有任何错误.感谢上帝.

I have installed an addware program "adwcleaner" and run it. It has cleaned and remove the malware viruses from my system and then i try to reinstall SQL Server Management tool and it's installed without any error. Thank God.

这是adwcleaner"软件的网站.

Here is the website for the "adwcleaner" software.

http://www.bleepingcomputer.com/download/adwcleaner/

这篇关于使用管理员帐户在 Windows 7 计算机上安装 SSMS 时显示无法将值写入密钥 \SOFTWARE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆