Jump to content

Cryptographic Services Error1290:0x50a


Alex N.

Recommended Posts

  • Root Admin

Hello Alex,

There are many things that could cause this and in some cases the user has simply given up do to the time involved in tracking down the cause and cure.

Please hang in there and I'm sure Exile360 or another helper will be with you and work with you on this. Have you already had someone assist you with scanning, detecting, and removal of Malware? If not then that might be the first place to start.

Regardless, HJT or here it can take a few days to get to a fix so you need to be patient.

Thanks.

Link to post
Share on other sites

Greetings Alex :)

Please click Start and select Run and then copy and paste the following into the Run box and press Enter or click on OK:

ren %systemroot%\system32\catroot2\Edb.log *.tst

Once that's done, try installing Internet Explorer again. If it doesn't work now, then please do the following:

  • Click on Start and click Run
  • In the run box type services.msc and press Enter
  • Once the Services window opens, scroll down the list until you find the Cryptographic Service and verify that it is Running and that it is set to Automatic
  • If it is not then double click on it and click the drop down menu next to Startup Type and select Automatic then click the Start button to start the service
  • Click the Apply button and click on Ok
  • Close the Services control panel

Once that is complete try installing Internet Explorer once more and if that doesn't work or wasn't the problem then proceed to the next step.

Create a batch file:

  • Please copy and paste the following text in the Code box exactly as written into notepad (not wordpad or any other text editor):
    @echo off
    sc config cryptsvc start= auto
    net stop cryptsvc
    ren %systemroot%\System32\Catroot2 oldcatroot2
    net start cryptsvc
    del /f /q "%windir%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\tmp*.cat"
    regsvr32 /u softpub.dll
    regsvr32 /u wintrust.dll
    regsvr32 /u initpki.dll
    regsvr32 /u dssenh.dll
    regsvr32 /u rsaenh.dll
    regsvr32 /u gpkcsp.dll
    regsvr32 /u sccbase.dll
    regsvr32 /u slbcsp.dll
    regsvr32 /u mssip32.dll
    regsvr32 /u cryptdlg.dll
    attrib -s -h %windir%
    attrib -s -h %windir%\system32
    attrib -s -h %windir%\system32\catroot2
    shutdown /r t 10
    del /f /q %0


  • Once you've done that click on File and select Save As...
  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file fix1.bat (the .bat extension is very important)
  • Save the file to your desktop but do NOT run it yet, you'll need to create a second batch file to go with it first.

Create a second batch file:

  • Please copy and paste the following text in the Code box exactly as written into notepad (not wordpad or any other text editor):
    @echo off
    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 mssip32.dll
    regsvr32 cryptdlg.dll
    del /f /q %0


  • Once you've done that click on File and select Save As...
  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file fix2.bat (the .bat extension is very important)
  • Save the file to your desktop but don't run it yet.

Once you've created both batch files, double click on fix1.bat to run it Note: Once fix1.bat completes it will wait for 10 seconds and then automatically restart your computer so be sure to save anything you are working on before you run it.

After your PC has restarted, log back into Windows and double click on fix2.bat to run it.

Please let me know how it goes.

Thanks :)

Link to post
Share on other sites

Please download the Windows Update Reset Tool from here and save it to your desktop.

  • Double click the MicrosoftFixit50202 to begin
  • Follow the onscreen instructions and run it in Agressive Mode
  • Reboot your computer if asked to do so
  • Let me know in your next reply if the issue is corrected

If that does not fix the problem then please take a look here and try all of the steps provided that apply to your version of Windows.

Link to post
Share on other sites

Hello again :)

Sorry it took me so long to get back to you. I need you to create another batch file to provide me with some additional info before we go further with the fix. Please make sure that Word Wrap is not checked in notepad:

  • Please copy and paste the following text exactly as written into notepad (not wordpad or any other text editor):
    @echo off
    reg query HKLM\SYSTEM\CurrentControlSet\Services\CryptSvc /s>"%userprofile%\desktop\CryptoInfo.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo.txt"
    echo=======================================================================>>"%userprofile%\desktop\CryptoInfo.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CRYPTSVC /s>>"%userprofile%\desktop\CryptoInfo.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\cryptsvc /s>>"%userprofile%\desktop\CryptoInfo.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo.txt"
    echo============================================================================>>"%userprofile%\desktop\CryptoInfo.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo.txt"
    sc queryex state= all type= service>>"%userprofile%\desktop\CryptoInfo.txt"
    echo EOF>>"%userprofile%\desktop\CryptoInfo.txt"
    del /f /q %0

    Once you've done that click on File and select Save As...

  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file CryptoCheck.bat (the .bat extension is very important)
  • Save the file to your desktop and double click it to run it.
  • Once it finishes you will find a file called CryptoInfo.txt on your desktop, right click on it and hover your mouse over Send To and select Compressed (zipped) Folder
  • Please attach the CryptoInfo.zip file you just created to your next reply

Link to post
Share on other sites

Hello :)

Thanks for posting the info. It looks like some of the registry data on a few of your services is corrupted. This should be easily corrected. Please download and extract the following reg file and double click it to run it then answer Yes and Ok to the prompts. Reboot once that's done and see if things are working correctly and that the Cryptographic Service is running.FixServices_v3.zip

Please let me know if it has any errors and let me know if it worked.

Thanks :)

Link to post
Share on other sites

Thanks for the help I really appreciate it
You're very welcome :)

Please download the Microsoft security settings reset tool from here and save it to your desktop

  • Double click on it to install it and follow the onscreen instructions to let it reset permissions
  • Reboot if asked to do so once it completes
  • Once that's done, double click on the FixServices v3.reg file to try it again

If that does not work then Please do the following:

  • Please download SubInACL from here and install it.
  • Then please copy and paste the following text exactly as written into notepad (not wordpad or any other text editor):
    @echo off
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=administrators=f

    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=system=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
    "C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=system=f
    del /f /q %0

    Once you've done that click on File and select Save As...

  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file reset.bat (the .bat extension is very important)
  • Save the file to your desktop and double click it to run it
  • Again, try double clicking on the FixServices v3.reg file to see if it will now work correctly

If you're now able to get the reg file to run without errors then reboot your PC and let me know if the Cryptographic Service is now running.

Link to post
Share on other sites

One of my allies just informed me that I am a moron :) . Both of the files I had you download to attempt to reset permissions are .msi files, which will not run properly since the Cryptographic Service isn't running.

So once you return please do the following (this one does not use an MSI file :) ):

Please download ResetDefaultPerms by AdvancedSetup from here and save it to your desktop

  • Close any open programs and save anything you were working on
  • Double click on restoredefaultperms.exe to run it
  • Once it completes it will restart your computer
  • After the restart try double clicking on the reg fix again to see if it now works as it should then reboot once more and check the status of the Cryptographic Service

Link to post
Share on other sites

You tried the one I posted here already?

If so, then you will need to try the FixServices.reg file from Safe Mode:

You should either print or save these instructions because in Safe Mode you don't have internet access.

To boot into Safe Mode:

  • Restart your computer.
  • When the machine first starts again it will generally list some equipment that is installed in your machine, amount of memory, hard drives installed etc. At this point you should gently tap the F8 key repeatedly until you are presented with the Windows XP Advanced Options menu.
  • Select the option for Safe Mode using the arrow keys.
  • Then press Enter on your keyboard to boot into Safe Mode.

You should then be presented with the Windows XP Login screen. Log in to Windows and when it prompts you about Safe Mode and asks if you'd like to continue click Yes.

Now try the FixServices.reg file to see if it will work properly and then reboot your computer and let it start normally.

Please let me know how it goes.

Thanks :)

Link to post
Share on other sites

Yes, please do provide that info. Also, I'd like to make sure that everything looks normal now and is running as it should so I've got one more batch file for you to create and run:

  • Please copy and paste the following text exactly as written into notepad (not wordpad or any other text editor):
    @echo off
    reg query HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CRYPTSVC /s>"%userprofile%\desktop\CryptoInfo3.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_W32TIME /s>>"%userprofile%\desktop\CryptoInfo3.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\cryptsvc /s>>"%userprofile%\desktop\CryptoInfo3.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\W32Time /s>>"%userprofile%\desktop\CryptoInfo3.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Services\CryptSvc /s>>"%userprofile%\desktop\CryptoInfo3.txt"
    reg query HKLM\SYSTEM\CurrentControlSet\Services\W32Time /s>>"%userprofile%\desktop\CryptoInfo3.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo3.txt"
    echo============================================================================>>"%userprofile%\desktop\CryptoInfo3.txt"
    echo+>>"%userprofile%\desktop\CryptoInfo3.txt"
    sc queryex state= all type= service>>"%userprofile%\desktop\CryptoInfo3.txt"
    echo EOF>>"%userprofile%\desktop\CryptoInfo3.txt"
    del /f /q %0

    Once you've done that click on File and select Save As...

  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file CryptoCheck3.bat (the .bat extension is very important)
  • Save the file to your desktop and double click it to run it.
  • Once it finishes you will find a file called CryptoInfo3.txt on your desktop, right click on it and hover your mouse over Send To and select Compressed (zipped) Folder
  • Please attach the CryptoInfo3.zip file you just created to your next reply

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.