Event ID 7023 could not start the IIS Admin Service on Local Computer
Issue: – after schedule restart of one of the IIS web server IIS services are down. We checked and found IIS admin service is not started in services.msc (which suppose to start automatically after restart). We try to manually start the IIS admin services, but getting error “Error2: The system cannot find the file specified”. In System Event Log Error found with Event ID 7023.
The IIS admin service failed to start with error “Error2: The system cannot find the file specified”.
Event ID 7023
Source Name: Service Control Manager.
Error: The IIS Admin service terminated with the following error. The system cannot find the file specified.
Workaround and Resolution Event ID 7023:
- Check the MataBase.xml file in C:\WINDOWS\system32\inetsrv\ folder. MetaBase.xml is the IIS configuration file it might be missing or corrupted. (In our case MetaBase.xml is missing)
- Check the MetaBase.XML latest file in C:\WINDOWS\system32\inetsrv\History folder. MetaBase.xml creates a copy and store inside the History folder as and when IIS configuration change. You will find multiple copies in the History folder. MetaBase.xml file are stored in the History folder by “MetaBase_0000000188_0000000000.xml” kind of format.
- To resolve Even ID 7023 Issue, rename existing MetaBase.xml file if already present. Copy latest Metabase.xml file from History folder or you can choose a MetaBase.xml file from a separate backup if you have any and paste in C:\WINDOWS\system32\inetsrv\ folder. Don’t forget to rename the new file from “MetaBase_0000000188_0000000000.xml”to MetaBase.xml Yeah it’s done!
- Go in services Manager and start the IIS Admin service. It will start without any issue and Event ID 7023 issue resolved.
Something You Must Know:
- IIS configuration store in MetaBase.xml file
- The MetaBase.xml file is stored in C:\WINDOWS\system32\inetsrv\ by default
- IIS itself backed up MetaBase.xml whenever you make any configurationally changes to IIS websites, application pools or any IIS related settings.
- Backed up Metabase.xml file store in C:\WINDOWS\system32\inetsrv\History\ by default and format for the same is “MetaBase_0000000188_0000000000.xml”
- History folder contains up to 10 most recent backups. (You can change this setting from MetaBase.xml – edit the MetaBase.xml file and check properties of “MaxHistoryFiles”. By default, the value of this property is set to 10. You can change to any value as you want)
- It’s recommended to do, not modify Metabase.xml file manually. Any changes are files require restart of IIS admin services.
Must Read: How do I start Windows troubleshooting, and Sysinternals Suite. Must Read: How to boot Android phone into safe mode Must Read :Computer running slow how to fix it ? Must Read: Forgot Windows Password (Resolved) Must Read: Hyper-V : The Virtual Machine Management Service is Not Available (Resolved)
If you like this post, then your valuable feedback will be appreciated and if you hold any doubts or query, then feel free to comment down below I will be glad to help you. You can also Subscribe to my Newsletter below to remain updated with my latest posts which will right away delivered to your Inbox as soon as I publish or you can also Follow me on Twitter or like me on Facebook or Add me to your Google Plus Circles!