Trace Restore IIS and clean up Active Directory when you uninstall AD FS 2.0 across Active Directory and Windows DNS
Microsoft states: “This article describes how to restore Internet Information Services (IIS) and clean up Active Directory when you uninstall Active Directory Federation Services 2.0.”
Read the guide