Windows

The program can’t start because mfc120ud.dll is missing from your computer

While using Remote Desktop Manager from Devolutions company we've encountered a small issue. While using their great Remote Desktop Agent feature without using installer to do our job we were greeted with message that mfc120u.dll is missing and that SSH feature won't work.

Solution

Since this issue is very common for freshly installed Windows machines (both desktop and servers) starting at Windows 7 or even earlier version of Windows and ending up on Windows 10 and its server equivalent Windows 2012 R2. It's not just related to RDM software but any software that uses C++ code to run the app.

The Visual C++ Redistributable Packages install run-time components that are required to run applications that are developed by using Visual Studio 2008/2010/2013/2015, on computers that don't have Visual Studio installed. These packages install run-time components of these libraries: C Runtime (CRT), Standard C++, ATL, MFC, C++ AMP, and OpenMP.

To solve issue of missing mfc120ud.dll we just need to install Visual C++ Redistributable Packages. Normally it's done by installers but there are moments where either we're not using installer at all and simply want to run app in portable version or developer didn't provide installation package. Depending on program it can vary which version is required, and since it doesn't break anything you're perfectly fine to install all of them:

Microsoft Visual C++ 2008 Redistributable Package (x86 – 32 bit)

Microsoft Visual C++ 2008 Redistributable Package (x64 – 64 bit system only)

Microsoft Visual C++ 2010 Redistributable Package (x86 – 32 bit systems only)

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64 – 64 bit systems only)

Visual C++ Redistributable Packages for Visual Studio 2013 (x86/x64 – 32/64 bit systems)

Visual C++ Redistributable Packages for Visual Studio 2015 (x86 and x64 – 32/64 bit systems)

The newer the app, the newer the system most likely it's enough to install newest possible version to solve missing mfc120ud.dll file problem. Make sure to reboot your system after installation if it doesn't work straight away.

Przemyslaw Klys

System Architect with over 14 years of experience in the IT field. Skilled, among others, in Active Directory, Microsoft Exchange and Office 365. Profoundly interested in PowerShell. Software geek.

Share
Published by
Przemyslaw Klys

Recent Posts

Active Directory Replication Summary to your Email or Microsoft Teams

Active Directory replication is a critical process that ensures the consistent and up-to-date state of…

2 weeks ago

Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell

Hey there! Today, I wanted to introduce you to one of the small but excellent…

5 months ago

Active Directory Health Check using Microsoft Entra Connect Health Service

Active Directory (AD) is crucial in managing identities and resources within an organization. Ensuring its…

7 months ago

Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module

In today's digital age, the ability to create compelling and informative HTML reports and documents…

8 months ago

How to Efficiently Remove Comments from Your PowerShell Script

As part of my daily development, I create lots of code that I subsequently comment…

9 months ago

Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

Today I saw an article from Christian Ritter, "PowerShell: Creating an "empty" PSCustomObject" on X…

9 months ago