Windows: Difference between revisions

From David's Wiki
Line 23: Line 23:
[http://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/ Reference]<br>
[http://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/ Reference]<br>
You should be using ACHI instead of IDE or RAID.<br>
You should be using ACHI instead of IDE or RAID.<br>
Note that Intel's Rapid Storage Technology software raid won't be recognized by linux systems.<br>
* Run <code>bcdedit /set {current} safeboot minimal</code> in a cmd prompt with admin
* Run <code>bcdedit /set {current} safeboot minimal</code> in a cmd prompt with admin
* Change to ACHI in UEFI
* Change to ACHI in UEFI
* Run <code>bcdedit /deletevalue {current} safeboot</code>
* Run <code>bcdedit /deletevalue {current} safeboot</code>
; 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.
** See the [https://wiki.archlinux.org/index.php/RAID Archwiki RAID] page
* 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==
==Application Management==

Revision as of 02:44, 29 March 2020


Bash

Download Git for Windows to get a copy of Git 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
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

Chocolatey is an open source package manager for windows.
Install Chocolatey by following the directions on https://chocolatey.org/install.
It is particularly useful for managing CLI applications such as ffmpeg and youtube-dl.

# Installs ffmpeg
choco install ffmpeg