If for some reason the search box isn’t working, press the Windows key + R on your keyboard, type “PowerShell” and press Enter. That runs PowerShell, but not the administrator account, which you need to be using. That takes a few more steps: Right-click the PowerShell icon on the taskbar and select “Pin to taskbar.” Then close PowerShell. Now right-click the PowerShell icon on the taskbar and select “Run as administrator.”
Once you’re running PowerShell as an administrator, type sfc /scannow and press Enter (note the space before the slash). PowerShell will scan your system for corrupt files. This can take some time.
When PowerShell finishes scanning your system, it will tell you that it found and fixed corrupt files, found corrupt files but couldn’t fix them, or found no corrupt files. If it found corrupt files but couldn’t fix them, type this command and press Enter: dism /online /cleanup-image /restorehealth. That should fix the problem.
Recover lost storage space
Windows 10 can be a hard-drive hog, especially if you’ve upgraded to it from a previous version of Windows, or after a major Windows 10 update. That’s because when you upgrade or install a major update, Windows 10 keeps the earlier version of the operating system, just in case you want to revert to it.
But that old operating system version is taking up several gigabytes of storage space. If you’ve got a PC with plenty of storage, no worries. But if you’re stretched for storage, it can be a serious problem.
For example, I have an HP Stream laptop with 32GB of storage, and when I tried to upgrade to the newest version of Windows 10 I couldn’t do it — my old Windows version took up so much space, the new version of Windows couldn’t install.
If you’re sure you’re not going to want to revert to your old version of Windows, you can easily delete it. It’s stored in a folder called Windows.old that you’ll find in the /Windows folder. Rather than deleting it manually, though, use the Disk Cleanup tool:
1. Run the tool by typing Disk Cleanup in the search bar and clicking the Disk Cleanup search result that appears. The tool will take a few minutes to look through your system.
2. When Disk Cleanup has finished, scroll down the list of files you can clean up and check the box next to Previous Windows installation(s). This entry will only appear if you’ve got a previous Windows installation on your hard disk.
3. Click OK. The old version of Windows will be deleted, and you’ll get your hard disk space back.
Enable Fast Startup
Sign up for CIO Asia eNewsletters.