有时,一个经典程序的(Program)Microsoft Store应用程序可能会在您启动它时突然关闭。经典程序(即基于 EXE 的程序(EXE based programs))甚至是您从Microsoft Store下载的UWP 应用(UWP apps)程序(即UWP应用程序)都可能发生这种情况。
关于这些情况的困难部分是没有固定的原因发生。这可能是因为权限问题或存储问题或安装问题。可能性是巨大的。也就是说,在这篇文章中,我们将针对 Windows 11/10 应用程序立即打开和关闭的问题提出一些解决方案。
在这里,我们将讨论经典程序和UWP 应用程序(UWP Apps)。UWP应用程序也包括游戏。因此,如果您从商店下载的任何游戏导致问题,它将帮助您解决问题。
Windows 程序意外关闭
如果Microsoft Store UWP应用或经典 exe程序(Program)在您启动时意外关闭,您可以重置、修复或重新安装它。我们先来看看Win32程序。
1]修复程序
许多程序都带有内置修复选项,或者开发人员提供了可以帮助您修复软件的程序。由于我们不是在谈论一个特定的软件,您可能需要搜索相关程序是否提供类似的东西。
您可以通过设置(Settings)或控制面板(Control Panel)修复已安装的程序。
2]以管理员权限启动
也许应用程序需要以管理员权限启动才能正常工作。通常,程序会确保出现UAC提示,但如果由于某种原因无法启动它,那么您可以执行以下操作。
每次要启动程序时,右键单击并选择“以管理员身份运行”选项。(Run)或者您可以按照本指南将其设置为始终以管理员权限启动。
3]卸载和重新安装程序
如果没有其他工作,您可以卸载然后重新安装该程序。这一次,当你这样做时,请确保以管理员权限运行安装程序。这将确保它拥有所需的所有权限。
Windows 11/10 应用程序立即打开和关闭
尝试以下方法,看看它是否有助于UWP应用遵循此行为,以解决问题。您将需要其中一些的管理员权限。
1]运行(Run)Windows应用程序疑难解答(Windows Apps Troubleshooter)
转到Windows 10 设置(Settings)( Win+1 ),然后导航到更新(Update)和Security > Troubleshoot。运行Windows 应用商店应用(Windows Store Apps)疑难解答。
当您运行此应用程序疑难解答时,它会自动修复一些可能会阻止您的商店或应用程序运行的基本问题 - 例如较低的屏幕分辨率、不正确的安全或帐户设置等。
2]修复或重置UWP应用程序
就像我们修复或重新安装经典程序一样,可以重置 UWP 应用程序(UWP apps can be reset)。重置后,它的行为就好像该程序已再次安装一样。
- 打开 Windows 10设置(Settings)( Win + 1 ) 并转到应用程序(Apps)部分。
- 选择应用程序,然后单击高级(Advanced)选项链接
- 滚动找到“重置(Reset)”部分,您有两个选项。
- 修复——(Repair—It)如果应用程序无法正常运行,它会有所帮助。应用程序的数据不受影响。
- 重置—如果上述选项不起作用,则应用程序将被重新安装并恢复为默认设置
确保(Make)首先使用Repair,然后使用Reset选项。
3]重新安装Windows商店应用程序
如果重置和修复不起作用,最好重新安装Windows 应用商店(Windows Store)应用。您必须先卸载它,在这里您可以使用PowerShell 命令、Windows 设置或 10AppsManager。(PowerShell Command, Windows Settings, or 10AppsManager.)
完成后,访问Microsoft Store下载并安装它。
当我点击一个应用程序(App)时,它会立即关闭
如果您的应用程序在您单击它时打开并立即自动关闭,则说明其安装已损坏或第三方进程干扰了其正常运行。在干净启动状态(Clean Boot State)下修复应用程序或解决问题肯定会有所帮助。
阅读(Read):Microsoft Store 未打开或打开后立即关闭(Microsoft Store not opening or closes immediately after opening)。
我希望这篇文章很容易理解。
Windows Apps or Programs open and close immediately in Windows 11/10
At times it may happen that a Microsoft Store app os a classic Program abruptly сloѕes aѕ soon as you launch it. It can happen with thе classіc, i.e., EXE based programs or even with UWP apps you download from Microsoft Store, aka UWP apps.
The tough part about these situations is there is no fixed reason it happens. It can be because of a permission issue or storage problem or installation issue. Possibilities are immense. That said, in this post, we will suggest some solutions to the problem where Windows 11/10 apps open and close immediately.
Here we will talk about both the classic programs and the UWP Apps. The UWP apps include games as well. So if any of the games you downloaded from the store is causing the problem, it will help you resolve it.
Windows Programs close unexpectedly
If a Microsoft Store UWP app or a classic exe Program closes unexpectedly as soon as you launch it, you can reset, repair or reinstall it. Let’s take a look at Win32 programs first.
1] Repair the Program
Many programs come with a built-in repair option, or the developer offers a program that can help you repair the software. As we are not talking about one particular software, you may have to search if the program in question offers anything similar.
You can repair the installed program via Settings or the Control Panel.
2] Launch with Admin Privileges
Maybe the application needs to launch with admin permission to work properly. Usually, the programs will make sure the UAC prompt appears, but if, for some reason, it is not able to bring it up, then here is what you can do.
Every time you want to launch the program, right-click and choose the “Run as Administrator” option. Or you can follow this guide to set it to always launch with admin privileges.
3] Uninstall and Reinstall Programs
If nothing else works, you may uninstall and then reinstall the program. This time when you do it, make sure to run the installer with admin permission. That will make sure it will have all the permission that it needs.
Windows 11/10 apps open and close immediately
Try the following methods to see if it helps UWP apps from following this behavior, to resolve the problem. You will need admin permission for some of them.
1] Run the Windows Apps Troubleshooter
Go to Windows 10 Settings (Win+1), and navigate to Update & Security > Troubleshoot. Run the Windows Store Apps troubleshooter.
When you run this App troubleshooter, it automatically fixes some of the basic issues that might be preventing your Store or apps from running – such as lower screen resolution, incorrect security or account settings, etc.
2] Repair or Reset UWP Application
Like we repair or reinstall the classic programs, UWP apps can be reset. Once the reset is made, it will behave as if the program has been installed again.
- Open Windows 10 Settings (Win + 1) and go to the Apps section.
- Select the app, and click on the Advanced options link
- Scroll to find the Reset section, and you have two options.
- Repair—It will help if the app isn’t working right. App’s data is not affected.
- Reset—If the above option doesn’t help, then the app will be reinstalled and reverted to default settings
Make sure first to use Repair, and then the Reset option.
3] Reinstall Windows Store Apps
If reset and repair don’t work, it would be best to Reinstall Windows Store apps. You will have first to uninstall it, and here you can use PowerShell Command, Windows Settings, or 10AppsManager.
Having done that, visit the Microsoft Store to download and install it.
When I click on an App it closes immediately
If your apps open when you click on it and close automatically immediately, then either its installation has become corrupted or a 3rd-party process is interfering with its smooth functioning. Repairing the app or troubleshooting the issue in Clean Boot State is sure to help.
Read: Microsoft Store not opening or closes immediately after opening.
I hope the post was easy to follow.