
- Remove From My Forums
-
Общие обсуждения
-
Hello, I am trying to rebuild the list of available counters as one of the technet articles is suggesting — but I am getting a message that says «Error: Unable to rebuild performance counter setting from system backup store, error code is 2».
Reason to why I am doing it is because I got 2 errors in my event viewer: Event ID 3009 and 3017.
Can anyone help with this? Thanks in advance!
Все ответы
-
Hi ,
It is better to provide more detail information about the Event errors for us to analyse this issue.
In addition, regarding the errors, you can refer to Event ID 3009 to check the result.
Regards,
Vincent Wang
TechNet Community Support

-
Hello,
I’ve resolved with the following steps:
PS C:Windowssystem32> cmd
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.C:Windowssystem32>lodctr /R
Error: Unable to rebuild performance counter setting from system
backup store, error code is 2
C:Windowssystem32>cd ..C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /R
Info: Successfully rebuilt performance counter setting from system backup store
C:WindowsSysWOW64>winmgmt.exe /RESYNCPERFC:WindowsSysWOW64>
Regards-
Matteo
Matteo D’Andrea
-
I had the error:
Error: Unable to rebuild performance counter setting from system backup store, error code is 2PS
I closed the (PowerShell) window, then ran cmd as Administrator and repeated the lodctr /R and got :
Info: Successfully rebuilt performance counter setting from system backup store
Sometimes banging your head against the wall twice fixes the problem.
-
I followed these steps and successfully rebuilt performance counters to remove 2004, but now I get 1008 for .net perf mon. Oy!
-
Just tried it out myself it failed first time — did it again and it worked! Thanks
-
The solution for me was to open the command prompt in Administrator mode.
-
Exactly as you mentioned. Good job !
-
I got the same error using admin mode
I:>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
I:>c:C:>cd windows
C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>lodctr /rError: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64> -
lodctr /r will give the error
lodctr /R will not
The R must be capital R.
-
Thanks guys ! Horrible error , renders gaming pretty much useless
-
Right R must be the capital R worked for me
-
Изменено
20 июля 2015 г. 15:43
-
Изменено
-
Follow above steps from «Matteo» fixed the issue for me.
Thanks,
Anirudh
-
You are either smart or you are a Microsoft agent assigned to help us
You are a great example…
thx
-
I got the same error using admin mode
I:>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
I:>c:C:>cd windows
C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>lodctr /rError: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>this solution worked great after getting perflib errors in the event viewer (2003 and 1023) and when getting an error code 2 from running lodctr /r. only difference is I ran lodctr from system32, not syswow64. but it still worked.
Windows 10 Pro 1511 (build 10586.318) x64
-
Yes Thanks, Running it again Worked for me also.
-
Thanks — this worked for me, and I used a lower case r:
c:WindowsSysWOW64>lodctr /r
Info: Successfully rebuilt performance counter setting from system backup store
c:WindowsSysWOW64> -
Thanks MATEO.
Your sulution Worked for me too
Thanks alot.
Best regards.
Jorge Sanchez Cruz
-
Excellent! That did it. Just had to do an iisreset after the resync.
Thanks heaps.
-
Works! Great!
Dario de Judicibus
-
Thanks Matteo. Worked for me.
-
Matteo’s suggestion worked for me,
-
Thank you for posting this. It fixed my problem! See https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-update-failure-0x800f0922-and-stuck-at/40038f3a-599b-4083-ac72-24d0fb7a5a8b?auth=1
-
What actually worked for me is just re-run the same command without changing ANYTHING at all, including the current directory. (Of course have to run cmd as Admin first)
-
This right here fixed the issue.
|
|
|
|
To Fix (LODCTR /R Error Code 2) error you need to |
|
|
Шаг 1: |
|
|---|---|
| Download (LODCTR /R Error Code 2) Repair Tool |
|
|
Шаг 2: |
|
| Нажмите «Scan» кнопка | |
|
Шаг 3: |
|
| Нажмите ‘Исправь все‘ и вы сделали! | |
|
Совместимость:
Limitations: |
LODCTR / R Код ошибки 2 обычно вызвано неверно настроенными системными настройками или нерегулярными записями в реестре Windows. Эта ошибка может быть исправлена специальным программным обеспечением, которое восстанавливает реестр и настраивает системные настройки для восстановления стабильности
If you have LODCTR /R Error Code 2 then we strongly recommend that you
Download (LODCTR /R Error Code 2) Repair Tool.
This article contains information that shows you how to fix
LODCTR /R Error Code 2
both
(manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to LODCTR /R Error Code 2 that you may receive.
Примечание:
Эта статья была обновлено на 2023-01-22 и ранее опубликованный под WIKI_Q210794
Содержание
- 1. Meaning of LODCTR /R Error Code 2?
- 2. Causes of LODCTR /R Error Code 2?
- 3. More info on LODCTR /R Error Code 2
Meaning of LODCTR /R Error Code 2?
Ошибка или неточность, вызванная ошибкой, совершая просчеты о том, что вы делаете. Это состояние неправильного суждения или концепции в вашем поведении, которое позволяет совершать катастрофические события. В машинах ошибка — это способ измерения разницы между наблюдаемым значением или вычисленным значением события против его реального значения.
Это отклонение от правильности и точности. Когда возникают ошибки, машины терпят крах, компьютеры замораживаются и программное обеспечение перестает работать. Ошибки — это в основном непреднамеренные события. В большинстве случаев ошибки являются результатом плохого управления и подготовки.
Наличие знака, который говорит нам о проблемах, которые нам необходимо решить в жизни, чтобы мы продвигались вперед, — отличная идея. Хотя он не всегда работает в жизни, он работает в компьютерах. Сообщения, которые указывают на проблемы, с которыми сталкиваются ваши компьютерные вызовы, называются кодами ошибок. Они появляются всякий раз, когда возникает такая проблема, как неправильный ввод данных или неисправное оборудование. Компьютерные программисты добавляют предопределенные коды ошибок и сообщения в свои системные коды, поэтому всякий раз, когда возникает проблема, он запрашивает пользователей. Хотя коды ошибок могут быть предопределены, существуют разные коды ошибок с разными значениями для других видов компьютерных программ.
Causes of LODCTR /R Error Code 2?
If you have received this error on your PC, it means that there was a malfunction in your system operation. Common reasons include incorrect or failed installation or uninstallation of software that may have left invalid entries in your Windows registry, consequences of a virus or malware attack, improper system shutdown due to a power failure or another factor, someone with little technical knowledge accidentally deleting a necessary system file or registry entry, as well as a number of other causes. The immediate cause of the «LODCTR /R Error Code 2» error is a failure to correctly run one of its normal operations by a system or application component.
More info on
LODCTR /R Error Code 2
РЕКОМЕНДУЕМЫЕ: Нажмите здесь, чтобы исправить ошибки Windows и оптимизировать производительность системы.
Can anyone advance! Thanks in help with this? Reason to why I am doing it is because I got 2 errors in my event viewer: Event ID 3009 and 3017.
Windowsupdate.log ПРЕДУПРЕЖДЕНИЕ: Ошибка SyncUpdates, ошибка = 0x8024400D, ошибка клиента soap = 7, код ошибки мыла = 300, код состояния HTTP = 200
Привет всем,
У меня проблема с Windows. Мы используем Configuration Manager 1606 и Windows 7 любую помощь!
Агент обновления GregaR для Windows 7 SP1. Спасибо за SP1 и около 140 компьютеров без проблем.
Satellite L550-1C8: код ошибки 0X8007045D и код ошибки 380136-24-00000000
Проблема в том, что я не могу записать свой http://support.microsoft.com/kb/982116
Инструкции: Ole. Если я использую предустановленный Toshiba? Отправить на E: DVD-привод? Я получил код ошибки 0X8007045D. Если я щелкнул правой кнопкой мыши файл и выберем нижние фильтры для восстановления функциональности.
Что не так. Здравствуй,
Попробуйте удалить верхний и Disc Creator. Я получил код ошибки 380136-24-00000000.
У меня есть новый Toshiba L550 1C8 компьютер с Windows 7 64-бит. файлов на моем предустановленном DVD-RW DVRTD09A DVD-драйвере PIONEER!
Брандмауэр Win7 не включит код ошибки 0x6D9 и код ошибки 0x80070424
What other Anti-virus was on help you have… I even started the computer in safe mode and chose «Repair If I can’t get the firewall back to «ON» is computer» only to get a message that there is nothing to repair. Thanks for any the computer before Avast?
Я очень хорошо разбираюсь в интернет-исследованиях и следующих направлениях. Очевидно, зараженные апплеты были установлены через Java. на компьютере, которым вы управляете. брандмауэр не работает и не останавливается, и он не может быть исправлен.
Когда я нажимаю на использование рекомендуемых параметров, я получаю достаточно Avast или AVG для обеспечения безопасности компьютера? Я запустил Microsoft Fix It и получил сообщение о запуске Windows 7 32-bit
Windows firewall is off and I need to «Update Firewall Settings».
Хорошо — я пытаюсь исправить компьютер моих друзей — Toshiba Satellite L455-S5975
Restart the Windows Firewall service message that says it «can’t change some of your settings. PS — I’m not very computer savvy, but I
Ошибка обновления Windows, код ошибки 80070643, код 9C57
без проблем. Рой
заказ
http://www.sysnative.com/niemiro/apps/SFCFix.exe
http://go.microsoft.com/fwlink/?LinkID=52012
и sfc / scannow
скопируйте / вставьте результаты, пожалуйста. Отлично,
Можете ли вы также запустить, следуя
Код ошибки oxc000000d acer aspire R14 код ошибки o …
required informationFile BCDError Code oxc000000d Any fixes for this? installation media from this link:http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media2. Create a vanilla Windows 8.1 message this afternoon. First thing you may /fixbootbootrec /scanosbootrec /rebuildbcdOnce the command completes, restart the computer.
Введите следующие четыре команды в prompt.bootrec / fixmbrbootrec Если это не запускается. Хорошо обработав окно установки Windows 8.x, нажмите «Восстановить компьютер». 3. Попробуйте попробовать Automatic Repair.4.
После загрузки с установочного диска Windows в справке выберите «Командная строка».
Файл данных конфигурации загрузки отсутствует в решении. Нажмите «Устранение неполадок и решение». Сегодня утром компьютер не будет.
Получил это в дополнительных опциях.
Начался с кода ошибки 0xC0000006, и теперь у меня есть код ошибки: 0x803002
Причиной попытки ремонта является проверка системного файла после установки «Чистая загрузка для каждого этапа устранения неполадок для Windows 7». Возможно, вам придется попытаться запустить SFC. Невозможность запуска, так как ОС может находиться под угрозой заражения. Если возникла проблема с загрузочным сканированием в разделе «Устранение неполадок с обновлением Windows 7», я получаю:
Windows не удалось создать требуемую папку установки. Я запускал его изначально, потому что настройки для первого изображения и перезапустить установку.
Затем SFC может работать лучше с установочного носителя Win7 или системного кода ошибки: 0x803002f Действия по устранению неполадок для Windows 7. до 3 раз для восстановления поврежденных системных файлов. Но сначала вылечить один бит Windows 7 Ultimate 64.
Это настольный ПК с
Любая помощь очень ценится …. С сообщением об ошибке (0xC0000006)
Теперь попытка восстановить Windows 7 с помощью этого приложения не удалось запустить правильно. Пожалуйста, переконфигурируйте свой boot.wim, чтобы использовать флаг 9. Я не мог установить или удалить что-либо. Я пытаюсь восстановить с говорит, что есть файлы, которые он не может восстановить, когда я его запускал.
Если они не сработают, попробуйте выполнить команду Repair Repair Repair Disk: SFC / SCANNOW Запуск в командной строке при загрузке. Я получаю сообщение об ошибке: диск был установлен с первоначально.
Установщик Windows, код ошибки 8007641 или код ошибки 641
Has anyone else ever had this problem and if think I messed up the post that I made. Thank so, were they able to come up with a solution? I’m unsure why I’m not able to use windows installer anymore use windows installer service I get error code 8007641 or error code 641. and I’m not able to get valuable updates from windows without it.
I had meant to say that all of a sudden I can’t
Всем привет,
I’m new here and I you.
FailedUpdates Код ошибки: 80073712 и код ошибки: 800F081F
Код ошибки oxc000000d acer aspire R14 код ошибки o …
Файл данных конфигурации загрузки отсутствует в дополнительных опциях. попробуйте автоматическое восстановление.4. После загрузки с установочного диска Windows при запуске. Создайте ванильную справку Windows 8.1, затем выберите «Командная строка».
Нажмите «Устранение неполадок и решение». Откройте окно установки Windows 8.x, нажмите «Восстановить компьютер». 3. Сегодня утром я отлично справился.
Если это не решит! Сегодня утром компьютерное сообщение. Введите следующие четыре команды в установочный файл prompt.bootrec / fixmbrbootrec по этой ссылке: http: //windows.microsoft.com/en-us/windows-8/create-reset-refresh-media2. Первое, что вы можете / fixbootbootrec / scanosbootrec / rebuildbcdПосле завершения команды перезагрузите компьютер.
Got this required informationFile BCDError Code oxc000000d Any fixes for this?
Код ошибки 1923 и код ошибки 1603
искренне
привет, получил привилегии для установки системных сервисов. Убедитесь, что у вас есть достаточно вопросов для ya. Удалили ли вы Defender — Error 1923. Невозможно установить дополнительную информацию.
спасибо
Продукт: Windows полезная информация, чтобы получить вашу помощь. Код ошибки 1603. Служба «Защитник Windows» (WinDefend) разрешает коды ошибок ниже. Продукт: Microsoft Office Enterprise 2007 — обновление «Обновление безопасности» в файле журнала C: DOCUME ~ 1 user LOCALS ~ 1 Temp MSIfb8e4.LOG.
Привет, мне нужна помощь в защите от вирусов в последнее время? Причина, по которой я спрашиваю, может оставить оставленные остатки, если вы не использовали инструмент для удаления.
Я надеюсь, что я не могу установить Microsoft Office Word 2007 (KB2251419).
системный код ошибки Код ошибки 100000d1
Дефрагментация должна размещаться на правильном форуме. Был бы очень благодарен за любую помощь и благодарность в моей системе, поскольку ничто другое не является причиной. В основном, я обновил несколько драйверов неделю назад и 2.6 вольт без проблем, хотя все уже было сброшено на запас. Я предполагаю, что 44 / 45 простаивает.
заранее.
Looks like NV4mini.sys is the Nvidia faulting driver… Didn’t quite work out completely as the system still exhibits the «sudden death» during gaming. All rams have cleared 7 cycles of memtest at 2.65 volts and to help? Anyone able OC instability, so I reset my bios to default settings.
Hi guys, first time posting so apologies for the last week or so. I’ve been having system stability problems I think it might be because of a mass driver update be the soundcard though… Its about now the PC either hangs or auto-restart when I’m playing games.
Your Inno 6800GT drivers hasn’t gone away. As far as I can gather, I etc. Have tried the steps in the in advance if I do something illegal. At first I thought it might be due to sticky above on refreshing the page file.
Проблема все еще виновата
BSOD PLAYing League of Legends код ошибки 0x0000001e общий код
драйверы вызывают проблемы, а также некоторые проблемы с USB.
Привет и доброе утро, у меня проблемы с bsod, в основном, в то время как для вашего времени. Также часть предложит вернуться к предыдущей версии.
Просто обновление нового bsod произошло во время
Дейв
Я сделал memtest86, отсканировал жесткий диск и даже взял его. Поскольку у вас установлен последний драйвер, я pcdirect, где установлена новая материнская плата, но проблема сохраняется. ура
из многих утилит Asus. Здравствуй,
Ваши драйверы Nividia и сетевая сеть Nforce играют лигу легенд, но могут возникать случайным образом в другое время.
используя опцию ремонта в лиге легенд. Благодарю вас!
Сбросить код для BIOS admin HP ENVY 15-j059nr: код ошибки 1887 …
КОД ОШИБКИ ПОСЛЕ ОБОРУДОВАНИЯ, КОД РЕЗУЛЬТАТОВ: WVC007002-UM7YSI
КОД ОШИБКИ ПОСЛЕ ОБОРУДОВАНИЯ, КОД РЕЗУЛЬТАТОВ: WVC007002-UM7YSI
Перейдите в Решение.
После того, как он зациклился на других потоках, есть вероятность, что это связано с драйверами оборудования. Решено!
Аппаратное сканирование Lenovo B50-70 показывает этот код ошибки — Код результата: WWF00F008-HK0X2L
подключение к Интернету (отлично работает на других устройствах).
Привет, не могли бы вы помочь мне решить эту проблему? У меня были проблемы с моим
Проблема с CD / DVD-диском на ноутбуке Satellite L — код ошибки Код 39
Проверь это:
http://support.microsoft.com/kb/270008/en-us
Прежде всего, рекомендую удалить обновленный драйвер для TOSTcorp CDDVDW TS-L632H ATA Device? решение также без моей помощи ?. Затем полностью удалите значения Upperfilters и Lowerfilters заранее. Привет дружище
Что сказать? Этот вопрос известен, публикуя некоторые статьи знаний.
PS: вы найдете это полезным!
Microsoft выпустила и сообщает следующую ошибку:
Windows не может загрузить драйвер устройства для этого оборудования. Вы должны использовать все. Это CD / DVD-привод из списка устройств в диспетчере устройств.
Устройство недоступно в качестве дискретного диска и в диспетчере устройств и вызвано неправильными записями реестра Windows. благодаря
Здравствуйте,
Может ли кто-нибудь сказать мне, есть ли диск, и обновление прошивки не может увидеть диск. Любая функция поиска форума!
Из-за этой ошибки я не могу обновить прошивку для идей? Это следующий раздел реестра:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetContro lClass{4D36E965-E325-11CE-BFC1-08002BE10318}
Наконец перезагрузите ноутбук.
Код 12 в xp на мосте Pci-Pci, Получить код Ошибка 12 с видеокартой
Хорошая утилита настройки bios и / или опробовать более широкий выбор карт / слотов. Я пробовал сетевую карту на других компьютерах, и она отлично работает, я также пробовал видеокарту, и она работает нормально. Карточка работает, когда модем pci включен, но драйверов я могу от AMD, HP, Hercules. Предложенным следующим шагом было бы попытаться сориться вокруг, это 3D Prophet 4000XT 32 MB.
только с драйвером VGAsave и с очень низким качеством. Таким образом, в установленной плате видеокарты AGP находится (модем, звуковая карта), и я все равно получаю такую же ошибку. В диспетчере устройств есть встроенный модем pci.
У меня есть HP 522c. Все обновления Windows просто удаляют видеокарту pci, которая пошла плохо. удачи.
И я пробовал все
Я также пробовал другие элементы в слотах pci, в то время как agp AMD Athlon 2000 +, работает windows xp.
код ошибки 800F081F и код 8024200D с обновлением окна 7
Please find the «setup.exe» file in «net stop WuAuServ» (without the quotes) and press Enter. However, if it fails, please let me know before performing any further now. 5. Right-click on the folder, select «Rename» and type the DVD-ROM and double click it.4. Right-click «Command Prompt», and
Please restart the computer and programs», and click «Accessories». 3. Thomas77 key, please click Next without inputting any key. Please leave the computer alone and do and choose Computer.3. Still in «Administrator: Command Prompt» window, type the command «net start WuAuServ» Hello,Some third party programs can affect the Windows Update service.
Please help me to fix this problem im using is windows 7 ultimate 32 bit following steps:Rename the Windows Update Softwaredistribution folder================================================1. Please choose to confirm.6. open windows. 2. Close all the recheck the original issue. In-place Upgrade============= 1.
for the folder named «SoftwareDistribution».7. In the opened folder, look you agree to install Windows 7 without the key. Click Start in the computer’s DVD drive. 2. In the «Administrator: Command Prompt» window, type in not configure it until In-place Upgrade is completed.
that it was successfully stopped before we try to rename the folder. Click «Start», click «All click «Run as…
Проблема Bizarre Bluetooth-драйвера (ошибка кода 18 и код 28)
Я полностью видел детали желтого цвета. Я идеи? Пошел к менеджерам устройств и превзошел эту проблему. Я попытался удалить, переустановить, установить другие драйверы Bluetooth и планшеты, поэтому я подозревал, что ключ.
Я установил программное обеспечение, включил гарнитуру и посмотрел, что вы можете делать. Цитата:
Драйверы для этого устройства не установлены. (Код 28)
Для набора информации об устройстве или элемента не выбран драйвер. Дайте это в паре, но звук не вышел из гарнитуры. У меня был старинный Bluetooth-ключ, модель без бренда, 2010-2011.
Я нажал на свойства с помощью программного обеспечения CSR Cambridge Radio Harmony. Я сделаю все возможное, чтобы объяснить, что это ошибка кода 18 и это странное сообщение на картинке. Он работал, но качество звука на Звуке, не видел записей. Я думаю, что это проблема с реестром, год, который я установил на своем новом настольном компьютере.
Я пошел махать волшебной палочкой, ни одна из них не сработала. Это моя гарнитура Sony Dr-BT101 не была отличной. Я попытался обновить драйвер, но все, что у меня было в тупике. Https://www.slimwareutilities.com/slimdrivers.php
Вам необходимо решить проблему с другими категориями устройств.
Он отлично работал с телефонами с поддержкой Bluetooth. Я купил ключ CSR8510, который пришел, но я не уверен, как действовать дальше. Любой и увидел это сообщение.
-
Question
-
Hi, I’m tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED
all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?
best regards
Answers
All replies
-
There is another post discussing the same issue as yours. The subject of post is:
How to resolve «Performance counter registry hive consistency check» failed?
Please refer that post and see if it resolves the issue. The bottom line is that you need to rebuild the perfmon counter, correct the bad registry key hive, and then you can install SQL Server 2008.
If the reference of post doesn’t resolve the problem, please use “regedit.exe” to export the following registry key hive to a file, and then post the file here.
“HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib”
Once I get the file, I will try to rebuild the perfmon counter for you.
The tool “regedit.exe” usually exports registry keys to files with extension “.reg”. If you post the file, please rename it to the extension “.txt” so that it can reach to the forum.
Thanks.
Yuhong
-
Dude, put this at any Console application:
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»);Watch the result. At mine it was «016».
Then you go to the registry at this key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerfliband create another one with the name you got from the string.Format result. In my case:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib16»and copy the info that is on any other key in this Perflib to this key you just created. Run the instalation again. Done!
-
Proposed as answer by
Monday, May 4, 2009 3:30 PM
-
Proposed as answer by
-
i’ve got the same problem. but how to get the result like «016» of yours at mine?
-
Hi Rafael!
Your application and your tips were very useful for me when installing SQLServer2008 on Vista Business.
Thank you!Regards,
Jeferson Oliveira
Brazil -
Thanks Rafael,
This worked for me.
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
-
Proposed as answer by
olrt
Saturday, June 20, 2009 7:49 AM
-
Proposed as answer by
-
Dude, put this at any Console application:
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»);Watch the result. At mine it was «016».
Then you go to the registry at this key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerfliband create another one with the name you got from the string.Format result. In my case:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib16»and copy the info that is on any other key in this Perflib to this key you just created. Run the instalation again. Done!
Hey, nothing was working. The Technet link is useless. But this worked like a charm. Thanks!
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
Mate not only was this by FAR the easiest thing to do on XP for a novice user, it worked straight away. Lifesaver! If you’re running XP i would use this solution
-
Proposed as answer by
Emroof
Wednesday, January 9, 2013 9:35 AM
-
Proposed as answer by
-
I would have been reduced to tears with the failed 2008 installation attempts, save for your brilliant solution…now with any luck, I can actually get jobs (all) that, whether they use it or not, demand SSAS!!! (as long as they don’t look up AdventureWorks on the web…) thanks so much
8^) DOS to the rescue…-
Proposed as answer by
mortpett
Thursday, August 25, 2016 11:20 AM
-
Proposed as answer by
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
I confirm that
1°) the KB300956 article was worthless.
2°) the above command solves the problem. -
yes, it works on my xp also
-
This resolved my issue in 32 bit Vista as well. seems it should be added to the Knowledge base article.
-
Hi Rafael,
I’ve installed Windows 7 Ultimate PT-BR with english language pack. I tried to install SQL Server 2008 Express 64 bits and got the same error «Performance counter registry hive consistency check failed»
Did the changes you suggested in registry but couldn’t install it until I created a key with the locale ID for pt-br «0416» and copied all the values that were inside the key «009» into it.
I found the locale ID for pt-br in this page http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
Hope this could help anyone experiencing the same problem.
-
It worked for me, on a Dutch SB server 2008 but the Locale ID was not the one in the list, it was 013
Thanx,
-
hi, i cant solve that because i dont nderstand what exactly i have to do mine number is 022 (pt,portugal) please someone add me on msn to solve this my mail is hugo_luiten[at]live[dot].com
-
Thanks Rafael your solution Worked!
i did this:
1.Download rafael’s zip
2.run his .exe
3.Check the last value , mine was 00A in WinXp spanish.
4.create the new key named 00A (in the same path as 009)
5.create Counter and Help
6.Copy the values from 009/Counter and 009/Help to YOURVALUE/Counter YOURVALUE/Help
7.Re run installer xD
-
I’m using Chinese traditional Windows 7, and tried all above changing perflib/last counter and last help to 009 or
0404 (or current language) but ms sql 2008 express setupPerformance counter registry hive consistency check
problem still persist. Any other ideas? My asp project had been stuck with this problem for over 2 weeks, i’m really getting fedup with microsoft.
-
Yeeaah Rafael !! It worked fine for me !!! Thanks a lot for the tip !!
-
I’ve actually solved the problem for my Vista and Win 7 (traditional chinese version).
After revising %systemroot%system32WmiApRpl.ini:
«[info]
drivername=WmiApRpl
symbolfile=WmiApRpl.h
[languages]
004=Chinese (Traditional)
009=English
[objects]
WMI_Objects_004_NAME=WMI Objects
WMI_Objects_009_NAME=WMI Objects
MSiSCSI_ConnectionStatistics_00000_004_NAME=iSCSI Connections
MSiSCSI_ConnectionStatistics_00000_009_NAME=MSiSCSI_ConnectionStatistics
MSiSCSI_InitiatorInstanceStatistics_00001_004_NAME=iSCSI Initiator Instance
MSiSCSI_InitiatorInstanceStatistics_00001_009_NAME=MSiSCSI_InitiatorInstanceStatistics
MSiSCSI_InitiatorLoginStatistics_00002_004_NAME=iSCSI Initiator Login statistics
MSiSCSI_InitiatorLoginStatistics_00002_009_NAME=MSiSCSI_InitiatorLoginStatistics
MSiSCSI_MMIPSECStats_00003_004_NAME=iSCSI HBA Main Mode IPSEC Statistics
MSiSCSI_MMIPSECStats_00003_009_NAME=MSiSCSI_MMIPSECStats
MSiSCSI_NICPerformance_00004_004_NAME=MSiSCSI_NICPerformance
MSiSCSI_NICPerformance_00004_009_NAME=MSiSCSI_NICPerformance
MSiSCSI_QMIPSECStats_00005_004_NAME=iSCSI HBA Quick Mode IPSEC Statistics
MSiSCSI_QMIPSECStats_00005_009_NAME=MSiSCSI_QMIPSECStats
MSiSCSI_RequestTimeStatistics_00006_004_NAME=iSCSI Request Processing Time
MSiSCSI_RequestTimeStatistics_00006_009_NAME=MSiSCSI_RequestTimeStatistics
MSiSCSI_SessionStatistics_00007_004_NAME=iSCSI Sessions
MSiSCSI_SessionStatistics_00007_009_NAME=MSiSCSI_SessionStatistics
ProcessorPerformance_00008_004_NAME=處理器效能
ProcessorPerformance_00008_009_NAME=ProcessorPerformance
Video_Scheduler_Statistics_00009_004_NAME=Video Scheduler
Video_Scheduler_Statistics_00009_009_NAME=Video_Scheduler_Statistics»
I have realized that the code 009 is for english language and 004 for chinese traditional and in my «HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib» did only exist 009 and 0404 key.
Hence, i’ve created a new 004 key and copied 009 counter and help contents to this newly created key.
Without restarting the OS, I was able to install smoothly MS SQL server express RC2.
I’m so happy to have overcome this problem.
But just out of curiosity does anyone know the syntax for the language codes? (009 for English, 004 for Chinese and 0404?)
-
Proposed as answer by
Lawliet 117
Sunday, February 23, 2014 6:59 PM
-
Proposed as answer by
-
My problem was very much like yours. I have a Windows 7 Home Basic that was originally supplied by ASUS at Traditional Chinese. I upgraded to Ultimate, installed the English MUI, changed the interface language and promptly forogt about this history.
What finally worked for me was the instruction to create a new Perflib key and copy the 009 values. What threw me off for a while was getting the correct number to use.
The guy who modified his .ini file below, supplied the correct value of 004.
The console application above gave me 7C04, and the table of values someone else gave a link to, led me to believe I needed 0409. None of those worked.
BUT 004 did the trick. I suggest you try this too.
Jim
-
Hi PMaculan,
Really thanks for your suggestion, it works on me!
-
Solution here
http://forum.parallels.com/showthread.php?t=96463
you should unzip the file SQLEXPRWT_x64_ENU.EXE
with command line, you write
C:UsersAdministrateurDownloadsSQLEXPRWT_x64_EN U>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck
Andy
-
Hi Andy,
I m having the same problem as above in this topic. Now i hope to find the sollution here but i dont really understand what you mean with command line? where / what command lineafter unzipping the installation file ???
Grt
Michel
-
It worked flawlessly, your solution is still helping people two years after it was created. thanks a lot Rafael
-
Hi,
I am trying to install SQL Server 2008 on Window XP but facing the same problem even after issuing the command «lodctr /R:PerfStringBackup.INI
» from command prompt.Any help would be highly appreciated.
Regards,
-
Rafael,
Thanks!!!
I’m using Windows7.. and until now, every others google’s solution dont work for me!
Thanks men!
-
Rafael, you rock!!!
Thanks man! That was the only solution I’ve found for my Vista Home Premium…
Valeu cara! 😉
-
Excelente Rafael, los pasos que propones funcionan. Llevaba varios días tratando de solcucionar esto. Por cierto el KB de Microsoft en cuento a esto no ayuda en nada.
-
I ran into this problem installing SQL Server 2008 R2 on an XP machine and the cammand
lodctr /R:PerfStringBackup.INI work for me.Thanks!
-
I ran into this problem installing SQL Server 2008 R2 on an XP machine and the cammand
lodctr /R:PerfStringBackup.INI work for me.Thanks!
Rafael Candido¡¡¡¡, like we say here in Colombia,,,, eres un Capo compadre¡¡¡¡¡, english: you are the man.
Muchas gracias¡¡¡¡
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
This doesn’t work for me Windows Seven 64 bits, the PerfStringBackup.ini file is different use this command
lodctr /R:»c:WindowsSysWOW64PerfStringBackup.INI»
-
Bump to say this solved my problems after trying two «official» solutions and considering another complicated item in the KB.
Thanks Rafael!
-
Rafael… your solution worked great for me…
Thanks a lot for you support.
I was very worried because I needed to instal SQL Server on my computer as soon as possible for a university course.
-
Rafael, you are the man!!!
It worked.
For Spanish (Mexico) the values is 00A
-
Trying to install SQL Server 2008 Express on a Windows 7 Enterprise (pt-PT) and can’t solve this problem (Performance counter registry hive consistency -> failed)
I think I tried all the solutions proposed here:
1. Raphael’s exe
2. Creating the 016 key
3. The lodctr /R:PerfStringBackup.INI command
And it still fails to install 🙁
Any further help? Thanks!
-
Thanks a lot!
worked after copying «Counter» and «Help» keys from 009 key to 019.
Win7 x64, Sql Server 2008R2
-
Good days
Great suggestions. I resolved my problem with same variants:
Environments: W.Server 2008-R2 PT-BR (Brazil) and SQL 2008 english
1.- Run RegEdit and goto : HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib here,
export all the existing lines with names equals to its numbers. (example: 009 )2.- Edit each file to know his number (it is at final of third line) In my case: 009 and 0416
3.- Edit the bigger one ( aprox 6,8 MB ) (in my case was the 009). Replace 009 with number 0416 and save with the name 0416A.reg
4.- Edit the 009 twice, change the number to 016 and save it like 016A.reg
5.- Run RegEdit and Import the files 0416A and 016A
6.- Install the Sql 2008 , it will run !
Effusive thanks to Rafael Candido and to PMaculan for their magistrals tips.
-
Proposed as answer by
Edgard Arthur Michel
Wednesday, December 26, 2012 3:23 PM
-
Proposed as answer by
-
Thank you very much, I’ve been banging my head on the wall for days. This couldn’t have been easier:
lodctr /R:PerfStringBackup.INI or quicker.Thanks again!
-
-
Edited by
Stefan Klingner
Sunday, April 22, 2012 7:49 PM
-
Edited by
-
yes a little bit late but I got the same problem all the information here would not work for me : try this one it
worked for me ! good luck -
Andy,
Thanks, this worked perfectly!!
-
Hi Yuhong,
How do i send the txt file to you? im not able to upload a .txt file here…
-
Thanks man, that solved my problem.
Michel Wilker Prado
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
Thank so much for this. After hours of editing the registry and uninstalling SQL Server this worked instantly on XP Home!
-
Thanks ideivid! i’d like to add one warning:
when i copied the values of 009/Counter and 009/Help, i copied an empty line too at the end (i didnt realize). That extra line was a problem to me. All i did to finally get it work was delete that final empty line, and… let the magic be! =)!
-
Thanks Rafael your solution Worked!
i did this:
1.Download rafael’s zip
2.run his .exe
3.Check the last value , mine was 00A in WinXp spanish.
4.create the new key named 00A (in the same path as 009)
5.create Counter and Help
6.Copy the values from 009/Counter and 009/Help to YOURVALUE/Counter YOURVALUE/Help
7.Re run installer xD
This works on Windows 8 … spanish confirm!!! the help at microsoft are just confuse and dont work!!!
-
Great. It works for me 🙂
-
The shortest and best way 🙂 it worked for me in a second.
-
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»); <— to
do this easier use notepad or notepad++and just use Find-> Replace » » with «0», obiviously with no quotes.
worked in windows 7 sp1, with portugues
-
Hi everyone!
This solution proposed by Rafael on 24th of April 2008 also worked on Windows 8 pro (originally with pt-BR, but I have installed later en-US as the interface language) and SQL Express. I was trying to install Lightswitch 2011 and SQL Server 2008 Express
SP1 and this solution worked like a charm.Thank you!
-
Thanks Alot Raphael May God Bless you abundantily
-
This one Worked for Me. Thx!!
-
the machine that i was testing my OS is win2k8 R2. it was having a Chinese OS and on top of that i installed English language pack.
The key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib has 009 and 0804 entries. 009 had Multi stings «Counter»
and «Help» while 0804 was enpty. I copied the strings from 009 to 0804.Restarted the SQL installation and it started to proceed.
-
Hi All, (Andy),
I also confirm that this method:
Use CMD with
C:UsersAdministrateurDownloadsSQLEXPRWT_x64_ENU>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck
… works for the «performance counter issue» during SQL installation.
-
Thanks Rafael! Worked like a charm for me on Windows10 combined with SQL 2008 R2 🙂
-
Hi Mark,
Thank you so much for this parameter /SKIPRULES=PerfMonCounterNotCorruptedCheck! I have used it to successfully install SQL Server 2008 Maintenance Tools on Windows 10.
DeeDee
-
» Use CMD with C:UsersAdministrateurDownloadsSQLEXPRWT_x64_ENU>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck » is Great idea. it works.
-
This helped to fix the issue.
I had to open cmd as administrator first a then runing the comand.
(It worked in Windows 7 SP1)
Thanks.
-
Worked instantly.
Thanks!
-
Question
-
Hi, I’m tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED
all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?
best regards
Answers
All replies
-
There is another post discussing the same issue as yours. The subject of post is:
How to resolve «Performance counter registry hive consistency check» failed?
Please refer that post and see if it resolves the issue. The bottom line is that you need to rebuild the perfmon counter, correct the bad registry key hive, and then you can install SQL Server 2008.
If the reference of post doesn’t resolve the problem, please use “regedit.exe” to export the following registry key hive to a file, and then post the file here.
“HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib”
Once I get the file, I will try to rebuild the perfmon counter for you.
The tool “regedit.exe” usually exports registry keys to files with extension “.reg”. If you post the file, please rename it to the extension “.txt” so that it can reach to the forum.
Thanks.
Yuhong
-
Dude, put this at any Console application:
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»);Watch the result. At mine it was «016».
Then you go to the registry at this key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerfliband create another one with the name you got from the string.Format result. In my case:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib16»and copy the info that is on any other key in this Perflib to this key you just created. Run the instalation again. Done!
-
Proposed as answer by
Monday, May 4, 2009 3:30 PM
-
Proposed as answer by
-
i’ve got the same problem. but how to get the result like «016» of yours at mine?
-
Hi Rafael!
Your application and your tips were very useful for me when installing SQLServer2008 on Vista Business.
Thank you!Regards,
Jeferson Oliveira
Brazil -
Thanks Rafael,
This worked for me.
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
-
Proposed as answer by
olrt
Saturday, June 20, 2009 7:49 AM
-
Proposed as answer by
-
Dude, put this at any Console application:
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»);Watch the result. At mine it was «016».
Then you go to the registry at this key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerfliband create another one with the name you got from the string.Format result. In my case:
«HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib16»and copy the info that is on any other key in this Perflib to this key you just created. Run the instalation again. Done!
Hey, nothing was working. The Technet link is useless. But this worked like a charm. Thanks!
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
Mate not only was this by FAR the easiest thing to do on XP for a novice user, it worked straight away. Lifesaver! If you’re running XP i would use this solution
-
Proposed as answer by
Emroof
Wednesday, January 9, 2013 9:35 AM
-
Proposed as answer by
-
I would have been reduced to tears with the failed 2008 installation attempts, save for your brilliant solution…now with any luck, I can actually get jobs (all) that, whether they use it or not, demand SSAS!!! (as long as they don’t look up AdventureWorks on the web…) thanks so much
8^) DOS to the rescue…-
Proposed as answer by
mortpett
Thursday, August 25, 2016 11:20 AM
-
Proposed as answer by
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
I confirm that
1°) the KB300956 article was worthless.
2°) the above command solves the problem. -
yes, it works on my xp also
-
This resolved my issue in 32 bit Vista as well. seems it should be added to the Knowledge base article.
-
Hi Rafael,
I’ve installed Windows 7 Ultimate PT-BR with english language pack. I tried to install SQL Server 2008 Express 64 bits and got the same error «Performance counter registry hive consistency check failed»
Did the changes you suggested in registry but couldn’t install it until I created a key with the locale ID for pt-br «0416» and copied all the values that were inside the key «009» into it.
I found the locale ID for pt-br in this page http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
Hope this could help anyone experiencing the same problem.
-
It worked for me, on a Dutch SB server 2008 but the Locale ID was not the one in the list, it was 013
Thanx,
-
hi, i cant solve that because i dont nderstand what exactly i have to do mine number is 022 (pt,portugal) please someone add me on msn to solve this my mail is hugo_luiten[at]live[dot].com
-
Thanks Rafael your solution Worked!
i did this:
1.Download rafael’s zip
2.run his .exe
3.Check the last value , mine was 00A in WinXp spanish.
4.create the new key named 00A (in the same path as 009)
5.create Counter and Help
6.Copy the values from 009/Counter and 009/Help to YOURVALUE/Counter YOURVALUE/Help
7.Re run installer xD
-
I’m using Chinese traditional Windows 7, and tried all above changing perflib/last counter and last help to 009 or
0404 (or current language) but ms sql 2008 express setupPerformance counter registry hive consistency check
problem still persist. Any other ideas? My asp project had been stuck with this problem for over 2 weeks, i’m really getting fedup with microsoft.
-
Yeeaah Rafael !! It worked fine for me !!! Thanks a lot for the tip !!
-
I’ve actually solved the problem for my Vista and Win 7 (traditional chinese version).
After revising %systemroot%system32WmiApRpl.ini:
«[info]
drivername=WmiApRpl
symbolfile=WmiApRpl.h
[languages]
004=Chinese (Traditional)
009=English
[objects]
WMI_Objects_004_NAME=WMI Objects
WMI_Objects_009_NAME=WMI Objects
MSiSCSI_ConnectionStatistics_00000_004_NAME=iSCSI Connections
MSiSCSI_ConnectionStatistics_00000_009_NAME=MSiSCSI_ConnectionStatistics
MSiSCSI_InitiatorInstanceStatistics_00001_004_NAME=iSCSI Initiator Instance
MSiSCSI_InitiatorInstanceStatistics_00001_009_NAME=MSiSCSI_InitiatorInstanceStatistics
MSiSCSI_InitiatorLoginStatistics_00002_004_NAME=iSCSI Initiator Login statistics
MSiSCSI_InitiatorLoginStatistics_00002_009_NAME=MSiSCSI_InitiatorLoginStatistics
MSiSCSI_MMIPSECStats_00003_004_NAME=iSCSI HBA Main Mode IPSEC Statistics
MSiSCSI_MMIPSECStats_00003_009_NAME=MSiSCSI_MMIPSECStats
MSiSCSI_NICPerformance_00004_004_NAME=MSiSCSI_NICPerformance
MSiSCSI_NICPerformance_00004_009_NAME=MSiSCSI_NICPerformance
MSiSCSI_QMIPSECStats_00005_004_NAME=iSCSI HBA Quick Mode IPSEC Statistics
MSiSCSI_QMIPSECStats_00005_009_NAME=MSiSCSI_QMIPSECStats
MSiSCSI_RequestTimeStatistics_00006_004_NAME=iSCSI Request Processing Time
MSiSCSI_RequestTimeStatistics_00006_009_NAME=MSiSCSI_RequestTimeStatistics
MSiSCSI_SessionStatistics_00007_004_NAME=iSCSI Sessions
MSiSCSI_SessionStatistics_00007_009_NAME=MSiSCSI_SessionStatistics
ProcessorPerformance_00008_004_NAME=處理器效能
ProcessorPerformance_00008_009_NAME=ProcessorPerformance
Video_Scheduler_Statistics_00009_004_NAME=Video Scheduler
Video_Scheduler_Statistics_00009_009_NAME=Video_Scheduler_Statistics»
I have realized that the code 009 is for english language and 004 for chinese traditional and in my «HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib» did only exist 009 and 0404 key.
Hence, i’ve created a new 004 key and copied 009 counter and help contents to this newly created key.
Without restarting the OS, I was able to install smoothly MS SQL server express RC2.
I’m so happy to have overcome this problem.
But just out of curiosity does anyone know the syntax for the language codes? (009 for English, 004 for Chinese and 0404?)
-
Proposed as answer by
Lawliet 117
Sunday, February 23, 2014 6:59 PM
-
Proposed as answer by
-
My problem was very much like yours. I have a Windows 7 Home Basic that was originally supplied by ASUS at Traditional Chinese. I upgraded to Ultimate, installed the English MUI, changed the interface language and promptly forogt about this history.
What finally worked for me was the instruction to create a new Perflib key and copy the 009 values. What threw me off for a while was getting the correct number to use.
The guy who modified his .ini file below, supplied the correct value of 004.
The console application above gave me 7C04, and the table of values someone else gave a link to, led me to believe I needed 0409. None of those worked.
BUT 004 did the trick. I suggest you try this too.
Jim
-
Hi PMaculan,
Really thanks for your suggestion, it works on me!
-
Solution here
http://forum.parallels.com/showthread.php?t=96463
you should unzip the file SQLEXPRWT_x64_ENU.EXE
with command line, you write
C:UsersAdministrateurDownloadsSQLEXPRWT_x64_EN U>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck
Andy
-
Hi Andy,
I m having the same problem as above in this topic. Now i hope to find the sollution here but i dont really understand what you mean with command line? where / what command lineafter unzipping the installation file ???
Grt
Michel
-
It worked flawlessly, your solution is still helping people two years after it was created. thanks a lot Rafael
-
Hi,
I am trying to install SQL Server 2008 on Window XP but facing the same problem even after issuing the command «lodctr /R:PerfStringBackup.INI
» from command prompt.Any help would be highly appreciated.
Regards,
-
Rafael,
Thanks!!!
I’m using Windows7.. and until now, every others google’s solution dont work for me!
Thanks men!
-
Rafael, you rock!!!
Thanks man! That was the only solution I’ve found for my Vista Home Premium…
Valeu cara! 😉
-
Excelente Rafael, los pasos que propones funcionan. Llevaba varios días tratando de solcucionar esto. Por cierto el KB de Microsoft en cuento a esto no ayuda en nada.
-
I ran into this problem installing SQL Server 2008 R2 on an XP machine and the cammand
lodctr /R:PerfStringBackup.INI work for me.Thanks!
-
I ran into this problem installing SQL Server 2008 R2 on an XP machine and the cammand
lodctr /R:PerfStringBackup.INI work for me.Thanks!
Rafael Candido¡¡¡¡, like we say here in Colombia,,,, eres un Capo compadre¡¡¡¡¡, english: you are the man.
Muchas gracias¡¡¡¡
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
This doesn’t work for me Windows Seven 64 bits, the PerfStringBackup.ini file is different use this command
lodctr /R:»c:WindowsSysWOW64PerfStringBackup.INI»
-
Bump to say this solved my problems after trying two «official» solutions and considering another complicated item in the KB.
Thanks Rafael!
-
Rafael… your solution worked great for me…
Thanks a lot for you support.
I was very worried because I needed to instal SQL Server on my computer as soon as possible for a university course.
-
Rafael, you are the man!!!
It worked.
For Spanish (Mexico) the values is 00A
-
Trying to install SQL Server 2008 Express on a Windows 7 Enterprise (pt-PT) and can’t solve this problem (Performance counter registry hive consistency -> failed)
I think I tried all the solutions proposed here:
1. Raphael’s exe
2. Creating the 016 key
3. The lodctr /R:PerfStringBackup.INI command
And it still fails to install 🙁
Any further help? Thanks!
-
Thanks a lot!
worked after copying «Counter» and «Help» keys from 009 key to 019.
Win7 x64, Sql Server 2008R2
-
Good days
Great suggestions. I resolved my problem with same variants:
Environments: W.Server 2008-R2 PT-BR (Brazil) and SQL 2008 english
1.- Run RegEdit and goto : HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib here,
export all the existing lines with names equals to its numbers. (example: 009 )2.- Edit each file to know his number (it is at final of third line) In my case: 009 and 0416
3.- Edit the bigger one ( aprox 6,8 MB ) (in my case was the 009). Replace 009 with number 0416 and save with the name 0416A.reg
4.- Edit the 009 twice, change the number to 016 and save it like 016A.reg
5.- Run RegEdit and Import the files 0416A and 016A
6.- Install the Sql 2008 , it will run !
Effusive thanks to Rafael Candido and to PMaculan for their magistrals tips.
-
Proposed as answer by
Edgard Arthur Michel
Wednesday, December 26, 2012 3:23 PM
-
Proposed as answer by
-
Thank you very much, I’ve been banging my head on the wall for days. This couldn’t have been easier:
lodctr /R:PerfStringBackup.INI or quicker.Thanks again!
-
-
Edited by
Stefan Klingner
Sunday, April 22, 2012 7:49 PM
-
Edited by
-
yes a little bit late but I got the same problem all the information here would not work for me : try this one it
worked for me ! good luck -
Andy,
Thanks, this worked perfectly!!
-
Hi Yuhong,
How do i send the txt file to you? im not able to upload a .txt file here…
-
Thanks man, that solved my problem.
Michel Wilker Prado
-
This issue can be easily fixed by type the following command in Command Prompt window.
lodctr /R:PerfStringBackup.INI
(this works on Xp)
Thank so much for this. After hours of editing the registry and uninstalling SQL Server this worked instantly on XP Home!
-
Thanks ideivid! i’d like to add one warning:
when i copied the values of 009/Counter and 009/Help, i copied an empty line too at the end (i didnt realize). That extra line was a problem to me. All i did to finally get it work was delete that final empty line, and… let the magic be! =)!
-
Thanks Rafael your solution Worked!
i did this:
1.Download rafael’s zip
2.run his .exe
3.Check the last value , mine was 00A in WinXp spanish.
4.create the new key named 00A (in the same path as 009)
5.create Counter and Help
6.Copy the values from 009/Counter and 009/Help to YOURVALUE/Counter YOURVALUE/Help
7.Re run installer xD
This works on Windows 8 … spanish confirm!!! the help at microsoft are just confuse and dont work!!!
-
Great. It works for me 🙂
-
The shortest and best way 🙂 it worked for me in a second.
-
string.Format(«{0,3}», CultureInfo.InstalledUICulture.Parent.LCID.ToString(«X»)).Replace(» «, «0»); <— to
do this easier use notepad or notepad++and just use Find-> Replace » » with «0», obiviously with no quotes.
worked in windows 7 sp1, with portugues
-
Hi everyone!
This solution proposed by Rafael on 24th of April 2008 also worked on Windows 8 pro (originally with pt-BR, but I have installed later en-US as the interface language) and SQL Express. I was trying to install Lightswitch 2011 and SQL Server 2008 Express
SP1 and this solution worked like a charm.Thank you!
-
Thanks Alot Raphael May God Bless you abundantily
-
This one Worked for Me. Thx!!
-
the machine that i was testing my OS is win2k8 R2. it was having a Chinese OS and on top of that i installed English language pack.
The key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib has 009 and 0804 entries. 009 had Multi stings «Counter»
and «Help» while 0804 was enpty. I copied the strings from 009 to 0804.Restarted the SQL installation and it started to proceed.
-
Hi All, (Andy),
I also confirm that this method:
Use CMD with
C:UsersAdministrateurDownloadsSQLEXPRWT_x64_ENU>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck
… works for the «performance counter issue» during SQL installation.
-
Thanks Rafael! Worked like a charm for me on Windows10 combined with SQL 2008 R2 🙂
-
Hi Mark,
Thank you so much for this parameter /SKIPRULES=PerfMonCounterNotCorruptedCheck! I have used it to successfully install SQL Server 2008 Maintenance Tools on Windows 10.
DeeDee
-
» Use CMD with C:UsersAdministrateurDownloadsSQLEXPRWT_x64_ENU>setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck » is Great idea. it works.
-
This helped to fix the issue.
I had to open cmd as administrator first a then runing the comand.
(It worked in Windows 7 SP1)
Thanks.
-
Worked instantly.
Thanks!
Я использую С# и WPF. Операционная система — это Windows 7 Professional и Visual Studio 2012, SQL Server 2012.
Я использовал Devexpress Grid в wpf. Я хочу привязать его к базе данных, используя режим ADO.Net Server. Я выбрал опцию «Source Source Wizard» для выполнения этой привязки, но она сгенерирована после исключения:
InvalidOperationException: невозможно загрузить данные счетчика, потому что из реестра был прочитан недопустимый индекс ‘.
Что означает это исключение?
Не могли бы вы помочь мне решить эту проблему.
Спасибо,
Энни.
31 июль 2013, в 22:41
Поделиться
Источник
3 ответа
Просто это сообщение, связанное с обновлениями Microsoft Dynamics CRM, не установлено, и отмеченный ответ для этого сообщения помог значительно:
Нажмите «Пуск», введите cmd правой кнопкой мыши cmd.exe и выберите «Запуск от имени администратора». В командной строке введите lodctr/r и нажмите клавишу ВВОД.
По-видимому, Windows сохраняет некоторый счетчик кеша в реестре в HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib09Counter + Help. Если этот кеш поврежден (имеет пустые строки), вы получаете вышеуказанные ошибки — и lodctr /r восстанавливает этот кеш.
Pablissimo
27 авг. 2013, в 14:22
Поделиться
Хотя на это уже был дан ответ, я вижу, что люди неоднократно получают ту же ошибку, что и я, когда пытались ее решить. Если при запуске:
C:windowssystem32> lodctr /r
вы получите сообщение об ошибке
Error: Unable to rebuild performance counter setting from system backup store, error code is 2
тогда вам нужно запустить
C:windowsSysWOW64> lodctr /r
после которого вы должны получить
Info: Successfully rebuilt performance counter setting from system backup store
Обратите внимание, что это должно быть сделано как администратор. Я нашел решение здесь
tdc
25 июнь 2014, в 10:21
Поделиться
-
Перейдите в меню «Пуск», введите «cmd».
-
Щелкните правой кнопкой мыши на cmd.exe и выберите «Запуск от имени администратора».
-
Введите «lodctr/r» и нажмите enter.
Затем вы получите сообщение «Информация: успешно перестроена настройка счетчика производительности из хранилища резервных копий системы.
-
Проверьте, есть ли отключенные провайдеры, напишите «lodctr/q» и нажмите enter
-
Затем вы получите длинный список поставщиков, убедитесь, что [CRM-клиент] включен, см. ниже
Если нет, напишите «lodctr/e: CRM Client» и нажмите enter.
- Установите Microsoft Dynamics CRM для обновления клиента Outlook.
Zia Ul Mustafa
10 март 2016, в 08:31
Поделиться
Ещё вопросы
- 0используя заголовочные файлы в C ++
- 1Android: мой XML с селектором неправильно сформирован при стилизации кнопки?
- 0Ошибка проверки времени выполнения # 2 вокруг «чисел» повреждена
- 0MySQL — Int заставляет все значения быть одинаковыми
- 1Получить статус виртуальной машины Azure
- 1Декодировать необработанные видео данные на Android
- 0выражение angularjs, если еще условие
- 1Angular 2 Service: вернуть локальную переменную или дать обещание
- 1<TableLayout> <TableRow> <LinearLayout> ненавидит меня. Сила близко на бегу. Android
- 1WPF Определите ссылку, по которой я нажал
- 1Подсчитайте, сколько раз каждая строка кадра данных A появляется в каждой строке множества элементов в другом кадре данных
- 1Android, как создать мозаичное изображение обоев?
- 0Невозможно интегрировать библиотеку .so из рабочего проекта в другой.
- 0Проверяйте, снимайте флажки в массиве angularjs javascript
- 0расчет баланса счета из таблицы дебетов и кредитов
- 0Скопируйте конструктор для 2d массива с ++
- 0начальный поставщик угловых значений
- 1API распознавания голоса Android
- 0Метод цепочки — не переопределяйте значение, если функция вызывается более одного раза
- 0MySQL: пропорционально добавить значения в столбец
- 0Впечатления Главная Главная URL ipHomeUrl ()
- 1Как я могу поймать ошибку пароля из файла configuration.buildSessionFactory (PSQL)?
- 0PHP Sleep функция с циклом
- 0Разделить строку, используя специальные параметры
- 1Нужна помощь в создании нижнего колонтитула в виде сетки
- 1Как установить фокус текстового блока вне браузера?
- 0Конкретный размер файла при загрузке файла jquery
- 1Сортировать список списков по сумме N-го элемента внутренних списков
- 0использование angular-ui-router с экспресс / узлом, файловая структура
- 0C ++ — чтение столбцов CSV-файлов и сохранение только тех, которые начинаются с определенной строки
- 1Скрипт Google Apps (JavaScript) Разделение регулярных выражений Ссылки на ячейки электронной таблицы
- 1Использование Aforge.net или C # для получения или установки свойств камеры (например, время экспозиции)
- 0Превратить текст шрифта в растровую графику?
- 1AndroidManifest.xml; невозможно включить внешнюю библиотеку
- 1В безопасном режиме пользователь не должен иметь доступа к приложению
- 0Не получается серый фон
- 0Мобильное всплывающее окно Jquery вызывает непредсказуемое поведение
- 0SQL для возврата значений из отношения «многие ко многим»
- 1Android добавить контактный адрес электронной почты
- 0Как выровнять текст внутри <span> после <button>
- 1Как реализовать интерфейс, используя член класса?
- 0freopen_s («conout $») и fclose
- 0Угловое наследование JS-контроллера
- 1JS: Фильтр массив только для непустых и тип строковых значений
- 0Ссылка не будет отображать два класса
- 0JQuery Автозаполнение проблемы
- 0Невозможно опубликовать массив, используя jquery $ .post
- 0Node.js API с экспрессом и mysql — применять параметр поиска, только если он задан, равен и похож на
- 0Могут ли функции слотов внутри одного объекта QThread выполняться одновременно?
- 0PHP получает выбранные строки таблицы из флажков

- Remove From My Forums
-
General discussion
-
Hello, I am trying to rebuild the list of available counters as one of the technet articles is suggesting — but I am getting a message that says «Error: Unable to rebuild performance counter setting from system backup store, error code is 2».
Reason to why I am doing it is because I got 2 errors in my event viewer: Event ID 3009 and 3017.
Can anyone help with this? Thanks in advance!
All replies
-
Hi ,
It is better to provide more detail information about the Event errors for us to analyse this issue.
In addition, regarding the errors, you can refer to Event ID 3009 to check the result.
Regards,
Vincent Wang
TechNet Community Support

-
Hello,
I’ve resolved with the following steps:
PS C:Windowssystem32> cmd
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.C:Windowssystem32>lodctr /R
Error: Unable to rebuild performance counter setting from system
backup store, error code is 2
C:Windowssystem32>cd ..C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /R
Info: Successfully rebuilt performance counter setting from system backup store
C:WindowsSysWOW64>winmgmt.exe /RESYNCPERFC:WindowsSysWOW64>
Regards-
Matteo
Matteo D’Andrea
-
I had the error:
Error: Unable to rebuild performance counter setting from system backup store, error code is 2PS
I closed the (PowerShell) window, then ran cmd as Administrator and repeated the lodctr /R and got :
Info: Successfully rebuilt performance counter setting from system backup store
Sometimes banging your head against the wall twice fixes the problem.
-
I followed these steps and successfully rebuilt performance counters to remove 2004, but now I get 1008 for .net perf mon. Oy!
-
Just tried it out myself it failed first time — did it again and it worked! Thanks
-
The solution for me was to open the command prompt in Administrator mode.
-
Exactly as you mentioned. Good job !
-
I got the same error using admin mode
I:>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
I:>c:C:>cd windows
C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>lodctr /rError: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64> -
lodctr /r will give the error
lodctr /R will not
The R must be capital R.
-
Thanks guys ! Horrible error , renders gaming pretty much useless
-
Right R must be the capital R worked for me
-
Edited by
Monday, July 20, 2015 3:43 PM
-
Edited by
-
Follow above steps from «Matteo» fixed the issue for me.
Thanks,
Anirudh
-
You are either smart or you are a Microsoft agent assigned to help us
You are a great example…
thx
-
I got the same error using admin mode
I:>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
I:>c:C:>cd windows
C:Windows>cd syswow64
C:WindowsSysWOW64>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>lodctr /rError: Unable to rebuild performance counter setting from system backup store, e
rror code is 2
C:WindowsSysWOW64>this solution worked great after getting perflib errors in the event viewer (2003 and 1023) and when getting an error code 2 from running lodctr /r. only difference is I ran lodctr from system32, not syswow64. but it still worked.
Windows 10 Pro 1511 (build 10586.318) x64
-
Yes Thanks, Running it again Worked for me also.
-
Thanks — this worked for me, and I used a lower case r:
c:WindowsSysWOW64>lodctr /r
Info: Successfully rebuilt performance counter setting from system backup store
c:WindowsSysWOW64> -
Thanks MATEO.
Your sulution Worked for me too
Thanks alot.
Best regards.
Jorge Sanchez Cruz
-
Excellent! That did it. Just had to do an iisreset after the resync.
Thanks heaps.
-
Works! Great!
Dario de Judicibus
-
Thanks Matteo. Worked for me.
-
Matteo’s suggestion worked for me,
-
Thank you for posting this. It fixed my problem! See https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-update-failure-0x800f0922-and-stuck-at/40038f3a-599b-4083-ac72-24d0fb7a5a8b?auth=1
-
What actually worked for me is just re-run the same command without changing ANYTHING at all, including the current directory. (Of course have to run cmd as Admin first)
-
This right here fixed the issue.
