Fix Windows Internal Shell Broker DLL Errors
In this article
Windows internal shell broker DLL errors (often shown as a message about a missing or corrupt DLL, or a failure in a component like windows.internal.shell.broker.dll) usually mean a system file has been damaged, an update did not finish cleanly, or a third-party program is interfering with the Windows shell. The fastest reliable fix is to run the built-in System File Checker and DISM repair tools, then restart; if that does not clear it, re-register the shell components and check for problematic startup apps. You do not need to reinstall Windows or download DLL files from the internet, and you should not do either.
What You'll Need
- Administrator access to the PC (you will be prompted for permission).
- A working internet connection for the DISM repair step, which can download replacement files.
- Enough free time for a restart or two, and ideally a recent backup of important files.
- Your Windows installation media or recovery drive only if the built-in tools fail (see Troubleshooting).
Step-by-Step
- Restart the PC properly. Use Start > Power > Restart, not Shut down. A full restart clears stuck shell processes and is often enough for a one-off broker error. If the error returns immediately after login, continue.
- 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 can take several minutes. It will report whether it found and repaired corrupt files. - Run DISM to repair the system image. In the same administrator Command Prompt, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This repairs the component store that SFC relies on and can replace damaged DLLs. It needs internet access and may take a while. Restart when it finishes. - Check for Windows updates. Go to Settings > Windows Update and install any pending updates, including optional quality updates. Shell broker components are updated alongside the shell, so a half-installed update is a common cause. Restart after updating.
- Re-register the shell components. If the error persists, open an administrator Command Prompt and run
regsvr32 /i shell32.dll. This re-registers the core shell library. Restart again. If the command reports an error, note the message and move on rather than repeating it. - Clean up startup programs. Open Task Manager (Ctrl+Shift+Esc), go to the Startup tab, and disable non-Microsoft entries you do not recognise. Restart. If the error stops, re-enable them one at a time to find the culprit. Labels in Task Manager can differ slightly by Windows version.
- Run a full malware scan. Use Windows Security > Virus & threat protection > Scan options and choose a full scan. Malware that injects into Explorer is a known cause of shell DLL errors. Remove anything found, then restart.
- Create a new user account as a test. Go to Settings > Accounts > Other users and add a local account. Sign in to it. If the error does not appear there, your original profile is damaged; move your files across and keep using the new account, or repair the old profile through the steps in Troubleshooting.
- Use System Restore if the error is recent. Search Start for Create a restore point, open System Protection, and choose System Restore. Pick a point from before the error started. This reverts system files and some installed programs; personal files are not removed, but apps installed after the restore point will need reinstalling.
Common Mistakes
- Downloading DLL files from third-party sites. Never do this. Random DLL downloads are a common malware vector and rarely match your exact Windows build. The built-in repair tools are the safe route.
- Skipping DISM because SFC “found nothing”. SFC can only repair from a healthy component store. If the store itself is damaged, DISM must run first or alongside it.
- Using a “registry cleaner” or “DLL fixer” utility. These tools often cause more damage than they fix and are not needed for this problem.
- Forcing a shutdown during an update. Interrupting a Windows update is one of the most common ways to end up with a damaged shell component.
- Assuming the error is always a virus. Most shell broker DLL errors are caused by update or file corruption, not malware, so start with repair tools and scan afterwards.
Tips
- Run the repair commands one at a time and read the output. “Windows Resource Protection found corrupt files and successfully repaired them” is the result you want.
- If the error appears only when opening a specific app or file type, the problem may be that app’s shell extension rather than Windows itself. Uninstall or update the app and test again.
- Keep Windows Update and your antivirus definitions current; most shell file corruption is preventable.
- Before any major repair step, copy important documents to an external drive or cloud storage. System Restore and profile changes are usually safe, but a backup removes the risk.
- Note the exact error text and any file name it mentions. That detail tells you whether the problem is in the shell, a specific app, or your user profile.
Troubleshooting
If the steps above do not clear the error, work through these in order:
- SFC keeps finding the same file. Boot into Safe Mode (Settings > System > Recovery > Advanced startup > Restart now, then choose Safe Mode) and rerun
sfc /scannowand the DISM command. Safe Mode loads fewer third-party components, so repairs are less likely to be blocked. - DISM fails with an error. Check that you are online and that the Windows Update service is running. If it still fails, run
DISM /Online /Cleanup-Image /StartComponentCleanupfirst, then retry the RestoreHealth command. - The error only affects your account. Rebuild the user profile: create a new administrator account, sign in, copy your files from C:\Users\YourOldName, then remove the old account from Settings > Accounts > Other users. Removing an account deletes its profile data, so copy files first.
- Repairs fail repeatedly or Windows will not start normally. Use Reset this PC from Settings > System > Recovery, choosing Keep my files. This reinstalls Windows and removes installed apps and settings, but keeps personal files. Back up first. If the PC will not boot, use your Windows installation media to access repair options.
- Error appears after installing a specific program. Uninstall that program, restart, and check whether the error stops. Reinstall only from the official vendor download if you still need it.
Frequently Asked Questions
What is windows.internal.shell.broker.dll?
It is a legitimate Windows system file used by the shell (the desktop, taskbar and File Explorer) to coordinate background tasks. Errors naming it usually indicate corruption or a conflict, not that the file is malicious.
Can I just delete the DLL file?
No. Deleting system DLLs breaks Windows further. Use SFC and DISM, which replace damaged files with correct copies from Microsoft.
Will System Restore remove my personal files?
No. System Restore reverts system files, drivers and some installed programs to an earlier point; documents, photos and other personal files are kept.
Does this error mean my PC has a virus?
Not necessarily. Corruption and failed updates are more common causes. Still, run a full scan with Windows Security after repairing, since malware can also trigger shell errors.
Do I need to reinstall Windows?
Rarely. Only if SFC, DISM, updates and a new user profile all fail should you consider Reset this PC, and even then the “Keep my files” option avoids a full wipe.
Why does the error come back after restarting?
A recurring error usually points to a startup program, a damaged user profile or an unfinished update. Disable startup items, test a new account, and check Windows Update for pending installs.