Skip to content

Instantly share code, notes, and snippets.

View djibe's full-sized avatar

JB djibe

View GitHub Profile
@djibe
djibe / Set-Windows11EthernetOptimization.ps1
Last active October 27, 2026 13:14
Windows 11 Ethernet Optimizations
<# Run: powershell -executionpolicy bypass -file .\Set-Windows11EthernetOptimization.ps1
TCP Window Auto-Tuning normal
Speed & Duplex Auto Negotiation
Receive Buffers 512
Transmit Buffers 128
Energy Efficient Ethernet (EEE) Disabled
Flow Control Rx & Tx Enabled
Interrupt Moderation Disabled
Receive Side Scaling (RSS) Enabled
Large Send Offload (LSO, IPv4/IPv6) Disabled
@djibe
djibe / windows10-to-11-upgrade.ps1
Last active November 10, 2026 14:41
Windows 10 to 11 Upgrade script
# --------------------------------------------------
# Upgrade Windows 10 to Windows 11
# --------------------------------------------------
# cd "$env:USERPROFILE\Downloads"
# Run with: powershell -executionpolicy bypass -File .\windows10-to-11-upgrade.ps1
# --------------------------------------------------
# 0. Check Windows Version & Build (must run first)
# --------------------------------------------------
Write-Host "Checking operating system version..." -ForegroundColor Cyan
@djibe
djibe / windows-tips.md
Last active October 25, 2026 18:11
Good tips for Windows 11

Must have Windows tips

@djibe
djibe / windows11-dism-error-87.md
Last active October 11, 2026 14:51
DISM error 87

When you run dism /online /cleanup-image /restorehealth, you get Dism error 87, /cleanup-image is unknown.

This is a ReFS module causing errors to Windows.

Removing the following folder via regedit and restarting fixed all the DISM issues. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT

@djibe
djibe / AMD-best-motherboards.md
Last active October 25, 2026 16:16
Best motherboards for AMD AM4 socket

Best motherboards for AMD AM4 socket

  • MSI B450M Mortar (5/5): all you need for fans, 2 M2 Slot, 2x PCIe 16x and 1x PCie 1x.
  • MSI B450M Pro-VDH (3/5): only 1 M2 slot and 1 PCIe 16x and 1 PCIe 1x.
    • MSI B450M Pro-VDH BIOS not visible on USB stick: if BIOS update/BIOS flash doesn't detect the BIOS on the USB disk, you probably have a very old BIOS from 2019 (ending with M9 or earlier). You need to first flash the 7A38vMA BIOS before flashing a much newer one.
  • Gigabyte B450M DS3H Rev 1.x (2/5): only 1 system fan plug, 1 M2 slot and PCIe 1x is blocked by graphic card.
@djibe
djibe / fix-hdd-bad-sectors.md
Last active August 6, 2026 15:33
Fix a hard drive having SMART errors and bad sectors

Fix a hard drive having SMART errors

This tutorial only concerns hard disk drives (HDD), not SSD.

Generally, the chkdsk C: /F /R is sending errors or seems stuck.

  • Connect the HDD to a SATA port
  • Launch Victoria (download Victoria)
  • In the right box, select the hard drive
  • Then, on navbar, click on S.M.A.R.T
@djibe
djibe / bia-hh-general.md
Created May 16, 2026 09:31
Brothers in Arms Hell's Highway General Protection Fault Fix
@djibe
djibe / java-class-file-version.md
Created May 3, 2026 10:20
Error: Java Runtime only recognizes class file versions up to 52.0 even when java 11 is installed

To fix error "Error: Java Runtime only recognizes class file versions up to 52.0 even when java 11 is installed", install latest Java Development Toolkit JDK):

Actual version for WIndows in 2026: ()

@djibe
djibe / world-of-tanks-stuck-launch.md
Last active March 26, 2026 09:59
Worlf of Tanks is stuck on launch

Worlf of Tanks is stuck on launch

World of Tank freezes on launch:

See: https://www.quora.com/How-do-I-fix-the-world-of-tanks-stuck-on-the-loading-screen

  • Add an exception to Bitdefender Advanced Threat Defense (if you are using this Antivirus)
  • Clear cache
    Default path Windows: %appdata%\LocalLow\Wargaming.net\WorldOfTanks or C:\Users$xxx\AppData\Local\Wargaming.net\WorldOfTanks\
  • Also remove contents of %localappdata%\Temp
@djibe
djibe / android-FRP-unlock.md
Created February 24, 2026 16:28
Softwares to remove Google FRP Lock on Android devices (FRP unlock)