Службе криптографических служб не удалось инициализировать базу данных каталога

17239
Raptor

В Event Viewer ( eventvwr) я заметил повторяющуюся ошибку:

Службе криптографических служб не удалось инициализировать базу данных каталога. ESENT ошибка была: -583.

Log Name: Application Source: CAPI2 EventID: 257 Level: Error Keyword: Classic OpCode: Info 

Я пытался найти ответы в Интернете, они помогают мне восстановить базу данных ESENT ( ссылка ).

Я останавливаю Криптографические сервисы :

net stop cryptsvc 

и переименовал catroot2папку в catroot2.old. Затем я перезапускаю криптографические сервисы:

net start cryptsvc 

Через несколько минут новый catroot2будет создан. Затем я пытаюсь проверить содержимое:

net stop cryptsvc esentutl /g C:\Windows\System32\catroot2\\catdb 

Это показывает:

Error: Access to source database 'C:\Windows\System32\catroot2\\catdb' failed with Jet error -1811.  Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte r 0.0 seconds. 

Одинаковый вывод для режима дефрагментации ( /d) и режима контрольной суммы ( /k)

Если я использую режим восстановления ( /r), вывод:

Initiating RECOVERY mode... Logfile base name: C:\Windows\System32\catroot2\\catdb Log files: <current directory> System files: <current directory>  Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para meter) after 0.0 seconds. 

Кажется, я поставил неправильные параметры в режиме восстановления.

Что я могу делать дальше?

Примечание: все команды выполняются в командной строке администратора

5

5 ответов на вопрос

3
mic.sca

Я действительно не знаю, почему это так, но кажется, что это может помочь изменить драйвер для вашего контроллера IDE / ATA. Переименуйте папку catroot2, затем перейдите в диспетчер устройств, выберите контроллер IDE / ATA, щелкните свойства и затем обновите драйвер, затем выберите «выбрать вручную» и выберите совместимый драйвер (например, стандартный контроллер microsoft Microsoft ahci 1.0, применить ) и перезагрузите компьютер.

Вот ссылки, по которым я черпал вдохновение:
https://web.irtnog.org/Members/xenophon/blog/event-id-257-capi2-and-esent-error-583
http://answers.microsoft.com / EN-US / окно / форум / windows_other-windows_update / в-криптографические-сервисы обслуживание не удалось-начало / 34421d55-4eaa-47fe-a7d9-d288f0276ef8

У меня была такая же проблема, и я решил ее * без * переименования папки `catroot2`. Кроме того, вместо того, чтобы вручную выбирать другой драйвер, я удалил существующий контроллер жесткого диска и выбрал вариант ** удалить файлы для драйвера **. Это привело к удалению драйвера Intel и при следующей загрузке Windows автоматически установил правильный драйвер контроллера Microsoft по умолчанию. Twisty Impersonator 8 лет назад 1
2
user310075

Previous answer worked for me too, but left open the reason why. I think I may have the explanation for this...

Background: I replaced a faulty 380GB hard drive on my VAIO laptop with a 1TB WD "Classic" drive. I followed the suggestion on the drive documentation to the www.wdc.com/advformat site, and downloaded the Acronis True Image and Align software.
I needn't have bothered as neither of these helped in solving the recurring CAPI2 errors.

Explanation: I too found the posting on www.irtnog.org, and started to suspect the Intel drivers of foul play, especially when most of the problems described in relation to CAPI2 and Windows Defender / Search errors in other postings seemed to mention >2TB drives with 4K sector sizes. Using the System Information component of Iolo's System Mechanic, I established that my new drive had, in fact, a sector size of 512 - the same as the old drive. I'm fairly sure that the Intel driver was assuming a sector size of 4K and trying to compensate. As soon as I forced the IDE/ATA driver to use Microsoft's standard controller as in previous answer, all was well again.

You appear to need Intel's new "RST" drivers only for internal drives with 4K sector size, usually >2TB.

1
Neil Brown
Error: Access to source database 'C:\Windows\System32\catroot2\\catdb' failed with Jet error -1811. Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte r 0.0 seconds. 

If it's the same problem I had, it is simply (as the error says) that the file does not exist. Try browsing to that location via the Windows Filemanager.

Though it seems to make no sense, the suggestion above to replace the SATA driver with the Generic Windows, rather than Intel specific solved my problem. Which was after replacing my laptop drive with an SSHD (via Seagate DiskWizard Clone), it all seemed fine, but Windows update wouldn't run, various errors in the event log about cryptography. All standard windows apps would warn about "unknown publisher".

Changing the SATA driver fixed all that!

Thanks.

1
Adam

this thread nearly solved my problems (which were that Windows Update would not start). It started after doing the standard fixes of cleaning up the SoftwareDistribution folder and updating the driver. In my case also I had re-imaged the system from a five year old backup to a new hard drive (after a hard disk failure) and was stuck unable to update. However, after running many updates started getting loads more Windows Update errors. I think this was because the database was once again corrupted. To address this I believe I needed the hotfix from https://support.microsoft.com/en-us/kb/982018. Depending on the age of your system you may already have it. But without it I was getting corruption even with the updated driver. Hope this helps someone else.

О - и если вы, как и я, делали обновление действительно старой системы - следите за Norton Removal Tool. Это также нарушает работу Центра обновления Windows https://community.norton.com/en/forums/uninstall-nis-norton-removal-tool-breaks-windows-update. Легко исправить - но эта проблема фактически задержала меня на два дня и заставила меня перезапустить весь процесс переизображения. Adam 9 лет назад 0
-2
user572795

Another apparent success. HDD crashed, was replaced with a new larger drive of the same brand (WD), then files and OS (Win7 HP) restored from an Acronis backup. Everything worked but the errors noted above were rampant, especially the 583 error.

After reading this thread, I tried Win Update and it wouldn't even start.

Did the crypto stop, rename catroot and crypto restart with no success.

Then did the manual SATA driver reselect and everything seems to be working now. 583 errors gone and Win Update worked.

Not sure why the driver would be an issue when both the old and new HDD are WD.

Добро пожаловать! Это только подтверждает, что один из других ответов работает. Как только у вас будет достаточно репутации, лучший способ сделать это - дать соответствующий ответ. Добавление пяти абзацев «Да, это сработало» в основном просто делает страницу длиннее и труднее находить вещи. David Richerby 8 лет назад 2