Windows: Difference between revisions
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
* Change to ACHI in UEFI. On newer boards, it may be known as Intel VMD. | * 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> | ||
==Application Management== | ==Application Management== | ||
Line 63: | Line 59: | ||
==Windows Update== | ==Windows Update== | ||
===Prevent Auto-restarts=== | ===Prevent Auto-restarts=== | ||
https://superuser.com/questions/1843873/windows-11-seems-to-have-disabled-all-ways-to-get-around-auto-update-restarts-i | |||
Latest revision as of 07:57, 30 November 2024
Bash
- Git for Windows - this is a modified version of MSYS2
- MSYS2
- Cygwin
- Windows Subsystem for Linux - WSL2 is a full linux VM
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,
- 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
How to use WinDbg preview
- Open your minidump
- Type
!analyze -v
Hosts file
Wikipedia: hosts (file)
%SystemRoot%\System32\drivers\etc\hosts
Changing IDE/RAID/VMD to AHCI
Reference
If you are not using Intel RAID, 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. On newer boards, it may be known as Intel VMD.
- Run
bcdedit /deletevalue {current} safeboot
Application Management
Winget
Docs Winget is included in App Installer
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