msdwdrv.dll Error in Windows 10 and 11: Microsoft document printer output

PC Repair Atlas cover with msdwdrv.dll and the title Microsoft document printer output

A Microsoft document-printing queue fails while another printer still works.

The Windows file inventory identifies msdwdrv.dll as Microsoft Document Writer. Capture the actual error, file path and Windows build before making changes.

Check where the error occurs

Check which virtual queue is selected and capture the exact queue error. Confirm whether the affected queue is an XPS Document Writer rather than Print to PDF.

Test whether the virtual queue reaches the save step. In Notepad, type one harmless line and print it to Microsoft XPS Document Writer if that is the affected queue. Save to an ordinary local folder you can write to. Record whether the save dialog opens and whether it creates an XPS document. If this works but the original app still fails, give the app owner the two results. See Microsoft’s XPS Document Writer reference.

Repair the affected feature

Follow Microsoft’s printer repair steps on the affected queue only. If an optional Windows writer is needed, install it through the supported Windows feature controls for the build.

If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.

Verify the repair

Print a small test page and confirm the expected document type opens in a compatible viewer.

See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.