Knowing a few basic Powershell commands can save you a lot of hassle, and even save you from having to re-install Windows.
To get into Powershell, just type ‘Powershell’ in the search box and you will see ‘Windows Powershell’ come up. Right click on that and select ‘Run As Administrator’. You will find yourself at the C;\Windows\System32 command prompt.
The first really usefull Powershell command to know is…
sfc /scannow
…which you type at the command prompt. This command checks that all your system files are OK and not corrupted. It takes a few minutes and will either say all is OK, or that there were issues it fixed, or…worst case…that there were issues it could not fix. That’s often the cause of issues that cause people to re-install Windows. But…you seldom do really need to reinstall windows. Instead, if you ever do have scannow give unfixable errors, or Windows seems screwed up, run this command…
DISM /Online /Cleanup-Image /RestoreHealth
Deployment Image Service and Management ( DISM ) will online generate a new Windows image on your computer. It will un-screw-up even the worst of Windows screw ups.