Stream Media with IIS Media Services

In this tutorial we will take a video file and encode it to IIS Smooth Streaming, then publish those files with IIS Media Services.  There are a few things that need to be installed before we can proceed:

  1. Launch Microsoft Expression Encoder and select Transcoding Project.
  2. Click the Import button below and select your video/audio file.
  3. Switch the Output Format to IIS Smooth Streaming, and click Encode.


  1. After a length of time, depending on the size of the file, your encoding will be complete and you can close out of Expression Encoder.
  2. Go to: C:\Users\USERNAME\Documents\Expression\Expression Encoder\Output
  3. Open the newly created stream folder and copy the contents into: C:\inetpub\wwwroot\YOUR_DIRECTORY
  4. Open the extracted files from the SmoothStreamingPlayer.exe and copy those files to: C:\inetpub\wwwroot\YOUR_DIRECTORY
  5. Rename the SmoothStreamingPlayer.html file to index.html, then edit the file and replace the following code:
<param name="InitParams" value="selectedcaptionstream=textstream_eng,mediaurl=http://YOUR_SERVER/YOUR_DIRECTORY/YOUR_ISM_FILE.ism/manifest" />
  1.  You’re all done!  Now test it out by going to: http://YOUR_SERVER/YOUR_DIRECTORY


  1. To view your published files launch IIS, drill down to your website directory and select Content View.


Removing cached AD passwords in IE


Your company has a web enabled Microsoft app (Outlook Web Access, SharePoint, etc…) that passes your Active Directory credentials internally so you don’t have to login twice (Once to get on the computer and again to access the app).

Then your company decides to publish this app outside of your facility allowing you to directly access it from home, but because you’re not on the company network when you’re at home you have to log into the app using your AD credentials.

You decide that logging in is “for the birds” and set Internet Explorer to save your AD username and password so you don’t have to enter it in.  Success!

This carries on for a while until your networks security policy is forcing you to change your password, which is ok with you.  You’ll just clear out your IE saved usernames and passwords and save it all back with your new password.

But wait there seems to be a problem, you’re clearing out IE but it’s not clearing out your AD credentials.  What do you do?


For starters you should never save your AD credentials in IE.  IE handles your AD credentials and your generic website credentials completely differently.   When you go to generic website like Amazon or Google and tell it to save your username and password to those sites, it stores those credential in the registry.  Then when you tell IE to clear all of your saved passwords it clears out the registry.  Your AD credentials are not stored in the registry; they are stored in an encrypted NTLM hash file stored in your user folder.

Luckily Windows 7 introduced us to the “Credential Manager”, which is found in the Control Panel.  This allows us to remove AD and generic credentials that are stored on your computer with ease.  But for those that are still running Windows XP below are the steps to removing that cached AD account.

  1. Go to: C:\Documents and Settings\YOUR USERNAME\Application Data\Microsoft\Credentials\<SID>\Credentials
  2. Make a copy, then delete the original.
  3. Reboot the computer.


Since the introduction of Credentials Manager in Windows 7 and up, you can now manage your saved AD accounts.  Credentials Manager is located in the Control Panel.

© 2020 Ryan Janis

Theme by Anders NorénUp ↑