Windows: Difference between revisions

 
(10 intermediate revisions by the same user not shown)
Line 13: Line 13:
* Copy out this dump file to somewhere like your desktop.<br>
* Copy out this dump file to somewhere like your desktop.<br>
* There are various software to open the minidump files such as [https://www.microsoft.com/en-us/p/windbg-preview/9pgjgd53tn86 WinDbg Preview] and [https://www.nirsoft.net/utils/blue_screen_view.html BlueScreenView],
* There are various software to open the minidump files such as [https://www.microsoft.com/en-us/p/windbg-preview/9pgjgd53tn86 WinDbg Preview] and [https://www.nirsoft.net/utils/blue_screen_view.html BlueScreenView],
* Typically, blue screens are caused by driver crashes in my experience. Windbg preview will point out the driver which crashed from the minidump.


===WinDbg Preview===
===WinDbg Preview===
Line 23: Line 24:
<code>%SystemRoot%\System32\drivers\etc\hosts</code>
<code>%SystemRoot%\System32\drivers\etc\hosts</code>


==Changing IDE/RAID to AHCI==
==Changing IDE/RAID/VMD to AHCI==
[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>
If you are not using Intel RAID, you should be using ACHI instead of IDE or RAID.<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. On newer boards, it may be known as Intel VMD.
* Run <code>bcdedit /deletevalue {current} safeboot</code>
* Run <code>bcdedit /deletevalue {current} safeboot</code>


; Reasons not to use Intel Raid
==Application Management==
* It is a fake raid managed by the Intel driver.
===Winget===
* It will not be recognized in Linux. It is better to use software RAID on both Windows and Linux.
[https://learn.microsoft.com/en-us/windows/package-manager/winget/ Docs]
** See [[Archwiki: RAID]]
Winget is included in [https://www.microsoft.com/p/app-installer/9nblggh4nns1#activetab=pivot:overviewtab App Installer]
* 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===  
[https://chocolatey.org/ Chocolatey] is an open source package manager for windows.<br>
[https://chocolatey.org/ Chocolatey] is an open source package manager for windows.<br>
Line 59: Line 56:
* Go under <code>Windows Logs</code>-<code>System</code>.
* Go under <code>Windows Logs</code>-<code>System</code>.
* Filter with Event sources: User32
* Filter with Event sources: User32
==Windows Update==
===Prevent Auto-restarts===
https://superuser.com/questions/1843873/windows-11-seems-to-have-disabled-all-ways-to-get-around-auto-update-restarts-i