How to remove Cygwin completely from Windows
9th September 2012. 31243 views. Software
Remember needing Cygwin back on the day and after using it to my only occasion forgot the software-libraries completely? That happened to me. I have installed Windows 7 again, and found my C:\cygwin folder with all the files. Wanted to get rid of it, but no way–a mysterious "permission denied" when deleting the files. It seems there ' s no-to-remove it. Cygwin protects the files with some security stuff. That's just idiotic, have no access to my own files!
I ' m always logged in as native Administrator–no and other users present. What I tried next is to navigate to the folder through my Linux machine (CIFS mounted filesystem), but got "permission D Enied "Error there as well, even with the Magic command:
-rf /media/windows/cygwin
Here's how-to-remove Cygwin once and for all.
You'll need
Run cmd, navigate to C + + (or other disk, if you had installed it in different path).
This command takes ownership recursive of the folder, without asking anything:
/r /d y /f cygwin
This command gives full Access to Everyone recursively in the folder:
/t /grant Everyone:F
And finally, the command which deletes it all and removes Cygwin:
/s /q cygwin
Good bye cygwin!
"NS2" How to remove Cygwin completely from Windows