Thanks for the details.
I believe your system is corrupted or has missing files.
I think other attempts to repair the system using commands will also cause problems, so I suggest you perform an in-place upgrade.
It's a simple procedure, and you have the option to keep files, settings, and apps. Therefore, all your data is kept.
Download the ISO file to perform the procedure:
- Access the link below;
https://www.microsoft.com/en-us/software-download/windows11
- Under Download Windows 11 Disk Image (ISO), click Select download and select Windows 11 (multi-edition ISO for x64 devices);
- Click Download;
- Choose the language and click on Confirm;
(Download the ISO of the same language that Windows was originally installed in.)
- Then, click 64-bit Download.
- Wait for the download to finish and proceed to the procedure below.
After downloading the ISO, do the following:
- Double-click the ISO to run;
(After running the ISO, you may need to double-click the Setup file to start the procedure.)
- On the Install Windows 11 screen, uncheck I want to help make the installation of Windows better and select Change how Windows Setup download updates;
- On the next screen, select Not right now and click Next;
- Accept the terms of use;
- On the Ready to install screen, select Choose what to keep and select what you want to keep.
(It is in this step that you must check Keep personal files and apps so that all your data is kept.)
- Click on Install and wait for the procedure to finish. Your computer may restart several times.
After the procedure is complete, check if the Microsoft Store will open correctly.
If you get any errors or the problem persists, please let me know.
Feel free to ask any questions you may have.