I installed QGIS using OSGEO4W, and would love to know how to uninstall it, because when I go to "Control Panel > Programs > Uninstall" the program does not appear in the list of installed programs.

How can I do this?


Just to elaborate on the comment on the above answer that It appears that the uninstall option no longer exists in the osgeo4w.exe installer. As of today, there is an option to uninstall but you have to play chicken as if you're going to install because the uninstall option doesn't appear until quite late in the install process. I ran C:\OSGeo4W64\bin\osgeo4w-setup.exe

See screenshots:


enter image description here


enter image description here


enter image description here


enter image description here

  1. Note, although not shown here I did uncheck the Hide obsolete packages checkbox to make sure I was uninstalling as much as I could. Then click where it says "Default" this will cycle through various options. Keep clicking till it says "Uninstall"

enter image description here


enter image description here

After that you can simply remove the C:\OSGeo4W64\ folder to remove installer files.


There is not a best way to do it, no 'Add Remove Programs' method. But...

The simplest way is to delete C:\OSGeo4W. This will remove all the installed data. You can also uninstall stuff through the osgeo4w.exe installer.

(From the website:http://trac.osgeo.org/osgeo4w/wiki/FAQ)

Is there a way of uninstalling packages or all of OSGeo4W?

Individual package can be uninstalled via the Advanced install path. In the package listing click on the "New" column until the value changes to "Uninstall". Currently packages do not clean up desktop or start menu icons when uninstalling, this may be done manually.

Currently there is no installer option to uninstall OSGeo4W completely. However, when all OSGeo4W applications, shells and services (like apache) are shutdown it is possible to just delete the whole OSGeo4W file tree (usually C:\OSGeo4W).

See also trac #38 (enhancement).

  • I assume there are no registry settings created by OSGEO if just deleting the directory is expected to work properly. Is this accurate? – GeorgeC Aug 7 '12 at 3:00
  • 5
    There is a registry entry under HKLM/Software/OSGeo, which will not be removed by deleting the folder. But this does not bother any other installation. I would recommend the Uninstall option in the installer as mentioned above. – AndreJ Aug 7 '12 at 5:08
  • 3
    It appears that the uninstall option no longer exists in the osgeo4w.exe installer, the advice on the FAQ remains the same, but there's no sign of an uninstall option under Advanced Install. So I think deleting is now the only option. – EddyTheB Apr 30 '14 at 8:20
  • Just a note that the comment by @EddyTheB isn't (now?) accurate. Individual components within the installer can be uninstalled as noted above. Uninstalling using the installer (although selecting 'uninstall' for all components) does not remove all content from the OSGeo4W folder or delete this. I've had success in re-setting an installation that was messed up by using the installer to uninstall all components, then also deleting the folder afterwards. I didn't test a simple folder deletion on its own. There may well have been better options. (All testing of this on Windows). – Rostranimin Sep 5 '17 at 12:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.