PDA

View Full Version : Windows 11 Disable Or Restore Rounded Corners



ミறѳѳղղįզվદ彡
October 17th, 2021, 02:58 PM
Windows 11 21H2 OS Build 22000
Windows 11 Developer and Insider preview
Disable Or Restore Rounded Corners in Windows 11
The newest Windows OS brings up plenty of great features
but it seems like rounded corners are sometimes disabled
To get the original design back, you should check if Hardware Acceleration is enabled
Updating graphics drivers proved to be efficient if you notice no rounded corners in Windows 11
Ensuring that your version of Windows 11 is the latest is another very important factor
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.
Windows 11 (Codename Cobalt)
Windows 11 21H2 OS Build 22000
https://virtualcustoms.net/attachment.php?attachmentid=90339&d=1630788887
http://virtualcustoms.net/attachment.php?attachmentid=47413&d=1316585287
https://virtualcustoms.net/attachment.php?attachmentid=90344&d=1630789596
Windows 11 (Codename Cobalt)
Windows 11 21H2 OS Build 22000
90688
http://virtualcustoms.net/attachment.php?attachmentid=47413&d=1316585287
90689
Windows 11 (Codename Nickel)
Windows 11 Insider Preview OS Build 22458
https://virtualcustoms.net/attachment.php?attachmentid=90440&d=1632042785
http://virtualcustoms.net/attachment.php?attachmentid=47413&d=1316585287
https://virtualcustoms.net/attachment.php?attachmentid=90441&d=1632042866
Windows 11 (Codename Nickel)
Windows 11 Insider Preview OS Build 22449
https://virtualcustoms.net/attachment.php?attachmentid=90304&d=1630613193
http://virtualcustoms.net/attachment.php?attachmentid=47413&d=1316585287
https://virtualcustoms.net/attachment.php?attachmentid=90305&d=1630613205
https://virtualcustoms.net/attachment.php?attachmentid=84484&d=1571046870
https://github.com/valinet/Win11DisableRoundedCorners (https://github.com/valinet/Win11DisableRoundedCorners)
https://virtualcustoms.net/attachment.php?attachmentid=84487&d=1571048361

Donkuz
October 17th, 2021, 03:44 PM
Hi Moonnique, Great work young Lady I really appreciate this. I wondered how you done this with your w11 Themes. Thank you very much for sharing and giving us your secret my Friend.
:Peace:Thank you!!