At first ..
1. Open Command Prompt in Administrator mode. You can do this by typing in your search bar cmd and then ctrl + shift + enter.
2. In command prompt type: icacls "C:\Program Files\WindowsApps" /q /c /t /reset
This should fix the issues.
Else, an In Place Upgrade is the only solution;
Refresh your PC Fixes software problems by reinstalling the OS while preserving the user data, user accounts, and important settings. All other preinstalled customizations are restored to their factory state. In Windows 10, this feature no longer preserves user-acquired Windows apps.
Reset your PC prepares the PC for recycling or for transfer of ownership by reinstalling the OS, removing all user accounts and contents (e.g. data, Classic Windows applications, and Universal Windows apps), and restoring preinstalled customizations to their factory state.
The options above are great for what they are intended for, but you could also do a repair install of Windows 10 by performing an in-place upgrade without losing anything other than all installed Windows Updates.
You will keep all apps, programs and personal data, just as when you upgrade, as an in-place upgrade repair uses the same basic mechanism as when you upgrade.
You will only be able to do a repair install of Windows 11 from within Windows 11. You will not be able to do a repair install at boot or in Safe Mode.
You will need at least around 8 GB + what Windows is currently using of free space available on the Windows drive.
The installation media (ex: ISO or USB) must be the same edition and same or newer build as your currently installed Windows 11. If it's not, then the repair install will fail.
The installation media (ex: ISO or USB) must be the same base language (aka: system default language) as your currently installed Windows 10. If it's not, then you will not keep anything.
Download the original ISO from Microsoft official site and burn into RUFUS, the run the setup within the same OS not via boot-up.