CRM 2011: Removing or Reinstalling ADFS Gotchas
ADFS can be very unforgiving if you need to uninstall or reconfigure. The following steps should steer you clear of any issues that you might run into. (ACL List issues are covered on my blog as well).
Uninstall ADFS using the control panel, remove program
NOTE:- ADFS will be shown as an installed update not a program. System will require a reboot.
Open IIS, find the ADFS Website, now delete the folders
Delete LS Folder
Delete ADFS Folder
View ADFS Application Pool
Note: You should see that there no applications now assigned to.
Delete ADFS Application Pool
Delete Program Files\ADFS installation path
Now you’re ready to reinstall ADFS. Please make sure you download the latest ADFS 2.0 from the Microsoft Download Center, and don’t install/add the ADFS role from the Windows Server.