The setup and cleanup scripts that ship with the Windows Identity Framework SDK sample code do not properly operate under Windows 7. This is due to a check for the OS type that is used to determine if the scripts should use the netsh command or the older httpcfg command.

image

To correct this problem, simply modify both scripts and add “/c:6.1” to the findstr command. Do this for both the SamplesPreReqCleanup.bat and the SamplesPreReqSetup.bat files located in the Utilities folder as the Setup script calls the Cleanup script.

image