Uninstall an App from the Command Line with winget

Remove installed programs by ID or name with winget uninstall — scriptable, exact and faster than hunting through Settings.

WindowscleanupwingetsystemMedium risk
Run `winget uninstall --id App.Cleaner -e` in a terminal to uninstall the app whose winget ID is App.Cleaner.

01Command

Command
$ winget uninstall --id App.Cleaner -e

02What it does

Settings' Apps list only shows some programs, and Control Panel buries the rest. winget uninstall works for every package the Windows package manager knows: run `winget list` to find the app's ID, then uninstall with --id plus -e so a similarly named app cannot match by mistake. It also accepts --silent to suppress the app's own uninstaller dialogs, which makes batch cleanup of several machines painless.

03Risk

RiskMedium risk
RequirementsRequires Windows 10 1809+ with App Installer (winget) installed. Some apps silently leave settings behind; elevated apps may trigger a UAC prompt.
!Warning: Some uninstallers skip app settings and leftover files; check the developer's folder in %APPDATA% if you plan to reinstall later.

04Undo

Undo
$ Reinstall the app with `winget install --id App.Cleaner -e`; the uninstall itself cannot be undone.

05Sources

Last verified: 2026-09-19 · Category: System & Settings

06Related solutions