The Microsoft Store offers almost everything you could want for your Windows device, including the latest games, popular movies and TV shows, creative software, apps, and more. If a preinstalled Microsoft Store app is removed after a user signed in for the first time in Windows 10 and an event ID 240 error is generated, see the page for help. In today’s release, we will provide the workaround for the problem of the removal of the preinstalled Microsoft Store app the first time Windows users log in.
Microsoft Store app deleted when user signs in
You will experience this problem if you have used a DISM command deploy a Microsoft Store application in Windows 10. After a user logs on to the computer for the first time, the application is unexpectedly deleted. Additionally, an Event ID 240 error is generated.
Add a switch to the DISM command
To work around this problem, add the following switch when you use the DISM command to deploy the application:
/Region:"All"
Deployment Image Servicing and Management (DISM.exe) is a command line tool that can be used to maintain and prepare Windows images, including those used for Windows PE, Windows Recovery Environment (Windows RE) and Windows Setup. DISM can be used to manage a Windows system image (.wim) or a virtual hard disk (.vhd or .vhdx).
DISM in Windows 10 supports new features:
- Full Flash Update (.FFU): DISM supports the Full Flash Update (.FFU) format, which captures and applies an entire player, including partition information. This can make deployment faster and easier.
- Capacities: This new type of Windows package allows you to request services like .NET or languages without specifying the version. Use DISM to find multiple sources like Windows Update or your corporate servers to find and install the latest version.
- Operating system and provisioning package compression: Save space on a Windows image by running the operating system and other system files from compressed files. This replaces the WIMBoot functionality of Windows 8.1.
DISM is built into Windows and is available through the command line or from Windows PowerShell.
- Keywords: Troubleshooting, Windows applications