|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
--- You do NOT need to understand
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tip 1: |
|
Tip 2: If you can not start the Cryptographic Service then the likely cause is that the Remote Procedure Call (RPC) is not running. To check this go to the "Services" window by running through the steps detailed above... Now right click the Remote Procedure Call (RPC) service. If the status shows it is not running then it has been disabled! Since the Cryptographic Service is a dependency of the Remote Procedure Call (RPC) - We MUST get this running. Sadly you will not be able to do this from the the "Services" Window... You will see it is "greyed out"! Follow these instructions... You will need to use your
XP CD to boot the computer into the Recovery Console,
then type Now type: exit and press Enter to restart the computer. If you are unfamiliar with the Recovery Console this Microsoft Article may help: 314058 |
Now try and install again...
Click Start menu, and then click the Run icon.
In the small box that Opens, type the three
letters: cmd then click the OK button.
In the command prompt window that just opened (a black background and white
text), type the following commands, pressing the ENTER key on
your keyboard after each line:
net stop cryptsvc
ren %systemroot%\system32\catroot2 oldcatroot2
net start cryptsvc
Now type exit to close the command prompt window, and then try to install Windows XP Service Pack 1 again. It should now work... You may in some rare instances have to reboot your machine again first, so give this a try if it fails again...
If it FAILS again...
Manually delete the contents of %systemroot%\system32\catroot2 and reboot....
As I said earlier Microsoft are aware of this corruption issue and have made a an update available that can correct this issue. To obtain it visit the Windows Update site and download Q817287: Critical Update (Catalogue Database Corruption in Microsoft Windows), this should correct the corruption problem!
|
Tip: If THAT fails... find the
folder called "catroot2" and MANUALLY change it to "catroot2old" |
I have been surprised at the amount of emails I continue to received on the subject of cryptographic error messages...! Hopefully this will help you.
First we must just check the Cryptographic Services is actually running on your machine.
To do this:
Start the Administrative Tools utility in Control Panel.
Double-click Services. (this will open the
services window)
Right-click Cryptographic Services, and then
click Properties.
Click Automatic for Startup type,
and then click Start.
You can now try to reinstall security patch 823980
|
If you can not start the Cryptographic Service then the likely cause is that the Remote Procedure Call (RPC) is not running. To check this go to the "Services" window by running through the steps detailed above... Now right click the Remote Procedure Call (RPC) service. If the status shows it is not running then it has been disabled! Since the Cryptographic Service is a dependency of the Remote Procedure Call (RPC) - We MUST get this running. Sadly you will not be able to do this from the the "Services" Window... You will see it is "greyed out"! Follow these instructions... You will need to use your
XP CD to boot the computer into the Recovery Console,
then type Now type: exit and press Enter to restart the computer. If you are unfamiliar with the Recovery Console this Microsoft Article may help: 314058
|
Now Try again...
Click Start menu, and then click the Run icon.
In the small box that Opens, type the three
letters: cmd then click the OK button.
In the command prompt window that just opened (a black background and white
text), type the following commands, pressing the ENTER key on
your keyboard after each line:
net stop cryptsvc
ren %systemroot%\system32\catroot2 oldcatroot2
net start cryptsvc
Now type exit to close the command prompt window, and then try to security patch 823980. It should now work... You may in some rare instances have to reboot your machine again first, so give this a try if it fails again...
|
Tip: If THAT fails... find the folder called "catroot2" and MANUALLY change it to "catroot2old"
|
If it FAILS again...
Manually delete the contents of %systemroot%\system32\catroot2 and reboot....
Well seems to be happening to a few of you... so lets re-register some DLL files. sounds like fun, eh? Onwards and upwards!
Click Start menu, and then click the Run icon.
In the small box that Opens, type the three
letters: cmd then click the OK button.
In the command prompt window that just opened (a black background and white
text), type the following commands, pressing the ENTER key on
your keyboard after each line:
net start cryptsvc
regsvr32 softpub.dll
regsvr32 wintrust.dll
regsvr32 initpki.dll
regsvr32 dssenh.dll
regsvr32 rsaenh.dll
regsvr32 gpkcsp.dll
regsvr32 sccbase.dll
regsvr32 slbcsp.dll
regsvr32 cryptdlg.dll
Now type the word: exit and the window will close. Now Reboot and try and reply the Microsoft Patch again...
NB - If you just can not face typing all that in the command line, simply download this batch file I have made and run it on your machine... It will do the typing for YOU!
|
Tip: |
(The following is ONLY XP Professional - NOT XP Home Edition)
Well, this is going to happen only to a handful of you... I hope!
Without getting too "techie" on you, there is an issue for some Windows XP Professional users where the computers Software Restriction Policy for the Local Computer only allows "Local computer administrators" to select "trusted publishers". This is causing the failure....
This occurs whether the user installing the security patch is an Administrator or not!
This may mean nothing to you and it does not have too.
Here is the work around:
Click Start menu, and then click the
Run icon.
In the small box that Opens, type: gpedit.msc
then click the OK button.
In the new windows that opens you will see a menu on the left hand
side.
Under Computer Configuration you will see a folder called
Windows Settings - double click it.
The new options that appear directly below include Security
Settings - double click it.
The new options that appear directly below include Software
Restriction Policies - double click it.
Now on the right hand side of the window you will see an object called
Trusted Publishers - double click it and a new window appears.
In this window change the setting under Allow the following users to select trusted publishers to the default which should be End Users.
You're kidding me?
Well, this is the LAST one "up my sleeve" for you...
Thanks to Bill Prentice a Network Administrator from the US for this tip...
It seems that in some patches can be installed with this workaround:
When a patch installs itself it will "unpack" all the files in too a temporary folder on your PC. If the install fails you might just be able to grab the file you need and move it to the folder Windows XP should have put it in...
Here is an example of what I mean.
First look for the following file on your computer: dberr.txt
Open it and look for the entry that matches the patch number you just tried to install. In this example it is the security patch KB823980
|
CatalogDB: 10:09:37 AM 8/19/2003: Adding Catalog File: _000000_.cat CatalogDB: 10:09:37 AM 8/19/2003: DONE Adding Catalog File: _000000_.cat CatalogDB: 10:09:37 AM 8/19/2003: File #2 at line #2701 encountered error 0x00000002 CatalogDB: 10:09:37 AM 8/19/2003: The following file was not found - C:\WINDOWS\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\KB823980.cat
CatalogDB: 10:09:37 AM 8/19/2003: File
#2 at line #2595 encountered error 0x00000002
|
We can clearly see that the security patch KB823980 failed to install because Windows XP claims it could NOT find it...
So we are going to give it a helping hand...
We will do this by copying the KB823980.cat file from the temporary unpack folder at the root of C: AND placing this copy in the C:\WINDOWS\System32\CatRoot folder... PLEASE do not put the copied file in the CatRoot2 folder by mistake!
(If you can not find the KB823980.cat file in this example, you could use the search facility on the start menu..)
Now run the patch again and it should install for you... :-)
---------------
Well that is all the "fix's" I have at the moment - but I do update this page when I hear of ANY more!
This just in:
|
------------------------------------------------------------------------------------------- Hi Marc On a newly installed Windows XP (SP1) machine
(or a Disabling this group policy setting
re-enables the |
Please Read:
To stop future cryptographic service corruption issues, make sure you have installed Windows XP Service Pack 1. Then install the specific patch for this issue: 817287: Critical Update (Catalogue Database Corruption in Microsoft Windows)... (please note you MUST have Windows XP SP1 installed!)
|
ERROR 643 When you use the Windows Update Web site to install updates, you may receive a 643 error message. If this is the case then we need to delete the database catalogue and let Windows XP rebuild it automatically: Click Start menu, and then click the Run icon. del /q "%SystemRoot%\System32\Catroot2\Edb.log Now type exit to close the command prompt window, and then try to install the patch again... This is also worth doing if you find your Windows Media Player is slow to respond...
|
|
ERROR 126 Some folks get the message: Error 126: The specified module could not be found This is a very "general" error code, however in this instance the following may help: a) Delete the contents of the "Windows\System32\catroot2" folder and see if that helps resolve the issue. b) If that fails, then check all the root directories and see if any are set as "Read Only"... this is a common symptom of an incomplete SP1 install. If they are then uncheck them! and try again... C) Make sure cryptui.dll is in system32 folder and is NOT corrupt! d) Make sure certcli.dll is in system32 folder and is NOT corrupt! Use the sfc /scannow utility to check for file corruption in c) and d) http://www.updatexp.com/scannow-sfc.html e) Re-register DLL Files That Are
Associated With the Cryptographic Service Click Start, and then click Run. |
Kind Regards

Marc Liron -
Bio
Microsoft MVP
Your Guide to using Windows XP
A Unique Windows XP Newsletter?
Sign Up Now!
- Make sure you get your
FREE tips and advice...
Other Websites By Marc Liron - Microsoft MVP
News and Articles on Windows Vista:
My Techie Blog:
My Windows Technology Newsletter
|
The views on this website are
my own and
NOT that of Microsoft! This page was last updated 3rd July 2004Home Page | Privacy Policy | About Me | Contact MeA page about the Cryptographic Service Error |