To remove or uninstall SharePoint 2010, do the following:
If you want to re -install the SharePoint in the same server, it's best practice to go with clean windows because the uninstalling SharePoint 2010 does not remove everything and there are still some items
exist in the server like /14 folder , SharePoint Web Services Web application and its application pool in IIS and some development customizations.
This article is also available in the following languages:
To reiterate once again the point about doing fresh installations of your software, these items all still existed on a server after performing a complete installation of SharePoint 2010 and then a removal of SharePoint. Always perform clean installations—this
includes starting with a new operating system installation, not an upgraded operating system
Reboot the Server where you uninstalled SharePoint.
1) SQL Server(s) cleanup:
2) The server(s) connected to the Farm which were running the SharePoint Foundation Service, the IS application pools still exist after the uninstallation.
Perform the following:
This should be as close to a full uninstall as you can get without digging into the Program files directory or GAC. If anyone has input to the Program files directory or GAC removal, feel free to follow up.