In my case I had to go into the msys2 installation folder and rename maintenancetool.exe.new and maintenancetool.dat.new to maintenancetool.exe and maintenancetool.dat. Then the uninstall from the Control Panel went fine.
Answer from Adrian Pop on Stack OverflowIn my case I had to go into the msys2 installation folder and rename maintenancetool.exe.new and maintenancetool.dat.new to maintenancetool.exe and maintenancetool.dat. Then the uninstall from the Control Panel went fine.
Looks like MSYS2 has already been uninstalled and the entry is just a leftover. So confirm the question with Yes to get rid of the entry. If still present, you can of course delete the MSYS2 folder.
Problem when trying to uninstall msys2, Windows 11
win10 pro dirty uninstall, installation clarification
Thread: [Msys2-users] Uninstalling MSYS2 | MSYS2
What do I do?
I recently tried to uninstall msys2 through the control panel and at first it worked. But now I see the program remains instaled. When i try to delete it a window showing nothing pops up and disappear. What can I do? If you need any additional information please tell me.
So, a while back I had to install it. I thought I deleted it, but I ran my anti-virus software today and noticed that "C:\MinGW" still somehow exists. How do I delete it? I checked the environment variables through Advanced Settings and cannot find one for MinGW. I can't see MinGW in the C: folder either.
My antivirus also says that the file from the MinGW folder wasn't processed, so now I'm even more confused. How did it pick up but not process a file that apparently doesn't exist?
By the way, the "application vulnerability" module of the anti-virus picked it up, meaning it thought it was out-of-date rather than malware.
EDIT: Just ran a scan again and it's not there anymore. Still, anyone know why the hell this happened?