Blog Post

IIS Support Blog
2 MIN READ

Troubleshooting IIS Admin Service Termination: “Invalid Signature” Error

Goyal_Sandeep's avatar
Goyal_Sandeep
Icon for Microsoft rankMicrosoft
Sep 02, 2025

🔍 Overview

If you've encountered the following error in your Windows Event Viewer:

“The IIS Admin Service service terminated with the following service-specific error: Invalid Signature”

you're likely dealing with a cryptographic issue affecting the IIS metabase. This blog post walks you through the root causes, diagnostics, and step-by-step resolutions to restore service functionality.

🧠 What Causes This Error?

This error typically appears as Event ID 7024 and is often triggered by:

  • Corruption or deletion of the machine key used by IIS.
  • Improper SSL certificate updates.
  • Misconfigured permissions on cryptographic folders.

The IIS Admin Service relies on a secure machine key (usually a file starting with c23) stored in:

C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

If this key is missing or invalid, IIS cannot decrypt its configuration, resulting in the “Invalid Signature” error.

🧪 Diagnostic Steps

  1. Check Event Viewer
    Look for Event ID 7024 under System logs.
  2. Verify Machine Key Presence
    Navigate to the MachineKeys folder and check for a file starting with c23.
  3. Audit Permissions
    Ensure SYSTEM and Administrators have Full Control on the MachineKeys folder.

🛠️ Resolution Steps

Option 1: Restore from Backup

If you have a backup of the c23* file:

  • Replace the corrupted file.
  • Restart the IIS Admin Service.

🔄 Option 2: Reinstall IIS 6 Metabase Compatibility

If no backup is available:

  1. Delete the corrupted c23* file.
  2. Open Server ManagerManage Optional Features.
  3. Uninstall IIS 6 Metabase Compatibility.
  4. Reboot the server.
  5. Reinstall the feature to regenerate the machine key.

🔐 Option 3: Reset Permissions

Ensure the following permissions on C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys:

  • SYSTEM: Full Control
  • Administrators: Full Control

💡 Pro Tips

  • Always back up the MachineKeys folder before making changes.
  • Consider enabling IIS Configuration Backup for future recovery.

 

Published Sep 02, 2025
Version 1.0
No CommentsBe the first to comment