Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DwmCornerPatcher

DwmCornerPatcher disables rounded window corners on supported Windows 11 builds by patching uDWM.dll.

The original system file is backed up before any changes are made, allowing rounded corners to be restored from the same menu.

Building

Requirements:

  • Windows 11 x64
  • A C11-compatible compiler
  • CMake
  • Windows SDK Debugging Tools (dbghelp.dll and symsrv.dll)

Configure and build with CMake:

cmake -S . -B build
cmake --build build

If the Windows SDK debugging libraries are installed, CMake copies them next to the executable automatically.

Usage

Run patch and restore commands from an elevated terminal:

.\DwmCornerPatcher.exe patch
.\DwmCornerPatcher.exe restore

Check the current backup-based status without elevation:

.\DwmCornerPatcher.exe status

Use help or --help to list the available commands.

The program restarts Desktop Window Manager after applying or restoring the patch. The screen may briefly flicker while DWM restarts.

Releases

Pushing a version tag builds the x64 package and publishes a GitHub release:

git tag v1.0.0
git push origin v1.0.0

Compatibility

Only x64 editions of Windows 11 are currently supported. Windows 11 ARM64 is not supported.

The patcher resolves the target through Microsoft public symbols when available. A verified RVA fallback is included for Windows 11 builds 26100.8875 and 26200.8875.

Internal DWM functions can change after Windows updates. Unknown binaries are rejected unless the target symbol can be resolved safely.

Disclaimer

This program modifies a protected Windows system component. Use it at your own risk and keep the generated backup file so the original DLL can be restored.

About

A command-line utility for disabling and restoring rounded window corners on supported Windows 11 builds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages