win11debloat.dev
2026.08.24

Tool · Runs in your browser

Undo builder

Tell it what Win11Debloat changed, and it writes a PowerShell script that reverts those tweaks with the project's own undo files, plus commands to reinstall the apps you want back. The easiest undo is still the wizard: untick the tweak and apply. This tool is for when you cannot or do not want to run Win11Debloat again.

Checked against Win11Debloat 2026.08.24Updated
1What did Win11Debloat change?

Fastest: paste your LastUsedSettings.json. Win11Debloat saves it after every run in its Config folder. With the one-liner, that is %TEMP%\Win11Debloat\Config\LastUsedSettings.json. Open it in Notepad and copy everything.

Or , or tick the tweaks yourself:

2Apps to reinstall

How to run the script

  1. Open PowerShell as administrator

    Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and accept the prompt.

  2. Paste the script and press Enter

    If you downloaded the .ps1 file instead, run powershell -ExecutionPolicy Bypass -File .\Undo-Win11Debloat.ps1 from the folder you saved it to.

  3. Sign out or restart

    Explorer restarts by itself. Some settings, such as policies and services, only change back after a sign-out or restart.

What the script does

  • Downloads release 2026.08.24 straight from Raphire's GitHub. The version is fixed, so the undo files match the ones that made the changes.
  • Runs reg import on the Regfiles\Undo file of each tweak you selected. That is exactly what Win11Debloat does when you untick a tweak in its wizard.
  • If you selected -DisableTelemetry, turns its 8 scheduled tasks back on, as the wizard's undo does.
  • Reinstalls the apps you ticked from the Microsoft Store with winget.
  • Deletes the download and restarts Explorer. Nothing is sent anywhere: the script is built in your browser, and you can read every line before you run it.

What it cannot undo

  • Your own earlier settings. Undo files set Windows' defaults. To get back exactly what you had, restore Win11Debloat's registry backup instead: how.
  • Drop-down settings such as taskbar alignment have no undo file. Pick their (Default) option in the wizard.
  • Tweaks that are PowerShell code, such as Widgets and Store search suggestions, are only undone by the wizard. The script lists them.
  • The Microsoft Store app cannot be reinstalled with winget. See the options.

Questions

Where do I find LastUsedSettings.json?

In the Config folder of Win11Debloat. With the one-liner it is %TEMP%\Win11Debloat\Config: paste that into the File Explorer address bar. With a downloaded copy, it is in the Config folder of the extracted release. It only reflects your most recent run.

Is it safe to run a script from a website?

Read it first: it is short, and every line is shown above before you copy it. It only downloads from github.com, runs reg import on the project's own undo files, and installs apps with winget. You can also skip the script and double-click the same undo files yourself.

I ran Win11Debloat several times. What should I paste?

The file only has your last run. Tick the tweaks from earlier runs by hand, or open Win11Debloat and use the wizard, which detects every applied tweak no matter when it was applied.

Keep going

Something wrong or out of date? Email hello@win11debloat.dev and we will fix it.