win7 64位下装office报1402的错误的解决方法

查看log:

----配置 64 位注册表项...

       配置 users\.default。

警告 5: 拒绝访问。

      在 users\.default\software\microsoft\Windows\CurrentVersion\Run 上设置安全性的错误。

       配置 machine\software。

警告 1336: 访问控制列表(ACL)结构无效。

      在 machine\software\Macrovision 上设置安全性的错误。

 

都是注册表的权限问题。 在网上google到一篇文章,有解决方法,连接如下:

http://www.addictivetips.com/windows-tips/fix-office-2010-install-error-1402-setup-cannot-open-registry-key/

 

上面有两种解决方法。

 

方法一:执行如下命令:

C: >secedit /configure /cfg%windir%\inf\defltbase.inf /db defltbase.sdb /verbose

 

在执行该命令之前,最好把防火墙,杀毒软件停到。这种方法,我测试了一下,没有效果。

 

方法二: 使用subinacl工具赋权

 

从微软下载 SubInACL工具,下载地址:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23510

 

SubInACL is acommand-line tool that enables administrators to obtain security informationabout files, registry keys, and services, and transfer this information fromuser to user, from local or global group to group, and from domain to domain.

 

该软件默认的安装目录是:C:\Program Files (x86)\Windows ResourceKits\Tools

将该目录下的SUBINACL.EXE拷贝到 /Windows/System32 目录。

 

新建文件:grant.cmd,内容如下:

 

subinacl /subkeyreg HKEY_LOCAL_MACHINE/setowner=administrators

subinacl /subkeyreg HKEY_CURRENT_USER/setowner=administrators

subinacl /subkeyreg HKEY_CLASSES_ROOT/setowner=administrators

subinacl /subkeyreg HKEY_LOCAL_MACHINE/grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER/grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT/grant=administrators=f /grant=system=f

cls

Exit

 

在该文件上右击,用管理员执行。 但等待1个多小时。等操作完成,就可以顺利安装了。

原文地址:https://www.cnblogs.com/itelite/p/2425227.html