/Win11DisableRoundedCorners

A simple utility that cold patches dwm (uDWM.dll) in order to disable window rounded corners in Windows 11

Primary LanguageCGNU General Public License v2.0GPL-2.0

Win11DisableOrRestoreRoundedCorners

A simple utility that cold patches the Desktop Window Manager (uDWM.dll) in order to disable window rounded corners in Windows 11. Tested on build 22000.194.

Precompiled binaries are available in Releases.

To successfully patch and not brick your system, make sure you have only one dwm.exe process running. If you have multiple, connect normally to Windows, not using remote desktop or something similar.

Application requires active Internet connection when patching in order to download symbol files for uDWM.dll.

It is preferable but not mandatory to run the files from a separate directory. The app will temporarily place 2 files: uDWM.dll and uDWM.pdb in the directory they are in, overwriting any existing files.

Original uDWM.dll is backed up as uDWM_win11drc.bak in %windir%\System32.

Consult the source code if you want to patch manually, which is also quite advisable, it only takes changing a few bytes in the uDWM.dll file.

Please make a backup of the original uDWM.dll file before using so you can restore properly in case something is messed up. Use this software at your own risk.

To restore rounded corners, run the application again. After uninstalling, it is recommended to run sfc /scannow in an elevated command window to restore proper file permissions to uDWM.dll.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.