When I try to open avast I get an error saying "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use command-line sxstrace.exe tool for more details."
I have installed Microsoft Visual C++ Redistributable Packages 2008, 2010, 2012, 2013 & 2015-2019 (All of which I have both x86 & x64 versions installed.) I've attached a picture of the Visual C++ Redistributable Packages i have installed (screenshot of them listed in Programs & Features.) I am running Windows 10 64 bit.
I have tried restarting my pc (obviously), I've tried reinstalling avast multiple times. I've done so by using programs & features to uninstall, and have also done so by using the uninstall utility. I've tried repairing Avast also.
I have also run a system file check (SFC) "sfc /scannow" in elevated command prompt 3 times along with DISM Restorehealth. It found error & fixed them, then rebooted by pc. Still did not fix the problem. I tried reinstalling avast again multiple times, I tried repairing it again, I also tried repairing Visual C++ redistributable packages. Still nothing has helped.
This is what it says in Event Viewer:
[In the "General" tab]:
"Activation context generation failed for "C:\Program Files\Avast Software\Avast\AvastUI.exe".Error in manifest or policy file "C:\WINDOWS\WinSxS\manifests\amd64_policy.14.0.avast.vc140.mfc_fcc99ee6193ebbca_14.0.28127.0_none_5638651cc6ac4862.manifest" on line 3. Component identity found in manifest does not match the identity of the component requested. Reference is Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.28127.0". Definition is Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.27821.0". Please use sxstrace.exe for detailed diagnosis.
[In the "Details" tab]:
["Friendly View"]:
+ System
- Provider
[ Name] SideBySide
- EventID 35
[ Qualifiers] 49409
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2020-08-24T22:29:00.115106400Z
EventRecordID 325094
Channel Application
Computer DESKTOP-E8N13R8
Security
- EventData
Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.28127.0"
Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.27821.0"
C:\Program Files\Avast Software\Avast\AvastUI.exe
C:\WINDOWS\WinSxS\manifests\amd64_policy.14.0.avast.vc140.mfc_fcc99ee6193ebbca_14.0.28127.0_none_5638651cc6ac4862.manifest
3
["XML View"]:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="SideBySide" />
<EventID Qualifiers="49409">35</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-08-24T22:29:00.115106400Z" />
<EventRecordID>325094</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-E8N13R8</Computer>
<Security />
</System>
- <EventData>
<Data>Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.28127.0"</Data>
<Data>Policy.14.0.Avast.VC140.MFC,processorArchitecture="amd64",publicKeyToken="fcc99ee6193ebbca",type="win32-policy",version="14.0.27821.0"</Data>
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data>C:\Program Files\Avast Software\Avast\AvastUI.exe</Data>
<Data>C:\WINDOWS\WinSxS\manifests\amd64_policy.14.0.avast.vc140.mfc_fcc99ee6193ebbca_14.0.28127.0_none_5638651cc6ac4862.manifest</Data>
<Data>3</Data>
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
<Data />
</EventData>
</Event>