In the registry editor, navigate to the following destination path:
Press Win + R keys to open the Run box, and then type regedit in it and hit Enter. Note: Please follow the following instruction carefully to prevent any incorrect registry edits that can cause further problems. If a connection error pops up when you open Microsoft Store or download an app, you can edit the registry for connection errors. After about 10 seconds, the window will close and Microsoft Store will open automatically. Then a blank command prompt window will pop up, the tool begins to clear Store cache. Press Win + R keys to open the Run box, and then type WSReset.exe in it and hit Enter. You can resolve the problem by clearing the Store cache. Perhaps your Windows Store cache gets damaged, which might cause Microsoft Store not working properly.