From David's Wiki
Jump to navigation Jump to search
\( \newcommand{\P}[]{\unicode{xB6}} \newcommand{\AA}[]{\unicode{x212B}} \newcommand{\empty}[]{\emptyset} \newcommand{\O}[]{\emptyset} \newcommand{\Alpha}[]{Α} \newcommand{\Beta}[]{Β} \newcommand{\Epsilon}[]{Ε} \newcommand{\Iota}[]{Ι} \newcommand{\Kappa}[]{Κ} \newcommand{\Rho}[]{Ρ} \newcommand{\Tau}[]{Τ} \newcommand{\Zeta}[]{Ζ} \newcommand{\Mu}[]{\unicode{x039C}} \newcommand{\Chi}[]{Χ} \newcommand{\Eta}[]{\unicode{x0397}} \newcommand{\Nu}[]{\unicode{x039D}} \newcommand{\Omicron}[]{\unicode{x039F}} \DeclareMathOperator{\sgn}{sgn} \def\oiint{\mathop{\vcenter{\mathchoice{\huge\unicode{x222F}\,}{\unicode{x222F}}{\unicode{x222F}}{\unicode{x222F}}}\,}\nolimits} \def\oiiint{\mathop{\vcenter{\mathchoice{\huge\unicode{x2230}\,}{\unicode{x2230}}{\unicode{x2230}}{\unicode{x2230}}}\,}\nolimits} \)


Blue Screen

How to troubleshoot BSOD (Blue Screen of Death).

  • When windows encounters a BSOD, it will create a minidump (.dmp) file in C:\Windows\Minidump.
  • Copy out this dump file to somewhere like your desktop.
  • There are various software to open the minidump files such as WinDbg Preview and BlueScreenView,

WinDbg Preview

How to use WinDbg preview

  • Open your minidump
  • Type !analyze -v

Hosts file

Wikipedia: hosts (file)

Changing IDE/RAID to AHCI

You should be using ACHI instead of IDE or RAID.

  • Run bcdedit /set {current} safeboot minimal in a cmd prompt with admin
  • Change to ACHI in UEFI
  • Run bcdedit /deletevalue {current} safeboot
Reasons not to use Intel Raid
  • It is a fake raid managed by the Intel driver.
  • It will not be recognized in Linux. It is better to use software RAID on both Windows and Linux.
  • You typically run into problems when changing motherboards, and sometimes even just after updating the bios.
  • On consumer Intel boards (Z370, Z390), your M.2 slots are wired to your chipset which only has a PCIe x4 connction to your CPU.
    • This means you won't receive a significant performance boost if you use RAID 0 on 2 higher-end NVMe SSDs.

Application Management


Chocolatey is an open source package manager for windows.

Install Chocolatey by following the directions on

# Installs ffmpeg
choco install ffmpeg

# Upgrade all
choco upgrade all

# See installed packages
choco list --localonly

Event Viewer

See Reason for last Restart

  • Go under Windows Logs-System.
  • Filter with Event sources: User32

Windows Update

Prevent Auto-restarts

Auto-restarts are pretty annoying. They happen even if you're doing something such as training a model.
See the long complaint thread at

  1. Run gpedit.msc
  2. In the Local Group Policy Editor, go to
    Computer Configuration -> Administrative Templates-> Windows Components-> Windows Update
  3. Double-click on “No auto-restart with automatic installations of scheduled updates”.
  4. Select "Enabled", and then click "OK".
  • I'm not 100% sure if this works.
  • Group policies are only available on Windows 10 Pro.