Chapter 2 - Computer Maintenance - OS Tune Up (Windows 10)
Chapter 1 we cleaned up the junk files and now we will look at the operating system to see if there is any corruption.
We will use SFC (System File Checker) and DISM (Deployment Image Servicing and Managing).
System File Checker is a Microsoft Windows utility that allows users to scan for and restore corruptions in system files.
Deployment Image Servicing and Management is a command-line tool that is used to mount and service Windows images.
Let's clean our OS!
OS Tune Up
Open a command prompt (search cmd and right click) with administrator privileges. Click Yes if you are prompted to run the program by the User Account Control.
Type sfc /scannow and press enter. It will take 5-10 minutes to process.
Success! One of three outcomes. 1) No issues, 2) There were issues and were fixed and 3) you have issues.
We will need to use DISM (Deployment Image Servicing and Management) to check the health of the image when sfc fails.
Type Dism /Online /Cleanup-Image /CheckHealth and press enter.
The command checks for corruption in the image but does not repair the issues. We will scan the health next.
Type Dism /Online /Cleanup-Image /ScanHealth and press enter. This will take about 10 minutes to complete.
The command checks for corruption in the component store but does not repair the issues. We will start the component clean up.
Type Dism /Online /Cleanup-Image /StartComponentCleanup
The command will clean up windows component store. We will now run a command that should fix any issues.
Type Dism /Online /Cleanup-Image /RestoreHealth and press enter.
The scan might take some time to complete if there are any issues and it will try to fix them automatically.
If there is corruption found then windows update will be used by default.
What if I still have issues?
It could be drivers or hardware. Hardware is the physical component while drivers connect hardware to software.
We have cleaned up the junk files and now ran some commands to check and fix any issues with the health of our operating system.
There could be additional issues if you have problems after running these commands.
You might need to run additional steps to repair DISM if that is corrupt.
It could also be something else too. We will check hardware and drivers next.
We have covered so far...
CH 1: Computer Maintenance - Junk File Tune Up
CH 2: Computer Maintenance - OS Tune Up