Cryptographic Service Failure

  • Thread starter Thread starter Peter Putnam
  • Start date Start date
P

Peter Putnam

Greetings,

I am unable to upgrade (SP1 to SP2) my Win XP laptop because the
Cryptograhic Service isn't running. It isn't a simple question of
Catroot errors, reregistering dlls, etc. I've been through every web
site that offers advice and found nothing that helps.

They all indicate that the service should be stopped, started, etc,
but I can't do that because the Cryptographic service doesn't even
appear on the list of available services.

I suspect the registry entry that loads cryptsvc.dll is missing or
broken.

Can anyone tell me where I should look and what I should see there? Or
if I am barking up the wrong tree...

Regards,
Peter
 
Cryptographic Services is cryptsvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\CryptSvc
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\CryptSvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc
looks something like this.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc]
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
"Description"="Provides three management services: Catalog Database Service,
which confirms the signatures of Windows files; Protected Root Service,
which adds and removes Trusted Root Certification Authority certificates
from this computer; and Key Service, which helps enroll this computer for
certificates. If this service is stopped, these management services will not
function properly. If this service is disabled, any services that explicitly
depend on it will fail to start."
"DisplayName"="Cryptographic Services"
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,
00,\

74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"ObjectName"="LocalSystem"
"Start"=dword:00000002
"Type"=dword:00000020

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f
,\

00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

63,00,72,00,79,00,70,00,74,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,\
00
"ServiceMain"="CryptServiceMain"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc\Security]
"Security"=hex:00,00,0e,00,01

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc\Enum]
"0"="Root\\LEGACY_CRYPTSVC\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Cryptographic Services is cryptsvc

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command prompt type:

sc query cryptsvc

Hit the Enter key.

What do you get?

Anything alt all similar to this?

C:\>sc query cryptsvc

SERVICE_NAME: cryptsvc
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Hello,

I hope you don't mind me butting in to the conversation, but I seem to be
having the same problems as Peter in that I can not install updates and the
key reason seems to be the lack of Cryptographic Services on my PC too.

I opened a command prompt as you have suggested and the response from it was
that "the specified service does not exist as an installed service".

If anyone can point me in the direction of where I can find it (be it on the
web, my office XP CD or lurking elsewhere) I promise my eternal gratitude for
ending frustration!

Thanks a lot, Simon
 
Hi Simon,

Type this in a command prompt:

sc create cryptsvc

Hit your Enter key.

I have absolutely no idea if this will work or not. But it can't hurt. ;-)
The command may not have enough info.

sc create
Creates a subkey and entries for the service in the registry and in the
Service Control Manager's database.

Whatever happens, post back with what you get as a result after running the
command from the command prompt.

Alt + Spacebar + E + S will Select all the text in a command window.

Press and hold down the Alt key, then press the Spacebar and let go, then
press E and let go, the press S and let go, let go of the Alt key. All of
the text should be highlighted. Then press the Enter key. Pressing Enter
copies the highlighted text to the Windows clipboard. Paste that text into
a message.

cryptsvc.dll is Cryptographic Services. There are other .dll files that are
related.

I have no idea if cryptsvc.dll is a self registering file or not.

But try this.

Start | Run | Type or paste: regsvr32 cryptsvc.dll | Click OK

There will be a message as to whether it succeeded or not.

You may have to reboot to see if Cryptographic Services shows up in Services
or if
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc
shows up in the registry. I am winging this.

If none of the above works, remove the 123 from my E-mail address and send
me a message, I will send a .reg file that will add
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc
to your registry.

(e-mail address removed)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Simon E-mailed me and I sent the .reg file to him.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc

He merged it into his registry and now has Cryptographic Services listed in
services.msc.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Not sure if it is your autosignature saying "let us know" or you wanted a
reply to tidy up the forum, either way I'm happy to say your solution has
worked a treat with the updates installing smoothly and I have also been able
to download IE7 to try too (which also wanted the Cryptographic Services).
Frustration over!

Thanks again Wes and all the best,

Simon
 
Wes,

Thanks for sending the registry update file. It got the Cryptographic
Service running instantly.

I'm back in business, thanks to you.

Best Wishes,
Peter
 
Glad to hear it, Peter. Keep having fun. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
You're welcome, Simon.

All of these newsgroup posts are archived. People search them looking for
advice, etc. If a particular idea provided a solution then the people
looking can see that this worked.

That way they can get a reg file from a friend's machine to fix the problem.

However, what will really happen is that they will E-mail *ME* asking for
the reg file. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
can you help me with this? I have not been able to update any thing since
10/26/2006.

Send your .reg and instrution to:
(e-mail address removed)
 
Back
Top