Monday, February 12, 2007

AutoEnrollement 0x80040154 Errors After Performing A Swing Migration

Several times I have done a Swing Migration and come up with the following error in the application event log.

Event Type: Error
Event Source: AutoEnrollment
Event Category: None
Event ID: 13
Date: 2/12/2007
Time: 10:10:52 AM
User: N/A
Computer: SERVER
Description:Automatic certificate enrollment for local system failed to enroll for one Domain Controller certificate (0x80040154). Class not registered

There is not much out there on error 0x80040154, but I did find one news group post that solved the issue. Funny thing is I didn't find it by searching for 0x80040154 even though it was in the title of the post.

As a precaution I exported the certificates prior to deleting them.

1. Open mmc / add certificates snapin for local computer account.
2. Expand certificates.
3. Under Trusted root cert auth in certificates container you will find certificate that was created when you built you old server.
4. Select the certificate and delete it.

4 comments:

Anonymous said...

The only certificate I found was the new certificate - I have a copy of the old server still running and so could compare. Therefore I did not delete.
This error on every swing migration still continues to trouble me...

- Mo

Anonymous said...

My initial comment was incorrect. On further analysis I found the cert to be from older config. As per the suggestion, I thus removed the older cert and imported the new cert (in case u r missing it). It seems to have taken care of the auto enrollment problem.

Once again, Thank you so much for sharing your research, there's nothing else on the net that has addressed this issue properly.

- Mo

Unknown said...

Thanks for the post and the step-by-step. Took care of the auto-enrollment issue as well as a nagging Exchange 2007 issue.

Anonymous said...

Thanks! I couldn't find too much on this error either.