What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
“dfshim.dll is missing,” “dfshim.dll was not found,” “dfshim.dll could not be loaded,” and “The code execution cannot proceed because dfshim.dll was not found” are common forms of this error. dfshim.dll is a legitimate Microsoft Windows component called the ClickOnce Application Deployment Support Library, not a game DLL or a file you should download from a random website.
The 60-second answer
dfshim.dll supports ClickOnce, Microsoft’s deployment and update technology for Windows applications built with .NET technologies. It is involved when you open a ClickOnce .application or .appref-ms file, install a ClickOnce program, or update one.
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Microsoft Windows 11 (USB) | $128.99 | Buy on Amazon |
| 2 |
|
Tech-Shop-pro Compatible with install Key Included USB For Windows 11 Home OEM Version 64 bit.... | $48.00 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
The safest repair order is:
- Repair or reinstall the affected application from its publisher.
- Repair or install the .NET Framework version the program requires.
- Install pending Windows updates and restart.
- Run DISM, followed by System File Checker.
- Check Windows Security for a quarantine event.
- Investigate ClickOnce manifests, certificates, proxy settings, or the application cache if only one program still fails.
Do not copy a loose dfshim.dll into the application folder. Do not use regsvr32 as a routine fix. A replacement file can have the wrong architecture, signature, or version and may leave the real ClickOnce or Windows servicing problem unresolved.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →What is dfshim.dll?
dfshim.dll is part of Microsoft Windows and has the internal description ClickOnce Application Deployment Support Library. Microsoft documents unmanaged ClickOnce functions provided by the library, including functions for launching applications, reading deployment data, and cleaning the ClickOnce cache. See Microsoft’s ClickOnce unmanaged API reference.
#1 Best Overall
- Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
- Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
- Make the most of your screen space with snap layouts, desktops, and seamless redocking.
- Widgets makes staying up-to-date with the content you love and the news you care about, simple.
- Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)
ClickOnce applications use deployment and application manifests. These files tell Windows which application files to retrieve, how to validate them, and whether an installed program should update. Microsoft explains this deployment model in its documentation on ClickOnce deployment and security.
That makes dfshim.dll different from:
- Visual C++ Redistributable files
- DirectX files
- A video or audio driver
- A file belonging only to the affected application
- A generic third-party game component
The file is a Windows/ClickOnce runtime component, although the application that triggered the error may also require a particular .NET Framework version and its own application files.
Where is the file on 64-bit Windows?
Windows stores system components according to their architecture:
%windir%System32normally contains 64-bit system binaries on 64-bit Windows.%windir%SysWOW64normally contains 32-bit system binaries on 64-bit Windows.
The names are confusing: System32 is normally the 64-bit system directory on 64-bit Windows. SysWOW64 contains system files used by 32-bit programs. Microsoft describes this behavior in its File System Redirector documentation.
Do not decide that a file is wrong merely because it appears in SysWOW64. A 32-bit ClickOnce application can legitimately use the 32-bit system copy. Likewise, do not replace a 32-bit file with a 64-bit file, or the reverse.
The version and size shown by an online file index are not a safe basis for replacing this file. Windows component servicing must provide the correct copy for the installed Windows build and architecture.
What causes the error?
The wording alone does not identify the cause. The most useful clue is the scope of the problem.
| What you observe | More likely cause |
|---|---|
| One ClickOnce program fails | Damaged application, incomplete update, manifest, certificate, or cache |
| Every ClickOnce program fails | .NET Framework or Windows component problem |
| The error began after antivirus activity | Quarantine or false positive |
| It began after an update or driver installation | Recent system change or component corruption |
| Only a 32-bit or 64-bit program fails | Architecture mismatch or damaged system component |
| The program downloads files but will not start | Manifest, certificate, proxy, server, or cache issue |
ClickOnce troubleshooting can involve messages such as “Application cannot be started,” “Cannot continue. The application is improperly formatted,” “Application validation did not succeed,” and “Unable to retrieve application files.” These can appear alongside a DLL-related complaint but may have nothing to do with a missing dfshim.dll. Microsoft lists these causes in its guide to troubleshooting ClickOnce deployments.
Fix 1: Repair or reinstall the affected application
This is the best first step when only one application reports the error.
Use Windows app repair
For a program listed as a Windows app:
- Open Start.
- Select Settings.
- Select Apps.
- Select Installed apps.
- Find the affected program.
- Select the three-dot menu beside it.
- Select Advanced options.
- Select Repair.
- Start the program again.
The Repair option attempts to correct the application without removing its data. If it is unavailable or does not help, return to the same screen and use Reset only if you understand that the application may lose local settings or stored data.
Repair a classic desktop program
For a traditional installer-based program:
- Press the Windows key.
- Type Control Panel and open it.
- Select Programs.
- Select Programs and Features.
- Right-click the affected program.
- Select Repair or Change.
- Follow the installer’s instructions.
- Restart Windows if requested.
If the program has no Repair option, uninstall it and download a fresh installer from the application’s official publisher or use its official launcher. Choose Verify, Repair, or Verify files if the launcher provides one.
Do not remove the program first if you need saved settings or locally stored data. Check the publisher’s backup instructions before uninstalling.
How to tell whether this worked
The repair succeeded if:
- The program opens without the
dfshim.dllmessage. - A ClickOnce update completes.
- The application creates a new shortcut or launches from its normal
.appref-msentry. - The error occurs nowhere else.
If the same program still fails while other ClickOnce programs work, stop treating the problem as a general Windows DLL failure. The application’s deployment, manifest, signing certificate, server, or cache is more likely.
Fix 2: Repair or install the required .NET Framework
ClickOnce applications require the appropriate .NET Framework version before they can run. Microsoft explains ClickOnce prerequisites in its guide to installing prerequisites with a ClickOnce application.
Should you install .NET Framework 4.8 or 4.8.1?
Use the version specified by the application publisher whenever possible.
Recommended Free Tools
- Install .NET Framework 4.8 when the program specifically requires 4.8 or supports that release.
- Install .NET Framework 4.8.1 when the publisher supports it and your Windows version can use it.
- Do not assume 4.8.1 repairs software that requires .NET Framework 3.5. These are separate framework generations.
- Install the runtime, not a developer pack, when your goal is to run an application.
Windows versions include different .NET Framework releases. Microsoft documents which versions are included and how the framework is installed in its .NET Framework installation guide.
Repair the existing installation
Microsoft provides the .NET Framework Repair Tool for setup, update-registration, installer, and permissions problems. To use it:
- Download the tool from Microsoft’s .NET Framework Repair Tool page.
- Save
NetFxRepairTool.exe. - Right-click it and select Run as administrator.
- Accept the license terms.
- Follow the recommended repair steps.
- Restart Windows.
- Test the ClickOnce application again.
The tool repairs the framework installation. It is not a replacement for downloading a random DLL.
Install the official runtime
If the application still reports a missing component, use Microsoft’s official .NET Framework 4.8 download. Follow the publisher’s requirements if the application needs another version.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →For a computer without reliable internet access, Microsoft also provides an official 4.8 offline installer. Its documented filename is NDP48-x86-x64-AllOS-ENU.exe; obtain it from Microsoft’s 4.8 offline installer page.
Restart after installation, then launch the application from its normal shortcut or publisher-provided launcher.
Fix 3: Install Windows updates, then repair system files
Use this step when multiple ClickOnce applications fail, Windows reports the file as corrupt, or the problem began after an interrupted update.
Install pending updates
- Open Start.
- Select Settings.
- Select Windows Update.
- Select Check for updates.
- Install the available updates.
- Restart Windows, even if it does not insist on a restart.
- Return to Windows Update and check again.
- Test the application.
Windows 10 reached end of support on October 14, 2025, so the updates available to that system depend on its support and servicing situation. Do not assume that every Windows 10 installation will continue receiving the same updates as a supported Windows release.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsRun DISM and SFC
DISM repairs the Windows component store. System File Checker then uses that repaired store to check protected system files.
- Open Start.
- Type Command Prompt.
- Right-click Command Prompt.
- Select Run as administrator.
- Approve the User Account Control prompt.
- Run this command:
DISM.exe /Online /Cleanup-image /Restorehealth
- Wait for DISM to finish. Do not close the window while it is working.
- Run:
sfc /scannow
- Wait until verification reaches 100 percent.
- Restart Windows.
- Test the ClickOnce application again.
Microsoft documents this DISM-then-SFC sequence in Using System File Checker in Windows.
Possible SFC results include:
- Windows Resource Protection did not find any integrity violations: protected files were not found to be damaged.
- Windows Resource Protection found corrupt files and successfully repaired them: restart and test the application.
- Windows Resource Protection found corrupt files but was unable to fix some of them: run DISM again, restart, and run SFC again. If it still cannot repair the file, review the CBS log or use Microsoft-supported recovery guidance rather than copying a DLL manually.
The repair process can involve waiting for Windows to download or reconstruct components. A progress percentage that pauses does not necessarily mean the command has stopped.
Outbyte PC Repair can reduce the guesswork when you are repeatedly hunting for damaged settings or rerunning SFC and DISM without knowing what changed; its free scan shows detected issues, while repair is handled by the full version. It is optional, and Windows repair commands remain the supported path for a protected system file.
Fix 4: Check Windows Security quarantine
Antivirus software can quarantine a legitimate system component after an incorrect detection. Do not restore the file merely because its name is dfshim.dll.
- Open Start.
- Type Windows Security.
- Open it.
- Select Virus & threat protection.
- Select Protection history.
- Review recent detections.
- Look for an entry naming
dfshim.dllor a ClickOnce-related component. - Check the original path, detection details, and publisher information.
Microsoft describes this process in its guide to Protection History in Windows Security.
Rank #2
- Video Link to instructions and Free support VIA Amazon
- Great Support fast responce
- 15 plus years of experiance
- Key is included
Restore or allow a quarantined file only when you can confirm that:
- The original path was a Windows system directory.
- The file is digitally signed by Microsoft.
- The detection is clearly a false positive.
- Your security software is current and its detection details support that conclusion.
If the path is an application folder, the file is unsigned, or the event is unclear, do not restore it. Repair Windows or reinstall the application from its official source instead.
Fix 5: Check 32-bit and 64-bit compatibility
A ClickOnce application can be 32-bit even when Windows is 64-bit. This matters because Windows maintains separate system locations and uses file-system redirection for 32-bit processes.
Do not:
- Copy a file from another computer.
- Copy a file from
System32intoSysWOW64. - Copy a file from
SysWOW64intoSystem32. - Rename an unrelated DLL to
dfshim.dll. - Replace a system file with a version from an online file index.
- Force a 32-bit application to use a 64-bit component.
If only an older 32-bit application fails, reinstall the application using its current official installer and run Windows Update. If only a newer 64-bit application fails, use the same process and then repair Windows components with DISM and SFC.
The application publisher may also document whether its program requires a particular processor architecture. Do not change compatibility settings or install architecture-specific packages unless the publisher instructs you to do so.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Fix 6: Reset the ClickOnce cache only when appropriate
A damaged ClickOnce cache can make an application appear to have a missing DLL or can cause errors after an incomplete update. Clearing it is not a first step because it removes all online applications from the ClickOnce cache, not just the one that fails.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Before proceeding:
- Close the affected application.
- Close other ClickOnce applications.
- Save any work.
- Confirm that you can reinstall the affected programs from their publishers.
- Check whether clearing the cache could affect other users of the computer.
To clear the cache:
- Open Start.
- Type Command Prompt.
- Right-click Command Prompt.
- Select Run as administrator.
- Run:
rundll32.exe %windir%System32dfshim.dll,CleanOnlineAppCache
- Restart Windows.
- Reinstall or relaunch the affected ClickOnce application from its official deployment source.
Microsoft documents CleanOnlineAppCache as an API that cleans or uninstalls online applications from the ClickOnce cache. If the command itself reports that dfshim.dll cannot be found, return to DISM and SFC rather than trying to download the file.
If the same deployment fails after the cache is cleared, the cause may be the manifest, certificate, download server, proxy, or application package rather than the cache.
Fix 7: Update a driver only when the evidence points there
Drivers are not the normal source of a dfshim.dll error. Consider a driver update only if the failure began immediately after a hardware or driver change, or if Windows reports broader device problems.
To check Device Manager:
- Right-click Start.
- Select Device Manager.
- Expand the relevant category, such as Display adapters, Network adapters, or System devices.
- Right-click the device.
- Select Properties.
- Open the Driver tab.
- Note the provider, date, and version.
- Use Update Driver only when Windows or the device manufacturer identifies a relevant update.
- Restart Windows and test the application.
Do not replace dfshim.dll with a driver package. If the problem is specifically a ClickOnce deployment, the application publisher and Windows component repair steps are more relevant.
Free tools Windows power users keep installed
One-click scans. No signup required.
Outbyte Driver Updater can help identify stale drivers when Device Manager leaves you checking many hardware entries manually; its free scan shows detected driver issues, while installation is handled by the full version. It is optional, and updating a driver will not replace the application repair needed for a broken ClickOnce deployment.
Why regsvr32 dfshim.dll usually does not help
regsvr32 is used for DLLs that expose registration routines such as DllRegisterServer. Microsoft documents this purpose in its regsvr32 reference.
dfshim.dll is a Windows ClickOnce runtime library, not normally a COM component that you register manually. Running:
regsvr32 dfshim.dll
may produce an error such as “The module was loaded but the entry-point DllRegisterServer was not found.” That does not prove that the file is missing or that Windows is broken. It means the command is not the appropriate repair method.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteUse Windows Update, DISM, SFC, .NET repair, or application repair according to the scope of the failure.
When System Restore is appropriate
Use System Restore when the problem began immediately after a recent Windows change, driver installation, or software installation and an appropriate restore point exists.
- Open Start.
- Type Create a restore point.
- Open the result.
- Select System Restore.
- Select Next.
- Choose a restore point dated before the problem began.
- Review the affected programs.
- Select Next, then Finish.
- Allow Windows to restart.
Microsoft explains this process in its guide to System Restore.
System Restore does not replace personal documents, and it does not repair a publisher’s broken server, invalid manifest, or expired certificate. Use it for a recent local system change, not as a general ClickOnce repair.
Why the error may persist after replacing the file
Replacing a DLL may not solve the problem because:
- The application’s deployment manifest is missing or invalid.
- The application manifest has an invalid or expired signature.
- A certificate is not trusted on the computer.
- A proxy requires authentication.
- The server is returning the wrong file or MIME type.
- An update was interrupted.
- The ClickOnce cache is damaged.
- The application requires another .NET Framework generation.
- The file has the wrong 32-bit or 64-bit architecture.
- Windows replaces an incorrect file during component servicing.
- Antivirus software removes the file again.
A genuine missing system component and a broken ClickOnce deployment can produce similar symptoms. If DISM and SFC complete successfully, other ClickOnce applications work, and only one program fails, contact that program’s publisher with the complete error text and deployment URL or launcher details.
Should you download dfshim.dll from a DLL website?
No. Random DLL download sites can provide malware, an incorrect Windows build, the wrong architecture, an unsigned file, or a file modified outside Microsoft’s servicing process. Even a clean file may not repair the component store, ClickOnce cache, manifest, certificate, or application installation that caused the error.
Use these safe sources instead:
- Windows Update
- DISM and System File Checker
- Microsoft’s .NET Framework runtime pages
- Microsoft’s .NET Framework Repair Tool
- The affected application’s official publisher or launcher
Never place a downloaded dfshim.dll in the application folder as a shortcut around Windows repair.
Frequently asked questions
Is dfshim.dll malware?
The legitimate dfshim.dll is a Microsoft Windows ClickOnce component. A file with that name is not automatically safe, however. Verify its original system path and Microsoft digital signature, especially if antivirus software detected it in an application or temporary folder.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Is `dfshim.dll part of Windows or .NET Framework?
It is a Windows ClickOnce component used by applications built with .NET technologies. The application may also require a particular .NET Framework runtime, but dfshim.dll itself should not be treated as an ordinary application-local .NET assembly.
Why does it appear when I open a .application file?
A .application file is a ClickOnce deployment entry. Windows uses ClickOnce support to read the deployment information, validate the package, retrieve application files, and start or update the program. If that support is damaged, the launch can expose a dfshim.dll error.
Should I copy dfshim.dll into the program folder?
No. Windows normally supplies this system component from its architecture-specific system directories. Copying it into the application folder can create path, version, signature, and architecture conflicts.
Does installing .NET Framework 4.8.1 always fix it?
No. It may help when the framework installation is damaged or the program supports that runtime. It will not necessarily repair a program requiring .NET Framework 3.5, nor will it fix a broken manifest, certificate, proxy, server, or ClickOnce cache.
Recommended Free Tools
What if SFC says it cannot repair the file?
Run DISM first or again, restart, and then run SFC again. If it still fails, inspect the CBS log and follow Microsoft-supported recovery guidance. Do not manually replace the file with an unverified download.
What is the most likely fix?
If one application fails, repair or reinstall that application from its publisher. If every ClickOnce application fails, repair .NET Framework and Windows components with Microsoft’s tools. If deployment-specific errors remain after those repairs, investigate the manifest, certificate, server, proxy, or cache.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




