Ir al contenido

Restoring the Microsoft Print to PDF Virtual Printer in Windows 11

Resolving the Microsoft Print to PDF printer disappearance issue and forcing service restoration using Windows PowerShell.

0views

The Microsoft Print to PDF virtual printer is an essential native integrated tool in Windows for directly converting documents to PDF format. However, it occasionally disappears from the device list due to update issues or print spooler corruption, and standard graphical reinstallation methods often fail by returning empty lists.

This technical guide details the cause of this anomaly and provides the procedure to force reinstall and reactivate the feature via the console.


When attempting to restore the printer manually via the classic Windows wizard and the original official driver file (prnms009.inf), the selection list appears empty.

This behavior is not a user configuration error, but an intentional restriction programmed into the metadata of the native Microsoft driver. The original installation file .inf contains the declared directive:

AlwaysExcludeFromSelect=*

This rule explicitly instructs the Windows graphical configuration interface to hide and exclude the driver from any manual selection box. As a result, the only effective restoration path is to force the low-level driver registration via the console.


To modify low-level local print features and drivers, elevated privileges are required:

  1. Press the Win key on your keyboard.
  2. Type powershell in the search bar.
  3. Right-click on Windows PowerShell and select Run as administrator.
  4. Accept the UAC security dialog by clicking Yes.

Ensure that the native PDF printing service is enabled within the Windows optional features:

Ventana de terminal
Enable-WindowsOptionalFeature -Online -FeatureName Printing-PrintToPDFServices-Features -All

Step 3: Register the Device and Install the Virtual Printer

Sección titulada «Paso 3: Registrar el Dispositivo e Instalar la Impresora Virtual»

Once the feature is enabled, run the following command to register the driver, define the virtual output port (PORTPROMPT:), and create the visual icon in your printer list:

Ventana de terminal
Add-Printer -Name "Microsoft Print to PDF" -DriverName "Microsoft Print To PDF" -PortName "PORTPROMPT:"

If the command executes without triggering alerts or red text, the registration has been completed successfully.


To verify the correct operation of the printing service:

  1. Open any simple text editor (for example, Windows Notepad).
  2. Press the Ctrl + P key combination to invoke the print window.
  3. Check that Microsoft Print to PDF is available in the printer list.

  • ✓ Spooler Status: Check that the native Windows printing service (Print Spooler) is active before running the commands.
  • ✓ Driver Enabled: The optional feature Printing-PrintToPDFServices has been successfully enabled.
  • ✕ Use of Graphical Assistant: Definitively discarded due to the native restriction of the file .inf.