Site icon Winhelponline

“Word has encountered a problem” Pasting from Paint to Word/Outlook

When you paste an image from the modern Paint app in Windows 11 to Microsoft Word or Microsoft Outlook, the following error may occur:

Word has encountered a problem.

The error message is the same when you paste the copied image (from Paint) into Outlook.

However, the image may get pasted from the Clipboard after you dismiss the dialog by clicking Ok.


The above error occurs due to a missing Ole32.dll registry value. For some reason, the modern Paint app doesn’t create the registry value during installation. This causes Word or Outlook to return an error when attempting to paste the item as an OLE item (that’s how Paint stores images on the Clipboard).

This is not a problem generated by Microsoft Office. Also, Windows 10 doesn’t have this issue, as it comes with the classic Paint app, and the OS creates the entries by default. Unless the missing registry key is created, restoring the classic Paint app on Windows 11 also doesn’t resolve the issue.


To resolve the error “Word has encountered a problem” when pasting images from Paint, follow these steps:

Create the MS Paint Ole32.dll Registry key

  1. Start the Registry Editor (regedit.exe).
  2. Navigate to the following key:
  3. Create a subkey named “InProcHandler32
  4. Select InProcHandler32 and set its (default) value data to “ole32.dll
  5. If you’re using Office 32-bit, make the same changes under this key:
  6. Exit the Registry Editor.

REG file to automate/deploy the above setting:

Download, unzip, and run “word-paste-ole-fix.reg“.

Contents of the REG file (FYI)
Windows Registry Editor Version 5.00


;For Office 32-bit running on Windows 11 (which is 64-bit)

If you want to reverse the changes, run the undo.reg file.

That fixes the Office apps error when pasting images from MS Paint.

Exit mobile version