Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image

Posted on 19/09/202022/03/2024 IT Expert By IT Expert 1 Comment on Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image
  1. Home
  2. Windows Server
  3. Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image
Remove pre-provisioned apps

You can use app package-servicing commands to add, remove, and list provisioned app packages (.appx or .appxbundle) in a Windows image. A .appxbundle, new for Windows 10, is a collection of app and resource packages used together to enrich the app experience while minimizing the disk footprint on a given PC. Please see How to determine Apps UWP and remove pre-provisioned appx in Windows 10, and How to deploy MBAM Client as part of a Windows Deployment.

These apps are available to users upon login on Windows 10 devices. Windows starts to install apps for that particular user. These apps are referred to as provisioned apps (pre-installed apps).

Pre-provisioned apps can be useless for some organisations. Often times, these apps are deleted and there are new updates from Microsoft prompting you to upgrade your Operating System. Most times, after these OS are upgraded to the latest version of Windows, these preinstalled apps appear again. To mitigate this issue, this appx needs to be removed in the Windows Image even before installing the OS.

Here are some possible errors you can encounter while resolving this issue Error 0xc1570103: The license file was not found in the specified path, and how to fix error 0xc1510114: The wim file needs to be remounted.

Remove Windows 10 Apps with DISM

For related articles, please see how to fix error 0xc1510114: The wim file needs to be remounted, Error 0x80070002: When trying to mount an image file, Error code 15601: 

The idea is, when an upgrade is performed. This appx will not be detected by the upgrade and therefore the appx will not be deployed. Before proceeding with the steps below. The Install.wim file needs to be mounted, after which you can manipulate the windows image file with DISM Tool. To mount a wim file, please use the command below.

dism /Mount-Wim /WimFile:<Path>image.wim /Index:<indexnumber> /MountDir:<mountDir>
dism /Mount-Wim /WimFile:G:\Path-to-the-install.wim-file\install.wim /Index:2 /MountDir:G:\Path-to-the-mount-file\MountZ

How to resolve DISM unspecified error when removing preinstalled packages, and Error 0xc1420127: The specified image in the specified wim is already mounted for read and write access.

How to remove Pre-installed Applications?

Via PowerShell or DISM. This guide will teach you how to remove packages in an install.wim image.

1: DISM:

Querying the Windows image for pre-installed apps requires using any of the following commands.

dism /Image: <MountedDir> /Get-Provisionedappxpackages
dism /image:G:\Path-to-the-mount-file\MountZ  /Get-Provisionedappxpackages

Now that you have determined the Package Family name (UWP), we can proceed to remove them.

Note: This Family name changes from one version of Windows to the other. Please pay attention to it or else you will get an error.

DISM

Next step in removing Windows 10 Apps with DISM is determining. Now, you can proceed to remove the appx after determining the PackageFullName to use as shown in the image above. use the /Remove-Package – Removes packages from the image to get rid of the package name this way.

dism /image:G:\Path-to-the-mount-file\MountZ /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsCalculator_2015.1009.20.0_neutral_~_8wekyb3d8bbwe
dism /image:G:\Path-to-the-mount-file\MountZ /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe

Enter the following command again to check whether your selected apps have been removed.

dism /image:G:\Path-to-the-mount-file\MountZ /Get-Provisionedappxpackages

Once you finish modifying the WIM file, simply commit (save) it. This will unmount and save the newest state.

dism /unmount-wim /mountdir:G:\Path-to-the-mount-file\MountZ /commit

2: PowerShell

You can also use PowerShell to add, remove, and list app packages (.appx or .appxbundle) per image or per user in a Windows installation. See the following articles on how to use the PowerShell instead of DISM.

Mount-WindowsImage -Path .\mount\ -ImagePath .\install.wim -Index 2
Remove-AppxProvisionedPackage -PackageName Microsoft.WindowsCalculator_2015.1009.20.0_neutral_~_8wekyb3d8bbwe -Path .\mount
Dismount-WindowsImage -Path .\mount -Save

I hope you found this blog post helpful. By now, you should have a vivid knowledge of how to remove Windows 10 Apps with DISM. Please let me know in the comment session if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Windows 10, Windows Apps

Post navigation

Previous Post: Add languages to Windows images using DISM and PowerShell
Next Post: Determine Apps UWP and remove pre-provisioned Appx in Windows

Related Posts

  • How To Upgrade Domain Controllers
    Build a New DC vs Swing Migration: Upgrade Server OS Correctly Windows Server
  • task manager not responding thumbnail
    Process Explorer: Replace built-in Task Manager Windows Server
  • Install ROOT CA Enterprise
    How to Install ROOT CA Enterprise and NPS Wifi Certificate Windows
  • install virtualbox on linux mint ubuntu
    How to install Windows Server 2019 on Virtualbox Windows Server
  • WDS server unable to start with Error Information 0xFFFFFDF0
    WDS server unable to start with Error Information 0xFFFFFDF0 Windows Server
  • Slide2 1
    Create and Delete AD DS Partition with NTDSUTIL.EXE Windows Server

More Related Articles

How To Upgrade Domain Controllers Build a New DC vs Swing Migration: Upgrade Server OS Correctly Windows Server
task manager not responding thumbnail Process Explorer: Replace built-in Task Manager Windows Server
Install ROOT CA Enterprise How to Install ROOT CA Enterprise and NPS Wifi Certificate Windows
install virtualbox on linux mint ubuntu How to install Windows Server 2019 on Virtualbox Windows Server
WDS server unable to start with Error Information 0xFFFFFDF0 WDS server unable to start with Error Information 0xFFFFFDF0 Windows Server
Slide2 1 Create and Delete AD DS Partition with NTDSUTIL.EXE Windows Server

Comment (1) on “Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image”

  1. Avatar photo SV1978 says:
    07/05/2022 at 12:30 PM

    Nice! Thanks for explaining this

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • GPO 2
    Why GPO is not the best solution for managing Windows updates Windows Server
  • Veeam Tape Trobleshooting
    Advanced Tape Troubleshooting: Diagnosing Veeam LTO Drive Issues with ITDT Backup
  • Featured image Chrome notification
    How to Disable Chrome Browser Notifications on Windows Windows
  • Microsoft365
    Microsoft 365 Backup: Why is it imperative to protect M365? Backup
  • Featured image GPU Temp
    How to check graphics card temperature on Windows 11 Network | Monitoring
  • AssignBitLockerBackuprights
    How to delegate permissions for backing up TPM password Network | Monitoring
  • Screenshot 2020 06 22 at 23.27.40 1
    Install MSSQL 2019 Developer Edition and SSMS on Windows Oracle/MSSQL/MySQL
  • His May Be The Server Does Not Exist
    Fix unable to contact Server: This may be the server does not exist Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,796 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.