Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to host a .rdp file that will be publically available on the internet (without password, of course). IIS is not letting me use this file - I'm getting a 404 error saying it cannot find the file. It works fine if I change the file extension to .txt.

Any idea what I'm doing wrong?

share|improve this question
up vote 6 down vote accepted

I recommend you try adding a .RDP MIME type to your website configuration in IIS

File name Extension: .rdp

MIME type: application/rdp

share|improve this answer

+1 with ChrisNZ's tip, and:

In case you run IIS 7.5:

  • Start the Internet Information Services (IIS)-Manager
  • Unfold [+]Servername and [+]Site and [+]Default Web Site and find the site you'd like to serve that file from and select that site
  • At the right pane, find the 'Request Filtering' icon in the IIS section and double-click it
  • Now you should see a list of file extensions and their allowance; by default all of them are set to 'false'
  • Right-click and select: 'Allow File Name Extension' -> Put .rdp in there.
share|improve this answer
This would not be necessary in the default config, since .rdp is not filtered. But worth checking nonetheless. – the-wabbit Sep 3 '12 at 14:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.