[Win 11] Microsoft store's Apps close on while on sleeping

Anonymous
2022-12-26T22:09:32+00:00

The same problem as here:

https://answers.microsoft.com/en-us/windows/forum/all/microsoft-stores-apps-close-on-while-on-sleeping/52e9c038-fa91-46b4-b3e8-d3f52ddf9811?page=3

and here

https://answers.microsoft.com/en-us/windows/forum/all/window-11-closes-my-apps-when-my-computer-goes-to/bd2e212c-a9b3-4bcb-8fe1-f1f95a72336e?page=2

and here https://github.com/microsoft/terminal/issues/12513

Description: when my device goes to sleep it closes my apps which were installed with Microsoft Store.

Device: Microsoft Laptop Studio

System: Windows 11, all updates installed, drivers up to date.

Tried: all solutions from topics above.

  1. Reset Microsoft Store.
  2. Re-register all its apps and store itself with a powershell (successfully).

Result: none.

Additional info: I'm using 4-6 desktops and constantly switching between. If I have some of MS apps on some screen it can be closed (without any crash message) just on desktop switching (but not always). If laptop goes to sleep - all MS apps are closed every time.

PS: asked my co-workers with win11 - the problem persists almost on every machine with win11. Weird that Microsoft doesn't fix it. It's very annoying.

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

52 answers

Sort by: Newest
  1. Anonymous
    2023-01-26T07:41:21+00:00

    I'm on Win11 Pro and have the issue.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-01-26T05:42:25+00:00

    Surface Pro 8 Windows 11 Home 22621.1105 - exactly the same problem. A clean install doesn't help. The problem appeared about 2 months ago.

    A temporary solution is to restart the computer and never turn on sleep. As soon as the PC goes to sleep at least once, applications (only from the store) will start to close on all subsequent sleeps and you will have to restart the computer again. For me, the big problem is closing the Notepad app and, as a result, deleting the data in it (all printed text)

    One person on reddit said that switching from Windows 11 Home to Windows 11 Pro helped him. Indeed, please note that everyone who points out this problem is using the Home version.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-01-14T09:27:13+00:00

    Same problem for me. On windows 10 it was ok, on windows 11 problems on one laptop. Other laptops updated to W11 work fine. There is a focus in the discussion around apps from the store. There is also a question whether the problem is due to the ms store or the sleep function. In my opinion, the answer is good for both cases. Applications installed from the ms store or built into the system have the option of advanced settings in the settings menu in the applications tab. Applications installed from the installer, manually, do not have such an advanced functions tab in the settings apps menu. In the advanced menu, we see power management options for applications. So this is the common link of the problem. Thus, the applications from the store are characterized by a new functionality, energy management. And it is this functionality that causes problems with sleep in my opinion. So my question is. If this is such a common problem, and it's related to the developer's actions, why aren't we getting support from Microsoft? Why do we not get information around what we should look for to solve the problem. After all, looking for a problem with a flashlight is cruel. Can someone with professional knowledge finally help and point to the causes and solution of the problems? Please...

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-01-13T10:42:18+00:00

    I installed a driver package for my laptop (as I wrote earlier). But it helped only for a period of 3-4 sleeps-wake ups.

    If I see the issue again I reboot my laptop and it goes well for another couple of cycles. And then again and again.

    I tried the script and it seemed to help. Not sure for how long though.

    upd

    the script stopped helping

    Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
    

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-01-11T16:22:21+00:00

    I installed a driver package for my laptop (as I wrote earlier). But it helped only for a period of 3-4 sleeps-wake ups.

    If I see the issue again I reboot my laptop and it goes well for another couple of cycles. And then again and again.

    Was this answer helpful?

    0 comments No comments