This article is contributed. See the original author and article here.

 


I came across a scenario where IIS admin was failing to start with error


ashfana_0-1625290153686.png


 


 













0x80040154



-2147221164



REGDB_E_CLASSNOTREG



Class not registered



winerror.h



 


ashfana_1-1625290153692.png


 


 


 


 


–Checked procmon which is a must go tool for  such issues


–tracing it , I could see below


1:46:11.7430366 PM      inetinfo.exe       9184       7516       RegOpenKey      HKCRCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}                NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:46:11.7431643 PM      inetinfo.exe       9184       7516       RegOpenKey      HKCRWOW6432NodeCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}            NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:46:11.7437105 PM      inetinfo.exe       9184       7516       RegOpenKey      HKCRCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}                NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:46:11.7438050 PM      inetinfo.exe       9184       7516       RegOpenKey      HKCRWOW6432NodeCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}            NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:53:01.7480590 PM      inetinfo.exe       9440       9812       RegOpenKey      HKCRCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}                NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:53:01.7481572 PM      inetinfo.exe       9440       9812       RegOpenKey      HKCRWOW6432NodeCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}            NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:53:01.7485668 PM      inetinfo.exe       9440       9812       RegOpenKey      HKCRCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}                NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


1:53:01.7486327 PM      inetinfo.exe       9440       9812       RegOpenKey      HKCRWOW6432NodeCLSID{BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}            NAME NOT FOUND         Desired Access: Read      NT AUTHORITYSYSTEM 0


 


this key HKEY_CLASSES_ROOTCLSID{BA4E57F0-FAB6-11cf-9D1A-00AA00A70D51}InprocServer32 has the value %windir%system32inetsrvmetadata.dll  which was missing


–I did  a test on my machine by deleting BA4E57F0-FAB6-11CF-9D1A-00AA00A70D51}      from HKCR node


–got the exact error


 


ashfana_3-1625290332392.png


Such issues can come up after OS upgrade, while doing a registry restore/backup


 


 


 


 


 

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.