Apps located on WindowsApps folder won't open after I deleted the folders from one of the apps inside

I Followed this recommendation for the same problem and turned out very bad:

"Windows Voice Recorder Crashes Immediately After Opening" : "It's tricky for non-advanced user, but, you have to take ownership of WindowsApps folder (inside Program Files folder) and after that, look for all Windows Sound Recorder folders (I have 2 related) (inside WindowsApps) and manually delete those.

Once deleted, you can go to the Store and download Voice Recorder and install it. After that, you'll see Voice Recorder works just fine again." https://answers.microsoft.com/en-us/windows/forum/all/windows-voice-recorder-crashes-immediately-after/231bbd9a-8af5-47ea-8786-6803ed352d5a

After doing that, I can't open any of the app that I installed through microsoft store, and I cannot oven open microsoft store...

when i turn on the computer shows win32bridge.server.exe the parameter is incorrect

when opening windows recovery shows FileSystemError -2144926975

I have no restore point. I tried

sfc /SCANNOW and dism /online /cleanup-image /restorehealth

I also tried resetting microsoft store.

with no success.

There has to be a way to fix it without formatting my computer. Clear the index that references those folders belonging to the voice recorder or something like that, but my background on windows is poor (i'm a programmer so I am willing to follow a complicated process). In this post: Microsoft Store and other apps such as Calc and Photos won't launch after Windows' update

I saw you could do this if you had the package name: Remove-AppxPackage -Package "Microsoft.WindowsCalculator_10.1712.3351.0_x64__8wekyb3d8bbwe" but I was very dumb and I deleted the folders with no backup.

Thanks a lot for any help or clues on this.


To restore the original permissions on the WindowsApps folder, run an elevated Command Prompt (cmd) and enter the command :

icacls "%ProgramFiles%\WindowsApps" /q /c /t /reset

If this doesn't help, see How to Do a Repair Install of Windows 10 with an In-place Upgrade.

The WindowsApps folder should not be modified, except by Windows applications. It is one of the most heavily protected folders in Windows 10, as it contains all the Windows UWP apps, to which Microsoft zealously guards the access.