i think the problem started a couple of weeks ago, probably after the Windows 11 Insider Preview 23615.1000 (ni_prerelease) update. i updated to Windows 11 Insider Preview 10.0.26052.1100 (ge_release) but the problem persist
basically i cant open any windows-related apps like paint or notepad. i tried reinstalling Microsoft Visual C++ Redistributable but the problem persists. ran a scan but it doesnt show any problems
the errors i get are like
bad image
C:\ProgramFiles\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\mfc140u.dll
C:\ProgramFiles\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\VCRUNTIME140_1.dll
C:\ProgramFiles\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\MSVCP140.dll
C:\ProgramFiles\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\VCRUNTIME140.dll
C:\ProgramFiles\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\MSVCP140_ATOMIC_WAIT.dll
is either not designed to run on windows or it contains an error.Try installing the program again using the original installation media or contact your system administrator or the software vendor for support
Error status 0xc0000020