Error: Prerequisite installation failed: Wmf2008R2

Recently I was working on a project for installing Lync Server 2010. The Setup failed at prerequisites check with the below error.

Type: PrereqInstallFailed
Stack Trace
at Microsoft.Rtc.Internal.Tools.Bootstrapper.BootstrapperTask.AddMsiPrereq(String prereqName)
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog[T](Action`1 action, T arg)
Type of prerequisite: exe MM/DD/YYYY HH:MM:SS AM
Method used to check prerequisite state: WmfNeeded2008R2() MM/DD/YYYY HH:MM:SS AM
Result of state check: True MM/DD/YYYY HH:MM:SS AM
Executing external command: C:\Windows\system32\dism.exe /online /norestart /add-package
Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum /ignorecheck MM/DD/YYYY HH:MM:SS AM
Installation result: -2146762496 MM/DD/YYYY HH:MM:SS AM
Error: Prerequisite installation failed: Wmf2008R2
Type: PrereqInstallFailed
Stack Trace

Although Microsoft has released an Article for the issue. The article is available here.

As per the article we have to install Windows Desktop Experience. After installing, the setup again failed.

Then I started exploring the deployment logs and found that the installer was trying to install the Windows media format using :

C:\Windows\system32\dism.exe /online /norestart /add-package
Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum /ignorecheck

Further exploring the folder c:\Windows\servicing\packages to check the culprit. Guess what the file it was trying to install was not present. The file present was.


As you can see from OS built property values.

  • Windows Server 2008 has version NT as 600
  • Windows Server 2008 R2 SP1 has 601

Now looking at the next snapshot, the installer is trying to install the package for WMF2008 post which it will install the package for WMF2008R2. And since the package for 2008 is not present. The prerequisites check fails.


Looking at the above command it does says prerequisite satisfied.

So instead of continuing further. Thought of Skipping the WMF2008 package and directly install the prerequisites for 2008R2.

Post exiting the setup. I executed the below command in elevated mode.

\%systemroot\%\system32\dism.exe /online /add-package /packagepath:\%windir\%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck


Command Completed Successfully.

Reboot the Server.


Setup completed successfully.


Like this post? Please share to your friends:
Leave a Reply