Recently, I ran in to some funky issues with Windows on my PC. My instant thought was “Oh god, another reinstall” but luckily, that wasn’t the case.
Thankfully Microsoft knows how unreliable Windows can be, so with Windows 10 you have a few options for in-place repairs without losing data, or even the ability to do an in-place reinstallation without losing data! Sadly, it took a lot of soul searching to find this information online so I decided to whack it here on this bog post so its easier for me (and you if you’re choosing to read this) to find.
Most issues can be fixed by running a Windows Update, this should be your first step. Run the command below if you can’t get to the Update utility via the UI. You will need an elevated command prompt.
Windows Update didn’t fix it? Not to worry, DISM has your back!
DISM stands for Deployment Image Servicing and Management. You can run this to detect and repair corrupted system files using the command below.
dism.exe /Online /Cleanup-image /Restorehealth
Once this is done, run the following command to ensure that system files are fully repaired.
Finally, you can now do a check for Windows Updates again (hopefully via the UI as your problems have been fixed!). This makes sure you have all the latest and greatest bugfixes and security updates. You should ensure that auto updates are enabled to keep you protected against the latest threats. Yes, I know, there have been some… buggy releases but your data is important.
You can always find out more about the above commands by clicking here.
Job well done I say!