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

Overview

Win11DisableRoundedCorners

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.176.

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 temporarly 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 2 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.

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.

Comments
  • Rounded Corners are back!

    Rounded Corners are back!

    With the latest cumulative update (KB5006746) bringing the Windows 11 build to 22000.282, the DWM file has been updated again and it lost all its sharp corner goodness!

    This is the console output I'm getting:

    Unable to determine function address.
    

    Can you please fix it?

    opened by Nirmal4G 7
  • Interferes with SFC /SCANNOW

    Interferes with SFC /SCANNOW

    If you're to run the sfc /scannow command in the command prompt or terminal with the modified uDWM.dll installed it will be detected as a corrupted file, and the original uDWM.dll will automatically be restored on the next system start up- now when you try disable the round corners again the prompt outputs an error that states it failed to restore.

    opened by IsraelNS902 3
  • Unable to find pattern in file

    Unable to find pattern in file

    When I run the executable as administrator from the file explorer I get the following error.

    Function address is: 0x227a4
    Unable to find pattern in file.
    

    For the sake of it, I copied the "uDWM.dll" file that was outputted alongside the executable in my Downloads folder & pasted\overwrote it in the "C:\Windows\System32" directory using the copy command in the WinRE command prompt after locating my Windows drive letter, and no changes were made to the corners upon continuing to Windows 11 afterwards.

    Video: https://streamable.com/bl8hix Screenshot: https://i.imgur.com/pCIqLNQ.png Windows 11 Dev Build 22468.1000

    opened by IsraelNS902 3
  • After the updates, the corners are rounded again

    After the updates, the corners are rounded again

    Hello,

    I have an annoying problem. In build 22000.556, the previously activated tool named "Win11DisableRoundedCorners" stops working. Enabling this tool will result in the error that the old DWM cannot be restored. Can it be fixed without damaging the DWM (which restores Windows Basic, which causes the system to stop working properly)?

    Greetings, Onmp314

    opened by Onmp314 2
  • sfc /scannow wont let me patch again

    sfc /scannow wont let me patch again

    I ran sfc /scannow, but now i cant go back to box corners, all i ask for is a way to force it to install or uninstall, regardless of the state of dwm, like a command line argument:

    Win11DisableOrRestoreRoundedCorners.exe --restore Win11DisableOrRestoreRoundedCorners.exe --patch

    Every time i run the patcher it tells me it cant restore dwm (it's already original, and it doesn't have the perms to do so)

    opened by ThaBluNate 2
  • Message

    Message "Unable to restore DWM" running the Program

    Ah, sorry I just realised this was old news! I tried the work-around of deleting uDWM_win11drc.bak and magic my problem is gone :-)

    G'day Team,

    I downloaded this App a couple of weeks back to get rid of the puerile Rounded Corners from Forms and Dialog Boxes in Windows 11. All good then.

    But this afternoon Windows Update installed 10.0.22000.918 and the Rounded Corners were back.

    And now running your App gets the "Unable to restore DWM" consistently and I am stuck with the "kiddie-proof" Windows.

    Cheers, Paul

    opened by Pamoho 1
  • Desktop is completely black.

    Desktop is completely black.

    When I opened the exe file for a second time (to disable it), my entire desktop turned black. But I think it's just a window, because when I press that button on the right of the taskbar that minimizes all windows, my desktop is back to normal. I have no idea how to fix it, I've tried closing some exe files with Task Manager that I thought might be causing it, but nothing worked. I'm pretty sure it's not a different app causing this, because it happened right after I opened Win11DisableOrRestoreRoundedCorners.exe.

    opened by uiojaafdosijfafdssf 1
  • Create an application installer & add this to winget-pkgs

    Create an application installer & add this to winget-pkgs

    It'd be awesome to have this be installable with winget install valinet.DisableRoundedCorners just like we can currently with winget install valinet.ExplorerPatcher

    opened by PAI5REECHO 1
  • Disable MFC and UWP rounded corners

    Disable MFC and UWP rounded corners

    For MFC apps and win32 apps,buttons and textboxes have rounded corners. For UWP flyouts like the "restored Windows 10 network" , buttons have rounded corners. Is there a way to fix this?

    opened by gailium119 1
  • Weird margin in context menus

    Weird margin in context menus

    Hi Valentin-Gabriel,

    firstly I want to thank you for this plugin.

    Personally I don't have problem with rounded windows, I've just decided to use it order get rid of the weird, annoying padding in old-style context menus. It's default behavior when you change back context menu so it is Window's bug, and this is be more feature request rather than reporting a bug. Find please the screenshot bellow:

    screenshot

    I have set back rounded corners, but with plugin installed it is the same obviously. I am wondering how complex it would be to fix that problem within your plugin.

    Thank you in advance for considering it.

    opened by marcmsk 1
  • I wrote a small batch file to solve the

    I wrote a small batch file to solve the "Unable to restore DWM" error.

    If error occurs, run this.zip Solution provided by @Markichu . "I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe." Originally posted by @Markichu in https://github.com/valinet/Win11DisableRoundedCorners/issues/35#issuecomment-1156041456 It's a batch file that delete uDWM_win11drc.bak . That's it. Should work.

    opened by QuartzSandstone 1
  • brush on Paint.NET squared

    brush on Paint.NET squared

    I only encountered this problem:

    in Paint.NET (version 4.3.12 but I dont think its a version problem or even paint.net) the circle representing the brush cursor in the software has changed from circular (normal) to squared (precisely a square)

    Im sure of this because I dont use additional brushes in paint.net

    this tweak is a great change (but not this issue), I hate the round edges on the windows

    opened by 70V07 1
  • "Unable to restore DWM" error

    Hi all, I was using DisableRoundedCorners and then updated to newer version and when I ran the .exe file again it said "Unable to restore DWM".Is there any fix ?

    image

    opened by Techguy47 14
  • executable is trying to restore rounded corners while i already have rounded corners

    executable is trying to restore rounded corners while i already have rounded corners

    i ran this executable a while ago forgot about it

    ran SFC /scannow which restored rounded corners

    and now when i try to apply the patch again, its trying to restore it.

    opened by RalkeyOfficial 4
Releases(1.0.0.3)
Owner
Valentin-Gabriel Radu
Valentin-Gabriel Radu
A window manager for GNOME, with rounded corners patch

Tested in gnome-shell 40.5, should works in gnome 40 and 41. integrate the blur effects with rounded corners.The source code can be found here. Issues

Yi 493 Nov 22, 2022
Fork of junaburg's picom fork with a patch for rounded corners and shadows

picom new! : You'll now also find tryone's dual_kawase blur for the new backend, as well as rounded corners from sdhand if they are so desired, merged

Arian Rezazadeh 49 Oct 31, 2022
Wrapper DLL for NieR Automata (PC ver.) to disable LODs & fix AO issues

NieRAutomata-LodMod An XInput/DXGI wrapper DLL that hooks into NieR Automata (Steam ver.) and disables object LODs, improving visual quality & fixing

emoose 24 Jul 9, 2022
Cold-start page provisioning speed test for WIndows

largepages This is a rudimentary test of cold-start memory paging on Windows that I put together for Raymond Chen's Tie, who was kind enough to ask it

Casey Muratori 30 Aug 19, 2022
Defender-control - An open-source windows defender manager. Now you can disable windows defender permanently.

Defender Control Open source windows defender disabler. Now you can disable windows defender permanently! Tested from Windows 10 20H2. Also working on

null 549 Nov 27, 2022
Linux 4.19 + PS4 patches + Latest security patches

Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML an

kquote03 1 Oct 12, 2021
Linux v4.14 with the latest security patches and PS4 patches.

Patches are from https://github.com/Ps3itaTeam/ps4-linux Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Plea

kquote03 2 Oct 12, 2021
Fork of the RPCEmu RISC PC emulator, with patches. The "master" branch is the original RPCEmu, the "philpem" branch contains my patches.

RPCEmu ~~~~~~ RPCEmu is an emulator of Acorn's Risc PC and A7000 machines. It is a work in progress and should be considered of Alpha Quality. The l

Phil Pemberton 3 Jan 21, 2022
My own dwm setup with patches

dwm - dynamic window manager ============================ dwm is an extremely fast, small, and dynamic window manager for X. Requirements ----------

Nazih Boudaakkar 1 Oct 29, 2021
My build of dwm based on dwm-flexipatch.

This dwm 6.2 (67d76bd, 2021-03-29) side project has a different take on dwm patching. It uses preprocessor directives to decide whether or not to incl

Utkarsh Verma 3 Oct 20, 2022
Simple one file header for hijacking windows version.dll for desired executable to do 3rd party modifying without dll injection.

Version-Hijack Simple one file header for hijacking windows version.dll for desired executable to do 3rd party modifying without dll injection. Usage

sneakyevil 6 Oct 19, 2022
dwm is an extremely fast, small, and dynamic window manager for X.

dwm - dynamic window manager dwm is an extremely fast, small, and dynamic window manager for X. My Patches This is in the order that I patched everyth

Christian Chiarulli 31 Sep 22, 2022
DLL Hijack Search Order Enumeration BOF

DLL Hijack Search Order BOF What is this? This is a Cobalt Strike BOF file, meant to use two arguments (path to begin, and a DLL filename of interest)

null 118 Nov 25, 2022
A utility to automate the installation, maintenance, and debugging of Asterisk/DAHDI, while integrating additional patches to provide the richest telephony experience

PhreakScript A utility to automate the installation, maintenance, and debugging of Asterisk/DAHDI, while integrating additional patches to provide the

null 12 Nov 13, 2022
Disable OTA Update for iOS & iPadOS for 14 - 14.3 (Non Jailbreak devices)

OTADisabler-App Disable OTA Update for iOS & iPadOS for 14 - 14.3 (Non Jailbreak devices) Support Devices iOS 14.0-14.3 (confirmed on iOS 14.1 and abo

ichitaso 28 Nov 3, 2022
a undetectable tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our qqgroup is 703156427

a undetectable ios root access tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our

null 58 Nov 22, 2021
Collection of DLL function export forwards for DLL export function proxying

dll-exports Collection of DLL function export forwards for DLL export function proxying. Typical usecase is for backdooring applications for persisten

Magnus Stubman 56 Nov 9, 2022
A method from GH on how to stream a dll without touching disk, TAGS: fortnite cheat fortnite injector dll injector

dll-encryptor People who make pay hacks typically have down syndrome and are incapable of using their brains in any fashion, and yet these bath salt s

Micca 2 Nov 24, 2021
Shared to msvcrt.dll or ucrtbase.dll and optimize the C/C++ application file size.

VC-LTL - An elegant way to compile lighter binaries. 简体中文 I would like to turn into a stone bridge, go through 500 years of wind, 500 years of Sun, ra

Chuyu Team 253 Nov 29, 2022