======================================= install freebsd nyuk nyuk ======================================= Seriously. Avoid the pain. ======================================= always run cmd as administrator ======================================= ======================================= basic cleanup --------------------------------------- run task manager: restart windows explorer run cmd administrator: chkdsk /r sfc /scannow defrag C: /O DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth restart computer run powershell administrator: Get-AppxPackage Microsoft.Windows.ShellExperienceHost | foreach {Add-AppxPackage -register "$($_. InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode} Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_. InstallLocation)\AppXManifest.xml"} Restart your computer open windows settings: windows update > update history > uninstall updates > uninstall bitsadmin /list bitsadmin /clear ======================================= add (permanent -p) static route --------------------------------------- route -p ADD 10.10.2.0 MASK 255.255.255.0 192.168.19.13 route delete 10.10.2.0 route print ======================================= list windows disks --------------------------------------- fsutil fsinfo drives wmic logicaldisk get deviceid, caption, name, volumename, description ======================================= repair boot fail etc. --------------------------------------- bcdedit chkdsk d: /r /f sfc /scannow sfc /scannow /offwindir=d:\windows /offbootdir=d:\ DISM /image:D:\ /cleanup-image /restorehealth ======================================= reset network --------------------------------------- netsh int ip reset c:\resetlog.txt netsh int TCP reset netsh int ipv4 reset ======================================= reinstall tcpip --------------------------------------- SYSTEM\CurrentControlSet\Services\Tcpip\Parameters SYSTEM\CurrentControlSet\Services\DHCP\Parameters ipconfig /relese ipconfig /renew ipconfig /flushdns netsh winsock reset ======================================= show wifi passwords (windows 10) --------------------------------------- netsh wlan show profiles netsh wlan show profile name="ssid profile name" key=clear ======================================= shutdown or restart /f force --------------------------------------- shutdown /s /t 0 shutdown /r /t 0 ======================================= mounting and unmounting disks --------------------------------------- mountvol mountvol d:\ \\?\Volume{cb44ea97-8283-4cd0-a4e1-fb3a3a914fdc}\ mountvol d:\ /p ########## or diskpart > list volume > select volume 4 > assign letter d