Misc Tidbits: Difference between revisions
Jump to navigation
Jump to search
(Created initial page) |
m (Added category) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Microsoft Windows]] | |||
Miscellaneous Windows tidbits that haven't been put into their own section yet. | Miscellaneous Windows tidbits that haven't been put into their own section yet. | ||
Line 11: | Line 12: | ||
* It then ensures that the system is "in sync" with the saved versions of known system files. | * It then ensures that the system is "in sync" with the saved versions of known system files. | ||
* Then SFC will be to able to detect and fix any problems with the system. | * Then SFC will be to able to detect and fix any problems with the system. | ||
The two DISM commands will help ensure that the SFC command is able to run and repair windows. | The two DISM commands will help ensure that the SFC command is able to run and repair windows. |
Latest revision as of 04:22, 18 February 2024
Miscellaneous Windows tidbits that haven't been put into their own section yet.
Repairing Windows
Use the following commands to repair Windows
dism /online /cleanup-image /spsuperseded /hidesp
dism /online /cleanup-image /restorehealth
sfc /scannow
This will:
- Clean/remove old service packs (ones that have been superseded by others) and remove them from the list to be uninstalled.
- It then ensures that the system is "in sync" with the saved versions of known system files.
- Then SFC will be to able to detect and fix any problems with the system.
The two DISM commands will help ensure that the SFC command is able to run and repair windows.