How to Fix “Keyset does not exist” for Scheduled Tasks in Windows

How to Fix “Keyset does not exist” for Scheduled Tasks in Windows

I recently received an error message stating that the “Keyset does not exist” for all scheduled tasks on a Windows 2003 server. This error caused the scheduled tasks from not running, and caused some problems with a few applications. This is the first time I had seen the error, and so I wasn’t sure what the problem was.

While I have experienced Microsoft Word Errors in the past, this was a first for cryptography in Windows 2003. The error caused the inability to view the “Run as” user ID, let alone change it to something else. Because of this, the tasks couldn’t run, so I had to find a solution to fix it. Fortunately, the solution was easy, and only took a few minutes to implement.

Keyset Does Not Exist Solution

The full error that I received when accessing the schedule tasks was:

General page initialization failed.
The specific error is:
0x80090016: Keyset does not exist
An error has occurred attempting to retrieve task account information.
You may continue editing the task object, but will be unable to change the task account information.

I haven’t seen this error before, it it prevented my schedule task from running. I went online to see what I could find and eventually found a solution that worked for me. I outline the steps to the solution below.

Steps to Correct the Keyset Does Not Exist Issue

After performing some research, I found out that the local system private keys used by the “Cryptographic Services” service had become corrupted. I simply used the following steps to correct the issue:

  1. I stopped the “Cryptographic Services” service.
  2. I then double-clicked “My Computer”, and then clicked “Folder Options” on the “Tools” menu.
  3. On the “View” tab, I clicked “Show hidden files and folders”, and then clicked “OK”.
  4. I deleted all of the files in the “C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18” folder.
  5. I then restarted the “Cryptographic Services” service.

I’m not sure what actually caused the issue, but the above fix should be able to correct the error if it appears again. After performing the above steps, the “Keyset does not exist” error reported in the Task Scheduler had disappeared, and I could see and change the “Run as” user ID.

24 Responses to “How to Fix “Keyset does not exist” for Scheduled Tasks in Windows”

  1. Pete says:

    Great solution, many thanks!!

  2. Ivan says:

    Thanks! It’s work.

  3. Sumesh Mani says:

    Thanks..Its worked for me also…

  4. pezhman says:

    Thanks Paul !
    After the steps I just had to give the user’s password for each task and It works well.

  5. Joe Pye says:

    Worked for me too! Thanks!

  6. Paulo Cuellas says:

    Thanks Paul !
    After the steps I just had to give the user’s password for each task and It works well.

  7. Juan Tejada says:

    Thank you so much… resolved my problem. if you have problem when edit any task this resolved too… JT

    my message error was “general page initialization failed the keyset does not exist windows”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.