How do I fix a “Performance counter registry hive consistency” when installing SQL Server R2 Express?

前端 未结 11 1400
抹茶落季
抹茶落季 2021-01-30 16:47

I\'m trying to install SQL Server 2008 R2 Express from this site:

http://www.microsoft.com/express/database/

I have a 64-bit, Windows 7 machine.

I have t

相关标签:
11条回答
  • 2021-01-30 17:27

    Save the execution file on your desktop Make sure you note the name of your file Go to start and type cmd right click on it

    select run as administrator press enter

    then you something below

    C:\Users\your computer name\Desktop>

    If you are seeing

    C:\Windows\system32>

    make sure you change it using CD

    type the name of your file

    C:\Users\your computer name\Desktop>the name of the file your copy.exe/ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck

    0 讨论(0)
  • 2021-01-30 17:28

    You can skip the Performance counter check in the setup altogether:

    setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck
    
    0 讨论(0)
  • 2021-01-30 17:35

    open Command line and type lodctr /r The p. counter will be resotred\recreated.

    There is no need to skip it. http://technet.microsoft.com/en-us/library/cc774958.aspx

    0 讨论(0)
  • 2021-01-30 17:35

    Ignoring the check results in a corrupted install. This is the only solution that worked for me:

    1. Create a C# console app with the following code: Console.WriteLine(string.Format("{0,3}", CultureInfo.InstalledUICulture.Parent.LCID.ToString("X")).Replace(" ", "0"));

    2. Run the app and get the 3 digit code.

    3. Run > Regedit, open the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

    Now, if you don't have a folder underneath that path with the 3 digit code from step 2, create it. If you do have the folder, check that it has the "Counter" and "Help" values set under that path. It probably doesn't -- which is why the check fails.

    Create the missing Counter and Help keys (REG_MULTI_SZ). For the values, copy them from the existing path above (probably 009).

    The check should now pass.

    0 讨论(0)
  • 2021-01-30 17:36

    <sqlserverdir>\setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck

    Above worked for me... I did installed it, from my external, using command line interface.

    0 讨论(0)
提交回复
热议问题