Skip to content

Importing & Exporting Configuration

Jeffrey edited this page Jun 25, 2026 · 11 revisions

Win11Debloat allows you to easily export your selected apps, tweaks and deployment options to a configuration file. This configuration file can then be imported on any other system, allowing you to quickly apply the exact same settings without having to select each option manually. This is especially useful if you manage multiple PC's, or if you want an automated, reproducible setup.

Exporting a configuration

Through the graphical interface

Important

The selected changes won't be applied when you export your configuration. If you wish to apply them, ensure you also apply the changes in the main window of the script.

  1. Launch Win11Debloat.
  2. In the main window, select the apps, tweaks and deployment options you wish to save, just like you would normally.
  3. Open the script menu in the top left and click Export config.
  4. The Export Configuration window appears, listing the three categories (Applications, System Tweaks and Deployment Settings). Each category shows a short summary of what's currently selected. Any category with nothing selected is greyed out.
  5. Tick the categories you wish to include in the export and click Export Settings.
  6. A save dialog appears, pick a location and hit Save.

Through the command-line

It is not currently possible to export a configuration via the command-line interface.

Importing a configuration

Through the graphical interface

Note

Importing a configuration does not immediately apply any changes. It only updates the selection in the interface, so you can review and adjust it before applying the changes.

  1. Launch Win11Debloat.
  2. Open the script menu in the top left and click Import config.
  3. An open dialog appears. Browse to the config file you wish to import.
  4. The Import Configuration window appears, listing the same three categories as the export window. Each category shows a summary of the settings included in the config. Any category that isn't present in the file is greyed out.
  5. Tick the categories you wish to import and click Import Settings.
  6. You'll be taken to the Review Changes tab where you can review the imported changes and apply them.

Through the command-line

You can also import a config file directly from the command-line. This is useful for automation, or for applying the same configuration to multiple PC's. To do so, use the -Config parameter followed by the path to your config file.

Example:

& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -Config "C:\Path\To\Win11Debloat-Config.json"

The script will show you an overview of the settings imported from the config file. Simply press any key to continue and apply the changes.

Tip

A full overview of all supported command-line parameters can be found here.

Previously Applied Settings

Every time you run Win11Debloat, the script automatically saves the selected apps, tweaks and deployment options to the LastUsedSettings.json file in the Config folder. This happens in the background, without you needing to export a config file yourself. The next time you run the script, you can quickly re-apply that exact same selection.

Note

If you used the quick method to launch the script, this file can be found in %temp%\Win11Debloat\Config.

Through the graphical interface

Launch the script and choose Custom Setup. On the App Removal and System Tweaks pages, you should see the Previously selected apps and Previously selected settings options in the Quick Select menu. Tick these to quickly select your previously used settings.

Through the command-line

There are two ways to re-apply your previously selected settings from the command-line:

Use the -RunSavedSettings parameter to skip the menu and apply your last used settings directly:

& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunSavedSettings

Or launch the interactive CLI menu with the -CLI parameter and choose option (3) Quickly apply your last used settings. This option only appears if the LastUsedSettings.json file exists:

& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -CLI

Clone this wiki locally