Word, Excel, and RDP Crashing Due to Printer Issue

KB4541329 Appears to be the cause of this issue. Uninstalling it should permanently fix the issue.

Just ran into an issue where a user kept getting a "COM Surrogate has stopped working" every time they tried to print from Windows Photo Viewer. They also kept running into an issue where Excel, Word, and RDP connections would crash when launched.

Analyzing the crash dump that was generated (dllhost.exe) revealed the issue.
The application was not able to find the default printer. Trying to set the default through Devices and Printers in control panel resulted in another crash.

The fix was to run the command below:

(New-Object -ComObject WScript.Network).SetDefaultPrinter('PRINTER NAME')

The crashes went away once the default printer was set.

Comments

Popular posts from this blog

Best Practices for Deploying User Profile Disks

Enabling Webcam on RDS

Deploying FSLogix Office 365 Containers