0X800401C0

OLESTREAM (0X800401C0) Error: Get Method Failed Fix

OLESTREAM 0X800401C0 means Windows can't read a saved file. Here's how to fix it fast, from a 30-second reset to a registry repair.

You double-click an Outlook attachment or try to open a saved report and Windows throws OLESTREAM (0X800401C0) Get method failed. Annoying, right? I've seen this on everything from a 2016 Dell OptiPlex running Windows 10 21H2 to a fresh Windows 11 23H2 build. The error means Windows tried to read a stream of bytes from a file using OLE (Object Linking and Embedding) and the underlying file handle was invalid or the stream was corrupted. Basically, the container exists but the contents are unreadable.

Common triggers: a half-written .msg file from a crashed Outlook, a printer driver that stores settings in an OLE compound file, or a third-party app that wrote a 0-byte stream. One client last month had their entire print queue die because a corrupt OLE stream in the spooler config. Another had a business-critical Excel add-in fail on every machine because a referenced .xls file was saved from a network share while the disk was full.

Here's the troubleshooting flow. Stop when it's fixed.

30-second fix: Kill the OLE cache and restart Explorer

Most of the time, a stuck OLE object is cached in memory. Restarting Explorer clears the cache without a full reboot.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Find Windows Explorer in the list. Right-click it and choose Restart.
  3. If the error came from Outlook, also close and reopen Outlook.

If the error is gone, you're done. If it comes back the next time you open the same file, the stream itself is corrupt — go to the 5-minute fix.

5-minute fix: Repair the file and clear the Office/OLE cache

This fix targets applications that use OLE streams: Office documents, Outlook messages, printer settings, and some line-of-business apps.

Step 1: Repair the Office installation

If you're on Office 2016, 2019, or Microsoft 365, the built-in repair tool often rebuilds the OLE registration that's broken.

  1. Open Settings > Apps > Installed apps.
  2. Find your Microsoft Office entry, click the three dots, then Modify.
  3. Choose Quick Repair. If that fails, run Online Repair (takes 10–15 minutes and needs internet).

Step 2: Delete the Outlook OLE cache (if Outlook is the trigger)

Close Outlook first. Then delete this folder:

%localappdata%\Microsoft\Outlook\RoamCache

Paste that path into File Explorer's address bar, hit Enter, and delete everything inside. Outlook rebuilds it on next launch. I've fixed at least a dozen 0X800401C0 errors this way, especially when the error appears when opening .msg or .oft files.

Step 3: Repair the specific file

If the error is tied to one document, open it in the app's safe mode or use a repair tool. For Excel: File > Open > Browse, select the file, click the arrow next to Open, choose Open and Repair. For Word, same menu. For Outlook, run scanpst.exe against your .pst file. On Windows 10/11 with Microsoft 365, that tool lives at:

C:\Program Files\Microsoft Office\root\Office16\SCANPST.EXE

Run it, point it at your .pst, and let it repair. It'll create a backup first.

15+ minute fix: Registry and COM+ registration repair

If the error persists across multiple files and apps, the OLE registration in the Windows registry is likely broken. This happens after a botched Windows update, a third-party uninstaller that didn't clean up, or a malware infection.

Step 1: Re-register the OLE DLLs

Open an elevated Command Prompt (right-click Start > Terminal (Admin) or Command Prompt (Admin)). Run these one at a time:

regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 actxprxy.dll
regsvr32 scrrun.dll
regsvr32 urlmon.dll

You should see a "DllRegisterServer in ... succeeded" message for each. If one fails, note the error — that's your culprit.

Step 2: Check the OLE registry keys

Open regedit as administrator. Navigate to:

HKEY_CLASSES_ROOT\CLSID

Look for any subkey that starts with {0002 or {0003 and has a TreatAs value pointing to a non-existent CLSID. Deleting those orphaned keys can fix stubborn OLE errors. Back up the key first: right-click CLSID, choose Export, save it somewhere safe.

Also check:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLE

Make sure the EnableDCOM value is set to Y and LegacyAuthenticationLevel is 2 (or not present). If EnableDCOM is N, OLE can't create the objects it needs and you'll get 0X800401C0 along with a bunch of other OLE errors.

Step 3: Run System File Checker and DISM

Corrupt system files can break OLE. In an elevated command prompt:

sfc /scannow
dism /online /cleanup-image /restorehealth

Run DISM first if SFC fails. Reboot after.

Step 4: Rebuild the Windows print spooler (if printing triggers the error)

If the error appears when printing, the spooler's OLE stream is probably corrupt. Stop the spooler service:

net stop spooler

Delete everything in C:\Windows\System32\spool\PRINTERS. Then restart the spooler:

net start spooler

Re-add your printer if needed. This is the exact fix I used for that client whose print queue was dead.

What if nothing works?

If you've done all of the above and still see 0X800401C0, the problem is almost always a third-party app that's writing bad OLE streams. Think: old Adobe Acrobat versions, certain CAD tools, or custom line-of-business software from a vendor that hasn't updated since Windows 7. Check Event Viewer under Windows Logs > Application right after the error — you'll often see a faulting module name. That's your target. Uninstall or update it.

Worst case: create a new Windows user profile. I've seen OLE registration break only for one user because their HKCU\Software\Classes hive was corrupted. A new profile takes 5 minutes and rules it out.

Related Errors in Windows Errors
0X80093003 Fix OSS_PDU_RANGE (0x80093003) ASN.1 Decoding Error 0X00001B61 MODEM 0X00001B61: The Port Is Already Open Fix 0XC00D0BCD Fix NS_E_UNSUPPORTED_PROPERTY (0xC00D0BCD) in Windows Media Player 0XC00D0022 NS_E_INDUCED (0XC00D0022): Testing Error Fixes

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.