Fix Microsoft Print to PDF Creating Corrupted Files in Windows 11
Question details
Users are experiencing an issue where the Microsoft Print to PDF virtual printer generates corrupted files that cannot be opened.

- Product
- Microsoft Print to PDF
- Device & OS
- Windows 11
- Scenario
- Generating PDF files using the native Microsoft Print to PDF driver from a print dialog.
- Observed behavior
- The resulting PDF files are corrupted and throw no error codes during creation. Reinstalling the driver may temporarily produce a single valid test file, but subsequent files generated after closing the print dialog are corrupted.
Ensure your Windows 11 operating system has the latest updates installed and verify that the source document you are trying to print is not already corrupted.
Reinstall and Reconfigure Microsoft Print to PDF
Removing the corrupted virtual printer and manually re-adding it with adjusted spooling settings is the primary troubleshooting step.
Windows 11 virtual printer drivers can occasionally corrupt their spooling mechanism. Removing the device completely and assigning it strictly to the FILE: port can resolve internal driver conflicts.
Navigate to Windows Settings > Bluetooth & devices > Printers & scanners. Click on 'Microsoft Print to PDF' and select the 'Remove' button.
Reboot Windows 11 to ensure all background print spooler services drop any lingering corrupted cache related to the PDF driver.
Go back to Printers & scanners and click 'Add device'. Choose to add the printer manually, select the 'FILE: (Print to File)' port, and install the Microsoft Print to PDF driver.
Open the Printer Properties for the newly added Microsoft Print to PDF. Navigate to the 'Advanced' tab and select the option 'Start printing after the last page is spooled'. Click Apply and OK.

Perform a System Reinstall
If driver reconfiguration fails to provide a permanent fix, a clean installation of Windows 11 may be required to resolve deep-seated OS corruption.
Export to PDF Directly with WPS Office
Bypass frustrating Windows print driver issues entirely. WPS Office features a robust, built-in PDF converter that allows you to save any document, spreadsheet, or presentation as a high-quality PDF without relying on external virtual printers.
- 1. Open your document in WPS Office: Launch WPS Office and open the file you originally intended to print to PDF.
- 2. Access the Export function: Click on 'Menu' in the top-left corner of the application interface, then select 'Export to PDF'.
- 3. Customize and save: Adjust your desired export settings in the prompt window, choose your save destination, and click 'Export' to instantly generate a clean, uncorrupted PDF file.

Frequently Asked Questions
Why does Microsoft Print to PDF generate corrupted or 0-byte files?
This generally happens due to conflicts with the Windows print spooler service, corrupted temporary files, or incorrect port assignments (such as not using the FILE: port).
Can I use an alternative to Microsoft Print to PDF in Windows 11?
Yes, many productivity suites, including WPS Office, feature native 'Export to PDF' capabilities that completely bypass the Windows virtual printer system, preventing these driver-based errors.
Where are files saved when using Microsoft Print to PDF?
By default, the print dialog prompts you to choose a save destination. If a destination is not explicitly chosen, Windows often defaults to your Documents folder.




