Windows command reference
winget repair — repair one exact package
Invoke the registered repair operation for one exact package when that package/installer supports repair.
Risk: MediumReviewed: 2026-09-17
winget repair --id <Package.Id> -eWhen to use it
Use after confirming the exact package ID with winget list and only when the application is malfunctioning but remains installed.
When not to use it
Not every installer supports repair. Do not add --force as a generic workaround and do not target an ambiguous package name.
Primary reference