Because it is an open-source, community-developed tool, download install-wim-tweak.exe from a trusted repository like GitHub. Place the executable into a dedicated folder, such as C:\Debloat\ . Step 2: Open an Elevated Command Prompt
dism /Mount-Wim /WimFile:C:\WinOS\install.wim /Index:6 /MountDir:C:\WinOS\Mount Use code with caution. Step 3: Execute install-wim-tweak.exe
# Remove a provisioned app from the installation media completely Remove-AppxProvisionedPackage -Online -PackageName "Microsoft.XboxApp_db3h8ee5wi2w1" Use code with caution. 2. Advanced Customization Toolkits
: Removing data-collection packages that compromise user privacy. install-wim-tweak.exe
: Reducing background services and RAM usage by eliminating unnecessary system components. How install-wim-tweak.exe Works
| Command | Description | | :--- | :--- | | /? | Shows a small help overview with all available options. | | /o | Sets the tool to work on the . This is used for online modifications. | | /p | Sets the tool to work on an offline, mounted WIM image , requiring a path to the mount directory. | | /l | Lists all the packages available in the target image and writes them to a text file ( win6x_reg_tweak_list.txt ). This is a crucial first step to identify exact package names. | | /c <Package_Name> | Processes a specific component by its name. For example, /c Microsoft-Windows-Cortana . | | /r | The most powerful and dangerous switch. When used with /c , it removes the specified package. Without it, the tool only unhides the package. | | /n | Instructs the tool not to create backups of the registry keys it modifies. Use with extreme caution as it prevents reverting changes. |
: Windows flags many built-in features as "permanent" or "hidden," preventing them from being uninstalled via the Control Panel. This tool modifies the component's registry keys to make them removable. WIM Customization Step 3: Execute install-wim-tweak
While install_wim_tweak.exe is a powerful solution for system component removal, it comes with inherent risks. Proceed with caution and ensure you have a backup before making any changes.
Windows manages its optional features and system components through specific registry keys located under the Component Based Servicing (CBS) hive.
: Completely deletes underlying payload files, freeing up gigabytes of disk space on low-end systems. : Reducing background services and RAM usage by
When you run install-wim-tweak.exe, it allows you to interact with the WIM file using a command-line interface. You can use various options and parameters to specify the changes you want to make to the WIM file. For example, you can:
This process involves a few more steps. First, you need to mount the install.wim file using a tool like DISM. You can list the components using /p <MountPath> /l . After mounting your image to, for example, D:\mount , you could list all components with the following command:
Now that the components are unhidden, use native DISM features to find and wipe unwanted bloatware. For instance, to search for and remove Windows Defender packages: