Home  >  Article  >  Database  >  安装SQLServer 2008过程中,出现Performance counter registry h

安装SQLServer 2008过程中,出现Performance counter registry h

WBOY
WBOYOriginal
2016-06-07 15:52:062038browse

【问题描述】 安装SQLServer 2008,在Setup Support Files这一步,如下项目安装失败: Rule Performance counter registry hive consistency failed. 查看其详细信息: The performance counter registry hive is corrupted. (性能计数器注册表项损坏) 后

【问题描述】

安装SQLServer 2008,在Setup Support Files这一步,如下项目安装失败:

Rule "Performance counter registry hive consistency" failed.

查看其详细信息:

The performance counter registry hive is corrupted. (性能计数器注册表项损坏)

 

后续安装无法继续。

 

【解决办法】

性能计数器注册表项损坏,可以手工到注册表中修改,但比较麻烦。可以通过如下命令直接修复:

1、进入cmd窗口

2、执行如下命令:lodctr /R:PerfStringBackup.ini

3、在SQLServer 2008的Setup Support Files界面中,Re-Run即可成功

 

【关于LODCTR命令】

LODCTR
    为可扩展的计数器更新性能监视器的计数器名称及说明文字

用法:
    LODCTR [\\computername] filename
        computername 为远程计算机名。
            如果未指定 computername,则使用本地机器。
        filename 是初始化文件的名称,该文件包含一个可扩展的
            计数器 DLL 的计数器名称定义和
            说明文字。

    LODCTR /S:
        将当前 perf 注册表字符串和信息存入

    LODCTR /R:
        用 还原 perf 注册表字符串和信息

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn