Windows: Difference between revisions

From David's Wiki
Tags: Mobile edit Mobile web edit
Line 31: Line 31:


; Drawbacks of Intel RAID
; Drawbacks of Intel RAID
* It is a software raid by the Intel driver.
* It is a proprietary software raid by the Intel driver which does not work with Linux.
* It will not be recognized in Linux.
* You may run into problems when changing motherboards, and sometimes even just after updating the bios.
* You may run into problems when changing motherboards, and sometimes even just after updating the bios.



Revision as of 13:47, 11 August 2021


Bash

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)
%SystemRoot%\System32\drivers\etc\hosts

Changing IDE/RAID to AHCI

Reference
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
Drawbacks of Intel RAID
  • It is a proprietary software raid by the Intel driver which does not work with Linux.
  • You may run into problems when changing motherboards, and sometimes even just after updating the bios.

Application Management

Chocolatey

Chocolatey is an open source package manager for windows.

Install Chocolatey by following the directions on https://chocolatey.org/install.

# 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 easily the worst part about windows. They happen even if you're doing something such as training a model or other data processing.
See the long complaint thread at https://answers.microsoft.com/en-us/windows/forum/all/disable-windows-10-automatic-restart-after-updates/16f1826d-a796-4de8-ac99-1d625420d265?auth=1.

  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".
Notes
  • I'm not 100% sure if this works.
  • Group policies are only available on Windows 10 Pro.