Skip to content

Instantly share code, notes, and snippets.

@ComFreek
Last active July 14, 2018 17:58
Show Gist options
  • Save ComFreek/89aa2fac9e474644c632 to your computer and use it in GitHub Desktop.
Save ComFreek/89aa2fac9e474644c632 to your computer and use it in GitHub Desktop.
Useful Windows commands

Useful Windows commands

Repair Windows

  • Windows < 8: sfc /scannow
  • Windows >= 8: DISM /Online /Cleanup-Image /RestoreHealth (requires an Internet connection)

Repair a NTFS formatted hard drive

chkdsk C: /F /R

Really disable autocorrect & spell checking in Microsoft Edge

See the accepted answer on "How to really turn off already disabled AutoCorrect feature in Windows 10" using group policies.

Recover erroneously hidden icons in the system tray (e.g. the sound symbol)

See http://www.drwindows.de/windows-anleitungen-und-faq/14758-verlorene-icons-im-infobereich-wiederherstellen.html (in German)

Basically:

  1. Remove the following keys from HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify:

    • IconsStreams
    • PastIconsStream
  2. Restart explorer.exe through the Task Manager (or simply restart your PC).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment