The uninstall script uninstalls all Identity Manager components that were installed with the integrated installer. If you want to uninstall a single component, see Uninstalling Identity Manager
in the Identity Manager 4.0.1 Framework Installation Guide.