Solution for “The program can't start because MFPlat.dll is missing from your computer”

Solution for “The program can't start because MFPlat.dll is missing from your computer”

Are you facing any issue deploying your Windows Phone 7 application in the emulator or, are you facing any issue while opening the Windows Phone 7 emulator? Is it stating some System Error while finding “MFPlat.dll”? If you are facing the similar issue, this post will help you. Do bookmark this post and share to others, so that, if anyone is facing the same will resolve it easily.


In this post, I will tell you the background of the issue and the solution to fix this problem. If you have any other alternative, do share it here and help the other person. Read more to find out the issue and it’s solution.



One of my friend “Arindam” called me yesterday stating the issue he is facing and asked me to help him. Actually he installed Windows Phone 7.1 SDK in his development PC and created a small Hello World application as mentioned in one of my Tutorial chapter “How to Create a Hello World Application?


Unfortunately he was able to build but unable to run the application. While publishing the application to Phone emulator it was throwing some error with description “Connection failed because of invalid command-line arguments” as mentioned below:


Error - Connection failed because of invalid command-line arguments


He didn’t find any clue and tried to repairing the SDK. Unfortunately that didn’t work. He also tried uninstalling and reinstalling the SDK but everything gone in vain. He called me and ask for help.


Solutions those I Tried

As he already tried to resolve this issue by reinstalling the application and which didn’t work, hence I didn’t try to go in the same path once again. I tried to find out some solution and noticed that this issue comes because the Windows Phone 7 emulator is unable to load.


I tried explicitly running the emulator application and I found that one dll assembly named “MFPlat.dll” is missing in his system and hence it was showing the following message “XDE.exe – System Error: The program can’t start because MFPlat.dll is missing from your computer. Try reinstalling the program to fix this error.” as shown below:


XDE.exe - System Error - The program can't start because MFPlat.dll is missing


What is the error? I was little bit confused because he tried 2 times reinstalling the SDK Tools. I was thinking to reinstall this from the scratch but at time I found that, MFPlat.dll is a system assembly. So tried to use the System File Checker command “sfc /scannow” from command prompt. That also didn’t work.


Later I tried to figure out which system he is using and what is his machine configuration. I noticed that, he is using Windows 7 N Ultimate Edition. That strike my mind, is it something related to Media Feature Pack of Windows 7 N? Immediately I tried to open the Windows Media Player and I couldn’t find it out. I checked whether he has the proper update “KB968211” installed in his machine or not. Oh! it was not available. It could be one of the reason.


Immediately I downloaded and installed the said update. After the reboot, I tried to open the Windows Phone 7 Emulator. Wao! it opened. Run his first Windows 7 application. It worked this time perfectly. He was very happy after that.


Final Solution

If you are facing similar kind of issue, please follow the below steps one by one and figure out the root cause of you unless the emulator runs. It’s not guaranteed that, you will have the same solution but try with the following steps:

    1. Figure out which OS version you are using. If you are using Windows 7 N or Windows 7 KN, check whether you have the Media Feature Pack for Windows 7. You can verify it by opening the Windows Media Player.
    2. Verify whether you have the update “KB968211” available in your PC. If not, try installing it from Microsoft Download Center. Remember that, you need to verify your OS for Genuine Windows Installation. This will install the Windows Media Feature pack.
    3. If you are still facing the same error, try running the “sfc /scannow” command from the command prompt under the administrative mode.
    4. If that too didn’t work for you, try repairing your Windows installation. That will definitely solve the problem.

Hope this post was helpful for you. If you didn’t face this issue, bookmark it. Who knows, you may find it helpful in future. Try to share this post to others and help to reduce finding the fix for this problem.


If you have any other alternative to fix the issue, do share it here and help people to fix their installation with less effort. Thanks for your time to read this post. Feedback/Suggestions are always appreciated.


Short Note: What is Windows 7 N or Windows 7 KN?

Windows 7 N and Windows 7 KN editions include the same functionality as Windows 7, except that these versions of Windows do not include Windows Media Player, and related technologies.


End-user customers can enable the media functionality to work properly by installing the Windows Media Feature Pack for Windows 7 N and Windows 7 KN (KB968211).


This feature pack can be applied to computers running either the original release of Windows 7 N and Windows 7 KN, or it can be applied to computers running Windows 7 N Service Pack 1 or Windows 7 KN Service Pack 1.


For further information, please see and query the Knowledge Base for the article number KB968211.

If you have come this far, it means that you liked what you are reading. Why not reach little more and connect with me directly on Twitter, Facebook, Google+ and LinkedIn. I would love to hear your thoughts and opinions on my articles directly. Also, don't forget to share your views and/or feedback in the comment section below.


  1. Thanks for taking time for sharing this article; it was excellent and very informative. Though you make some very fascinating points, you’re going to have to do more than bring up a few things that may be different than what we’ve already heard. Continue with the great work on the site. Thank you.

  2. I think it is very useful and knowledge able info about of dll not found I would like to thank you for the efforts you have made article.

  3. I tried to install Zune in Windows 7 N and this solves the issue.
    Many thanks, it worked.

  4. Thanks for the fix! it solved my problem, i couldnt run the emunator... now i can. (btw your page doesnt show up well in Chrome)

  5. Glad to know that it solved your problem. Yes, I am aware of it. I targeted it for FireFox first. Now time to fix it for IE and Chrome. Thanks anyway for reminding me.

  6. Emulator is showing Complete OS Boot when i debug the app
    it's stuck on that screen is there any work around for that
    i'm using windows 7 Home premium

  7. thanks! this fixed it for me after a few hours an audio editing tool kept complaining for the missing dll. i stopped by your article and after performing the WMP update i was able to find the mfplat perfectly compiled.

  8. why use google chrome at all?, or even worse IE ;)...

  9. Everything is very open with a clear clarification of the
    challenges. It was really informative. Your site is useful.
    Thanks for sharing!

    Also visit my web-site; free download xinput1_3.dll software

  10. I want to download single MFPlat.dll file from I need to extract it in correct folder. What folder can it be ? This file missed on my computer and i cant just find and replace it.

  11. win10 you need toget mfplat.dll at


© 2008-2018 - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top