TLC for Your Windows Machine: Difference between revisions

From BozRetro
Jump to navigation Jump to search
(Created page with "If you have a modern Windows machine (10+), this might be a habit to get into. There's a bunch of command line tools to run once a month of so to make sure your file system is tip-top and healthy. You need to run the commands in PowerShell as Administrator. Dunno if you need help with that. ``` 1. chkdsk 2. sfc /scannow (Do this twice if it finds or fixes anything) 3. DISM /Online /Cleanup-Image /ScanHealth 4. DISM /Online /Cleanup-Image /RestoreHealth (only if #3 find...")
 
No edit summary
 
Line 3: Line 3:
You need to run the commands in PowerShell as Administrator. Dunno if you need help with that.
You need to run the commands in PowerShell as Administrator. Dunno if you need help with that.


```
<pre>
1. chkdsk
1. chkdsk
2. sfc /scannow (Do this twice if it finds or fixes anything)
2. sfc /scannow (Do this twice if it finds or fixes anything)
Line 10: Line 10:
5. Reboot machine at this point.
5. Reboot machine at this point.
6. sfc /scannow (once more, to make sure)
6. sfc /scannow (once more, to make sure)
```
</pre>

Latest revision as of 22:09, 29 March 2024

If you have a modern Windows machine (10+), this might be a habit to get into. There's a bunch of command line tools to run once a month of so to make sure your file system is tip-top and healthy.

You need to run the commands in PowerShell as Administrator. Dunno if you need help with that.

1. chkdsk
2. sfc /scannow (Do this twice if it finds or fixes anything)
3. DISM /Online /Cleanup-Image /ScanHealth
4. DISM /Online /Cleanup-Image /RestoreHealth (only if #3 finds any problems)
5. Reboot machine at this point.
6. sfc /scannow (once more, to make sure)