1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Cryptographic Services Problems

Discussion in 'Windows XP' started by leswaller, Sep 25, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. leswaller

    leswaller Thread Starter

    Joined:
    May 12, 2005
    Messages:
    7
    As part of a PC upgrade I cloned a hard disk on to a new PC. This worked perfectly excpet for the fact that I was getting a boot.ini error on start up but this did not prevent startup. This error annoyed me so I used the Windows Recovery Console to rewrite boot.ini which got rid of the error message.
    However the machine startup and shutdown times slowed down from a few seconds to about 5 minutes. Using Msconfig I have identified that the problem lies with cryptographic services, if this service is not started everything works fine. I have tried deregistering all the dll files and reregistering them but this has not made any difference.
    Does anyone know how to reinstall all the files associated with cryptographic services without doing a complete reinstall? Or alternatively do you have any other suggestions if you think this is not the problem. I have run various registry cleaners but they do not find any errors.
    Many thanks in anticipation
     
  2. Claymore

    Claymore

    Joined:
    May 20, 2005
    Messages:
    2,548
    Could be an error in the Registry, so ...

    Copy the code. Open Notepad and paste it in. Save the result in a suitable location as cryptographic.reg - making sure that the default .txt extension doesn't appear in the file name (Save as type = All Files).
    Double-click on the saved .reg file to merge the contents.
    Restart.

    Code:
    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
     
  3. leswaller

    leswaller Thread Starter

    Joined:
    May 12, 2005
    Messages:
    7
    Hi Claymore
    I tried your fix but it didn't work. I have used a couple of registry programs and they dont find any errors, any further ideas please?
     
  4. Claymore

    Claymore

    Joined:
    May 20, 2005
    Messages:
    2,548
  5. leswaller

    leswaller Thread Starter

    Joined:
    May 12, 2005
    Messages:
    7
    Hi
    I had already tried those routines without success. The problem seems to be associated with stopping cryptsvc,it just wont stop automatically and merely hangs. I have identified this by using a couple of different routines. Any other suggestions please?
     
  6. Claymore

    Claymore

    Joined:
    May 20, 2005
    Messages:
    2,548
    If you have an XP CD you could try running the System File Checker:

    Go to Start => Run and type in (or Copy /Paste) the following line:
    sfc /scannow
    {space before scannow)

    Failing that (unless it's a program you recently installed) is a Repair Re-install - again if you have an XP CD.
     
  7. leswaller

    leswaller Thread Starter

    Joined:
    May 12, 2005
    Messages:
    7
    I have already tried sfc, it did appear to rewrite a couple of files but it didn't solve the problem
     
  8. Claymore

    Claymore

    Joined:
    May 20, 2005
    Messages:
    2,548
    Since this is a cloned installation that you did recently, could you not simply re-install Windows from scratch?
     
  9. leswaller

    leswaller Thread Starter

    Joined:
    May 12, 2005
    Messages:
    7
    The main problem with doing that would be having to reinstall all the other programs, I had considered doing a repair install, but am not sure if that would actually make things worse.
     
  10. Claymore

    Claymore

    Joined:
    May 20, 2005
    Messages:
    2,548
    Hi,

    Don't think you've got anything to lose with a repair reinstall. It will check/replace system files. Only thing is you will have to reinstall any updates. Unless someone has another way to fix the Cryptographic service.
     
  11. Ingraved

    Ingraved

    Joined:
    Sep 30, 2008
    Messages:
    29
    Cloning a hdd from another pc usually has a lot of errors because of the different drivers and settings. Doing a repair install will reset all of your configured settings for windows but your other programs whould remain intact. you may need to reinstall drivers also. make sure you have them available.
     
  12. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/753166

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice