Windows Operating system quite offten has log file on:
C:\Windows\Logs\DISM\dism.log
This log file contains lines like:
2018-03-12 09:38:45, Info DISM DISM Provider Store: PID=4472 TID=9936 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-12 09:38:45, Warning DISM DISM Provider Store: PID=4472 TID=9936 Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2018-03-12 09:38:45, Info DISM DISM Provider Store: PID=4472 TID=9936 Connecting to the provider located at C:\WINDOWS\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
Let's try to extract exact dll file name which is related to this error message. To accomplish that I will use key which contains regex:
log["C:\Windows\Logs\DISM\dism.log","(Failed to load the provider: .*\. )",,,,\1]
Usage of parentheses
(Failed to load the provider: .*\. ) means that we are working with groups and the sixth
log[] parameter
\1 means that we need to extract group 1 which this time equals:
Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll.
Related file: