Fix Windows Perception Stub DLL Errors: Step-by-Step
In this article
To fix a Windows perception stub DLL error, the quickest reliable route is to run the built-in System File Checker and DISM tools, then reinstall the affected app or the Visual C++ Redistributable it depends on. A 'perception stub' DLL is a placeholder file that ships with some Windows components and third-party apps; when it goes missing, gets misregistered, or is blocked by security software, you see errors like 'The program can't start because PerceptionStub.dll is missing' or 'The ordinal could not be located.' The steps below walk through the safe, official fixes in order of least risk. Before you start, create a restore point (search 'Create a restore point' in the Start menu) so you can roll back if anything behaves worse. Menu labels can differ slightly by Windows version, device and region, so read the wording rather than matching it exactly.
What You'll Need
- Administrator access to the PC (you'll be prompted for an admin password or a UAC confirmation).
- An internet connection for Windows Update and for downloading official redistributables.
- The name of the app that throws the error (check the dialog title or Event Viewer).
- A restore point made before you change system files.
Step-by-Step
- Identify the source of the error. Note the exact app name in the error dialog. Open Event Viewer (search 'Event Viewer' in Start), expand Windows Logs > Application, and look for recent Error entries around the time the message appeared. The 'Faulting module' or 'Faulting application' line tells you whether the problem belongs to a Windows component or a specific installed program. This matters because a stub DLL shipped with an app should be fixed by reinstalling that app, not by copying files from the internet.
- Restart the PC and retry. A pending update or a file lock can make a DLL appear missing for one session. A full restart (Start > Power > Restart, not Shut down) clears that state.
- Run the System File Checker. Open Start, type 'cmd', right-click Command Prompt and choose Run as administrator. Type
sfc /scannowand press Enter. Let it finish; it scans protected system files and replaces corrupted ones from the local component store. If it reports it fixed corrupt files, restart and test the app. - Run DISM to repair the component store. In the same elevated Command Prompt, run
DISM /Online /Cleanup-Image /RestoreHealth. This repairs the image SFC pulls replacement files from. It can take several minutes. Runsfc /scannowagain afterward, then restart. - Reinstall the app that owns the DLL. Open Settings > Apps > Installed apps (on older builds it is Apps & features), find the program named in the error, and choose Uninstall. Download the installer again from the vendor's official site and reinstall. This replaces the stub DLL and its registration in one go and is the correct fix when the file belongs to a third-party program.
- Update or reinstall the Visual C++ Redistributable. Many stub DLL errors come from a mismatched or damaged Microsoft Visual C++ Redistributable. Open Settings > Windows Update > Advanced options > Optional updates and install any offered updates. If none appear, download the latest supported Visual C++ Redistributable packages (both x86 and x64) from Microsoft's official download page and install them, then restart.
- Check security software quarantine. Open your antivirus or security app's quarantine or protection history and look for the DLL name. If it was quarantined, restore it only if you are confident the file came from the app's official installer; otherwise reinstall the app so a clean copy is placed. Do not disable real-time protection permanently to work around this.
- Run a full malware scan. Use Microsoft Defender or your installed security suite to scan the system. Malware sometimes replaces or deletes DLLs, and a clean scan rules that out before you spend time on repairs.
- Check the app's own repair option. Some installers register a repair entry under Settings > Apps > Installed apps > (three-dot menu) > Advanced options > Repair. If the app offers Repair, use it before a full uninstall.
- Restart and verify. Launch the app that produced the error. If it opens normally, create a fresh restore point so the working state is saved.
Common Mistakes
- Downloading DLLs from 'DLL fixer' sites. These files are often outdated, modified or malicious, and dropping them into System32 can break other programs or Windows updates. Use SFC, DISM, Windows Update, the app installer or Microsoft's redistributable downloads instead.
- Registering the DLL with regsvr32 when it is not a COM component. Many stub DLLs are not meant to be registered; running regsvr32 on the wrong file produces a new error and changes nothing useful.
- Skipping the restart after SFC or DISM. Repairs are often only applied fully at the next boot, so testing immediately can look like a failure when the fix actually worked.
- Uninstalling the wrong app. Confirm the app name in Event Viewer before removing anything; a similarly named program may be unrelated.
- Turning off antivirus to 'free' the file. This leaves the PC exposed and usually hides the real cause. Restore from quarantine or reinstall the app instead.
Tips
- Run SFC and DISM from an elevated Command Prompt; a normal window will refuse to repair protected files.
- If SFC says it cannot repair some files, check
%windir%\Logs\CBS\CBS.logfor the specific file names before trying anything else. - Keep Windows Update enabled so component store repairs have a current source.
- Install both x86 and x64 Visual C++ Redistributables on 64-bit Windows; 32-bit apps still need the x86 package.
- Note the exact error text and app version in a text file before you start; it makes troubleshooting and any support request much faster.
Troubleshooting
If the error persists after SFC, DISM and a reinstall, work through these checks:
- The error returns only for one user account. Sign in with another administrator account and test the app. If it works there, the problem is in the original user's profile; back up personal files and create a new profile rather than editing system files further.
- DISM fails with a source-file error. Mount a Windows installation ISO that matches your build, then run DISM with the
/Sourceoption pointing at thesources\install.wimfile on the mounted image. This is an advanced step; if you are unsure, use Windows Update to bring the PC fully current first. - The app still cannot find the DLL after reinstall. Check the app's installation folder for the file. If it is absent, the installer may be incomplete or blocked; download it again from the vendor's official site and verify the download completed.
- Windows Update fails repeatedly. Run the Windows Update troubleshooter from Settings > System > Troubleshoot > Other troubleshooters, then retry the updates that were failing.
- Errors began after a driver or software change. Use System Restore to roll back to the restore point you created before starting, then reapply updates one at a time to find the trigger.
Frequently Asked Questions
Is a perception stub DLL a virus?
Not by itself. Stub DLLs are legitimate placeholder files used by some Windows components and apps. The risk is downloading a replacement from an unofficial site, which is why you should repair or reinstall instead.
Can I just copy the DLL from another PC?
No. DLLs are version- and architecture-specific, and copying one can cause new errors or break updates. Reinstall the owning app or run SFC and DISM.
Do I need to reinstall Windows to fix this?
Almost never. SFC, DISM, Windows Update, reinstalling the app and reinstalling the Visual C++ Redistributable resolve the large majority of cases. A reset or reinstall is a last resort after those fail.
Will System Restore delete my files?
System Restore rolls back system files, drivers and installed programs to the restore point; personal documents are not removed. Apps installed after the restore point may need reinstalling.
Why does the error appear only when I open one specific program?
That points to the program's own files or its dependency on a redistributable, not to Windows as a whole. Reinstall that program and its Visual C++ Redistributable first.
Does running SFC or DISM delete my data?
No. They repair system files and the component store. They do not touch personal documents, photos or app data.