Skip to content

Instantly share code, notes, and snippets.

// ==WindhawkMod==
// @id taskbar-view-dll-load-logger
// @name Taskbar.View.dll load logger
// @description This mod logs Taskbar.View.dll load events for testing
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include explorer.exe
@m417z
m417z / taskbar-view-dll-early-loader.wh.cpp
Last active March 29, 2025 12:36
This mod tries to improve compatibility of taskbar mods with StartAllBack due to recent changes in Windows - https://github.com/ramensoftware/windhawk-mods/issues/1698
// ==WindhawkMod==
// @id taskbar-view-dll-early-loader
// @name Taskbar.View.dll early loader
// @description This mod tries to improve compatibility of taskbar mods with StartAllBack due to recent changes in Windows
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include explorer.exe
@m417z
m417z / ignore-focus-loss-fork.wh.cpp
Last active March 20, 2025 10:37
Prevents some UWP popups from closing due to UWPSpy stealing focus. See https://github.com/m417z/UWPSpy/issues/8.
// ==WindhawkMod==
// @id prevent-uwpspy-focus-steal
// @name Prevent UWPSpy Focus Steal
// @description Prevents some UWP popups from closing due to UWPSpy stealing focus
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://x.com/m417z
// @homepage https://m417z.com/
// @compilerOptions -lcomctl32
#include <winevt.h>
bool HasDwminitWarningInLastMinute() {
const WCHAR* queryPath = L"Application";
const WCHAR* query =
L"*[System[Provider[@Name='Dwminit'] and (Level=3) and "
L"TimeCreated[timediff(@SystemTime) <= 60000]]]";
EVT_HANDLE queryHandle = EvtQuery(nullptr, // Local machine
queryPath, // Log path (Application log)
@m417z
m417z / alt-drag.wh.cpp
Created November 15, 2024 23:42
The AltDrag mod for Windhawk (WIP, see description for the limitations)
// ==WindhawkMod==
// @id alt-drag
// @name AltDrag (WIP)
// @description AltDrag allows you to move any window by holding Alt and dragging it with your mouse
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include *
// ==WindhawkMod==
// @id everything-hang-fix
// @name Everything hang fix
// @description A test fix for hanging explorer when opened via Everything
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include everything.exe
@m417z
m417z / 01.11-24H2_signing_dates.csv
Created October 3, 2024 19:44
Windows 11 version 24H2 ISO file data and signing times https://x.com/sixtyvividtails/status/1841920229355749499
We can't make this file beautiful and searchable because it's too large.
sha256,signingDate,path
f3e8ce1df045f0cc96bd06af8ae57c745d462146e4cc0e1dba5841aae605d352,2011-05-05T07:36:09,Windows\SysWOW64\sqlunirl.dll
b840090cf08c62f90d55ca33311ba57d06d4e614ff0b89e7e3630700d8708bb9,2011-05-05T07:36:10,Windows\SysWOW64\sqlwid.dll
9ce0c38723a273c31c45336042303dbb49e2513829e9dfc3cd195d9ef820e6bc,2011-06-23T12:24:10,Windows\SysWOW64\sqlwoa.dll
f77696ae55b992154a3b35f7660bd73e0ab35a6eceec1931c0d35748cfa605c0,2015-02-02T09:00:37,Windows\System32\drivers\iaLPSSi_GPIO.sys
f77696ae55b992154a3b35f7660bd73e0ab35a6eceec1931c0d35748cfa605c0,2015-02-02T09:00:37,Windows\System32\DriverStore\FileRepository\ialpssi_gpio.inf_amd64_62ffa3c95446bcfc\iaLPSSi_GPIO.sys
c93bf8ff0e515979213c98b9733b7d4a4a5e63ad70ca3bffe6b6c066826fd9c2,2015-12-01T22:30:24,Windows\SystemApps\Microsoft.Windows.SecureAssessmentBrowser_cw5n1h2txyewy\Microsoft.Diagnostics.Tracing.EventSource.dll
c93bf8ff0e515979213c98b9733b7d4a4a5e63ad70ca3bffe6b6c066826fd9c2,2015-12-01T22:30:24,Windows\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2
// ==WindhawkMod==
// @id process-shutdown-message-box-fix
// @name Process shutdown message box fix
// @description Fixes message box and beep sound on process shutdown, e.g. when launching folders via an explorer shortcut
// @version 0.3
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include *
// ==WindhawkMod==
// @id disable-topmost-2-hang-fix
// @name Win10 taskbar disable_topmost=2 hang fix
// @description An attempt at fixing a taskbar hang when using disable_topmost=2
// @version 0.1
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
// @homepage https://m417z.com/
// @include explorer.exe
@m417z
m417z / aerexplorer-fork.wh.cpp
Created August 1, 2024 15:16
Updated to be compatible with Windhawk 1.5
// ==WindhawkMod==
// @id aerexplorer-fork
// @name Aerexplorer - Fork
// @description Various tweaks for Windows Explorer to make it more like older versions.
// @version 1.6.2
// @author aubymori
// @github https://github.com/aubymori
// @include *
// @compilerOptions -lgdi32 -lcomctl32 -lole32 -loleaut32 -luxtheme -ldwmapi
// ==/WindhawkMod==