Scan Windows system files and fix damaged ones.
Our advice. Suggested when Windows crashes, features fail to open, or updates keep failing. Run the image repair first if this one cannot fix everything.
- Takes 10 to 20 minutes
- Safe to stop, but let it finish for a full result
- If it cannot repair a file, run Repair the Windows image and then run this again
- What it does
- Runs the System File Checker with the full scan switch. It replaces damaged protected files from a local cache.
- Benefit
- Fixes crashes and errors caused by damaged Windows files.
- Risk
- None. It only restores files Windows protects.
Steps it runs (1)
repair.sfc · Source
Remove superseded update files from the component store.
- Low risk
- Optional: your choice
Our advice. Suggested when disk space is tight. Safe to skip otherwise.
- Takes 5 to 15 minutes
- Does not remove installed updates
- Windows also does this on its own on a schedule
- What it does
- Runs the DISM component cleanup. It removes older versions of components that updates replaced.
- Benefit
- Frees disk space, often a few gigabytes.
- Risk
- Low. You can no longer uninstall the oldest installed updates.
Steps it runs (1)
dism.exe /Online /Cleanup-Image /StartComponentCleanup
repair.component-cleanup · Source
Clear the list of website addresses your PC remembers.
Our advice. Suggested when a website will not open but others do, or after you changed DNS servers.
- Takes a second
- Does not touch your browser history or cookies
- Windows rebuilds the cache as you browse
- What it does
- Runs the command that empties the DNS resolver cache.
- Benefit
- Fixes sites that will not load after a server move or a DNS change.
- Risk
- None. Addresses are looked up again.
Steps it runs (1)
repair.flush-dns · Source
Let Windows retrim an SSD or defragment a hard drive.
- Safe
- Optional: your choice
Our advice. Suggested every month or two. Windows already does this on a schedule, so you can skip it.
- SSDs are retrimmed, never defragmented
- Hard drives can take a long time
- Windows runs it weekly by itself
- What it does
- Runs the drive optimizer on the system drive. Windows picks retrim for solid state drives and defragmentation for hard drives.
- Benefit
- Keeps a hard drive from slowing down and keeps an SSD healthy.
- Risk
- None.
Steps it runs (1)
defrag.exe %SystemDrive% /O
maintain.optimize-drives · Source
Undo TCP tuning that a tweak tool or a guide set with netsh.
- Low risk
- Only if it fits you
Our advice. Suggested if a tweak tool or a guide changed TCP settings and you want Windows' own back. Windows tunes TCP by itself, so there is nothing to gain when nothing was changed.
- Takes a second and needs no restart
- Changes no Winsock, IP or DNS setting
- Windows 11 build 26200 defaults: ECN off, timestamps allowed, CUBIC
- Run netsh int tcp show global before and after to see the difference
- What it does
- Runs netsh int tcp reset, which Microsoft's netsh reference describes as removing user configured settings and resetting all TCP parameters to their default values. On Windows 11 build 26200 the defaults are ECN off, timestamps allowed and the CUBIC congestion provider. It does not touch Winsock, the IP stack or DNS.
- Benefit
- Gives you Windows' own TCP settings back after a tool changed them. Tools that promise a faster network often set ECN on, timestamps off or the older CTCP congestion provider, none of which is a Windows default.
- Risk
- Low. Any TCP tuning you made on purpose is lost, and .Clarion does not remember what it was.
Steps it runs (1)
repair.reset-tcp-settings · Source · Source
Ask the router for a fresh address.
- Low risk
- Only if it fits you
Our advice. Suggested when other devices work on the same network but this PC says it has no internet or shows an address that starts with 169.254. Save your work first.
- Takes a few seconds
- Changes no setting
- A static address is not changed
- Does not touch Wi-Fi passwords
- What it does
- Runs ipconfig /release to give up the IP addresses the router handed out, then ipconfig /renew to ask for new ones. Adapters that are not connected are skipped.
- Benefit
- Fixes a PC that has a self-assigned address, an address clash or no connection after the router restarted or the PC changed networks.
- Risk
- Low. The connection drops for a few seconds, and a download or a call in progress may fail.
Steps it runs (2)
ipconfig.exe /releaseipconfig.exe /renew
repair.renew-ip · Source
Fix the Windows component store that updates and system file repair rely on.
- Low risk
- Only if it fits you
Our advice. Suggested when system file repair says it could not fix files, or Windows Update keeps failing.
- Takes 10 to 30 minutes and may look stuck near 20 percent
- Needs an internet connection
- Run Check and repair system files afterward
- What it does
- Runs the DISM restore health command. It downloads clean files from Windows Update when it needs them.
- Benefit
- Fixes failed updates and lets system file repair work when it could not.
- Risk
- Low. Needs an internet connection and can take a while.
Steps it runs (1)
dism.exe /Online /Cleanup-Image /RestoreHealth
repair.dism-restore · Source
Bring back winget when the Apps page says it was not found.
Our advice. Suggested when the Apps page says winget was not found and the winget command is not recognised in a terminal.
- Takes a few seconds
- Downloads nothing
- Cannot install App Installer when it is missing, only register it again
- Works for the account that is signed in
- What it does
- Registers App Installer, the Microsoft package that provides winget, for your account again, with the command Microsoft documents for a package that is on the PC but not registered. Nothing is downloaded and no app is installed or removed.
- Benefit
- Fixes winget for your account when App Installer is on the PC but Windows lost its registration, as it can after a profile change or a failed update.
- Risk
- None. It only registers a package Windows already has. If App Installer is not on the PC, it says so and changes nothing.
Steps it runs (1)
Register App Installer for this account
repair.winget · Source
Clear the update cache and restart the update services.
- Medium risk
- Only if it fits you
Our advice. Suggested only when updates are stuck or fail repeatedly. A restart afterward helps.
- A restore point is made first
- Old folders are kept as .old until the next reset
- Services are started again even if a step fails
- The next update scan takes longer
- What it does
- Stops the update services, renames the SoftwareDistribution and catroot2 folders so Windows creates fresh ones, then starts the services again. Old copies are kept with an .old name.
- Benefit
- Fixes updates that are stuck, fail to download or keep failing to install.
- Risk
- Medium. Update history looks empty until the next scan. The services are always started again, even if a step fails.
- Takes about 3 minutes.
- A restore point is made first.
- Restart needed to finish.
Steps it runs (10)
net.exe stop wuauservnet.exe stop bitsnet.exe stop cryptsvcDelete %SystemRoot%\SoftwareDistribution.oldDelete %SystemRoot%\System32\catroot2.oldRename %SystemRoot%\SoftwareDistribution to SoftwareDistribution.oldRename %SystemRoot%\System32\catroot2 to catroot2.oldAfterward, always: net.exe start cryptsvcAfterward, always: net.exe start bitsAfterward, always: net.exe start wuauserv
repair.reset-update · Source
Clear the Store cache without changing your apps or account.
Our advice. Suggested when the Microsoft Store is blank, slow or stuck.
- Takes under a minute
- The Store opens by itself when it is done
- Does not remove apps or sign you out
- What it does
- Runs the Store reset tool. It clears the Store cache and opens the Store when it finishes.
- Benefit
- Fixes a Store that will not load, download or update apps.
- Risk
- None. Your apps and account are not changed.
Steps it runs (1)
repair.store-reset
Put Windows networking back to a clean state.
- Medium risk
- Only if it fits you
Our advice. Suggested only after simpler fixes failed. Note your static IP and VPN details first.
- A restore point is made first
- Restart required
- VPN and some security programs may need repair afterward
- Does not remove Wi-Fi passwords
- What it does
- Resets Winsock and the IP stack, then flushes the DNS cache. A restart finishes the reset.
- Benefit
- Can fix a PC that has no internet, drops connections or has odd network errors after software changes.
- Risk
- Medium. Winsock add-ons from VPN and security software are removed and may need to be reinstalled. Static IP settings may be cleared.
- Takes about 2 minutes.
- A restore point is made first.
- Restart needed to finish.
Steps it runs (3)
netsh.exe winsock resetnetsh.exe int ip resetipconfig.exe /flushdns
repair.reset-network · Source
Bring back a taskbar, Start menu or desktop that has frozen.
- Low risk
- Only if it fits you
Our advice. Suggested when the taskbar or Start menu is frozen. It is the first thing to try, before a restart.
- Takes a few seconds
- Changes no setting
- The taskbar and desktop icons disappear for a moment, then come back
- What it does
- Ends the Windows Explorer process. Windows starts it again by itself a moment later, which reloads the taskbar, Start menu and desktop without restarting the PC.
- Benefit
- Often fixes a frozen or blank taskbar, a Start menu that will not open, or a desktop that has stopped responding.
- Risk
- Low. Open File Explorer windows close, and a file copy that was running in one may be interrupted. Other programs are not touched.
Steps it runs (1)
taskkill.exe /F /IM explorer.exe
repair.restart-explorer · Source
Reconnect Bluetooth devices that keep dropping.
- Low risk
- Only if it fits you
Our advice. Suggested when Bluetooth devices keep disconnecting. If it comes back after every restart, check the adapter's power saving setting and the driver.
- Takes a few seconds
- Changes no setting and removes no pairing
- The fix does not last across a restart of the PC if the cause is a power saving setting or a driver
- What it does
- Stops the Bluetooth Support Service and starts it again, the same as restarting it in the Services window. The service is always started again, even if the stop fails.
- Benefit
- Clears a stuck Bluetooth stack that keeps disconnecting devices.
- Risk
- Low. Paired devices disconnect for a moment and should reconnect by themselves. A Bluetooth keyboard or mouse that does not may need to be switched off and on, so keep another way to type nearby.
Steps it runs (2)
net.exe stop bthservAfterward, always: net.exe start bthserv
repair.restart-bluetooth · Source
Bring sound back in an app that is silent while Windows sounds still play.
- Low risk
- Only if it fits you
Our advice. Suggested when an app is silent while Windows sounds still play. Check the app's volume and output device first.
- Takes a few seconds
- Changes no setting
- Microsoft lists this as a fix for app audio that fails while system sounds work
- What it does
- Stops the Windows Audio and Windows Audio Endpoint Builder services and starts them again, the same as restarting each one in the Services window. The services are always started again, even if a step fails.
- Benefit
- Clears a temporary audio fault where one app has no sound but system sounds still work.
- Risk
- Low. Sound cuts out for a few seconds, and an app that was playing may need to be reopened.
Steps it runs (4)
net.exe stop audiosrvnet.exe stop AudioEndpointBuilder /yAfterward, always: net.exe start AudioEndpointBuilderAfterward, always: net.exe start audiosrv
repair.restart-audio · Source
Bring back a screen that is black, frozen, stretched or glitching without restarting the PC.
- Medium risk
- Only if it fits you
Our advice. Suggested when the picture is wrong and a restart would be the next step. Save your work and close games first.
- Takes a few seconds
- Changes no setting and installs nothing
- Windows has no separate step to confirm the picture came back, so look at the screen afterwards
- A PC with two graphics adapters restarts both, one after the other
- What it does
- Asks Windows to stop and start the driver of each graphics adapter that is running. This is the request Device Manager makes when a device's properties change, and Microsoft's documentation says Windows then stops and restarts the device. A graphics adapter that is switched off, or that already has a problem, is left alone.
- Benefit
- Often fixes a display that went black or garbled after sleep, a driver crash, or plugging in a monitor, and it is quicker than a restart.
- Risk
- Medium. The screen goes black for a second or two. A game, a video or a program drawing with the graphics card may close or stop working, and unsaved work in it can be lost.
Steps it runs (1)
Restart the graphics driver
repair.restart-graphics · Source · Source
Ask Windows to set the clock from its time source right now.
- Low risk
- Only if it fits you
Our advice. Suggested when the clock is wrong or sites report a certificate or time error. Make sure Set time automatically and the time zone are right in Settings first.
- Takes a few seconds and needs an internet connection
- Changes no setting
- If the clock is wrong again after every restart, the battery on the motherboard may be dead
- What it does
- Starts the Windows Time service if it is stopped, then runs w32tm /resync, which tells the PC to resynchronize its clock as soon as possible and waits for it to finish.
- Benefit
- Fixes a clock that has drifted, which can break secure websites, sign-in and Store downloads.
- Risk
- Low. The clock may jump by the amount it was off, which can confuse a program that was timing something.
Steps it runs (2)
net.exe start w32timew32tm.exe /resync
repair.resync-clock · Source
Check whether the Windows component store is damaged.
- Safe
- Optional: your choice
Our advice. Suggested before the image repair. Safe to skip if you already know you need the repair.
- Takes 5 to 10 minutes
- Read only, nothing is changed
- Reports whether the image can be repaired
- What it does
- Runs the DISM image scan. It only reports and changes nothing.
- Benefit
- Tells you whether a repair is needed before you run one.
- Risk
- None. Read only.
Steps it runs (1)
dism.exe /Online /Cleanup-Image /ScanHealth
repair.dism-scan · Source
Check the drive for file system problems without taking it offline.
- Safe
- Optional: your choice
Our advice. Suggested if you see file errors, slowdowns or crashes. Safe to skip on a healthy PC.
- Read only, nothing is repaired
- Takes a few minutes
- If it finds problems, repair at the next restart
- What it does
- Runs the online scan of the system drive. It reports problems and does not repair them.
- Benefit
- Finds file system damage early.
- Risk
- None. Read only.
Steps it runs (1)
chkdsk.exe %SystemDrive% /scan
repair.chkdsk-scan · Source