Installing Windows Identity Foundation Runtime. Resolving Windows Identity Foundation SDK Installation error.


I had to install Windows Identity Foundation SDK in a Windows 2012 R2 server for setting up Claims-based authentication. So I downloaded the SDK and started the installation. Immediately I was shown this error popup.

WIF SDK Installation

The cause of the error is apparent – Windows Identity Foundation (WIF, going forward) is not installed in my server.


To install WIF runtime, follow the below steps if you’re using Windows Server 2012

  1. Open server manager. Click on Add Roles & features.
    Server Manager
  2. Click Next and navigate till the Features section. If you want to know how to navigate through “Add Roles and Features” dialog box, refer to my post here. Make sure you come back to this post once you reach Features section.
  3. Scroll down and you will find “Windows Identity Foundation”. Select that and click next.
    Note: In your case, it will be unchecked and not disabled and available for selection unlike the one shown here in the screen shot below.
    Windows Identity Foundation feature
  4. Click next and finish the installation.

This will install WIF Runtime in your server. After this is completed, run the SDK setup file again. This time, WIF SDK will get installed without any issues.

To install WIF Runtime on Windows 8, 8.1:

  1. In start menu, type “Turn Windows Features On and Off”. Open the dialog box.
  2. Scroll down and enable Windows Identity Foundation.
  3. Click OK.

This install WIF Runtime in Windows 8, 8.1.

Hope this helps!

This entry was posted in .NET, General and tagged , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *