valinet / Win11DisableRoundedCorners

A simple utility that cold patches dwm (uDWM.dll) in order to disable window rounded corners in Windows 11
GNU General Public License v2.0
771 stars 41 forks source link

"Unable to restore DWM" error #35

Open Techguy47 opened 2 years ago

Techguy47 commented 2 years ago

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

0xDezzy commented 2 years ago

Getting the same thing here.

Techguy47 commented 2 years ago

Getting the same thing here.

Got any fix ?

Markichu commented 2 years ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Seni1ix commented 2 years ago

Thank you, some verbose output or switches to the binary would be helpful :)

Techguy47 commented 2 years ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thank you so so much

0xDezzy commented 2 years ago

Awesome! That worked.

ReenigneArcher commented 2 years ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thank you... this should be pinned.

BluCoolKnux commented 2 years ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thank you, Markichu, your tip saved my life after I was forced to update my Windows 11 after encountering internet issues.

SurpGenmiko commented 1 year ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thanks! That worked!!

george-tsiros commented 1 year ago

every time win11 updates it gives me rounded corners like it's somehow preferable every time i run this to restore sanity

i f- hate what they've done to computers and to the programming community

thank you for everything

LightSilverPC1580 commented 1 year ago

every time win11 updates it gives me rounded corners like it's somehow preferable every time i run this to restore sanity

i f- hate what they've done to computers and to the programming community

thank you for everything

if you're getting errors, it can be fixed and works - remove a "uDWM_win11drc.bak" from system32 with a command. can done it like: del C:\windows\system32\uDWM_win11drc.bak

then, try run apps again.

eightballocto commented 1 year ago

This issue stems from the fact that Windows will sometimes detect this modification as an "integrity violation" and restore the original uDWM file. Because the backup is still present, the program is unable to undo a non-existent patch. I propose that to handle such a scenario, the program should check if the uDWM file has been reverted before using the backup to restore the rounded corners.

Matthew78917 commented 1 year ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Google took me to you. You are awesome. I'm sure your comment will help people for years to come with the rounded corners

Kleissner commented 1 year ago

Thank you sir that worked. Indeed this could be handled by the program.

SuperMarioYAHOOYAHOO commented 1 year ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thanks now i can reinstall it after update

jamesnet214 commented 11 months ago

Oh, it really works. Thank you very much!

MasumiAgeo commented 9 months ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

It Works! Thank you so much!

RichardFu715 commented 9 months ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

That was indeed a genius finding!

boa2145 commented 3 months ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

Thanks, @Markichu! It worked and it was possible to disable rounded corners in Windows 11.

wawawawa2 commented 2 weeks ago

I encountered this and to fix it I deleted uDWM_win11drc.bak in C:\windows\system32 and rerun the exe.

thank you, it worked :)