Forum Discussion

Daron's avatar
Daron
Copper Contributor
Feb 14, 2025

MICROSOFT XPS DOCUMENT WRITER

Good Day!

 

Does anyone know who to install the same MICROSOFT XPS DOCUMENT WRITER that installs on WINDOWS 10/11 on SERVER 2025. An application needs it to send emails with attachments via OUTLOOK. None of the drivers available to install manually are the same as the one on WINDOWS 10/11.

 

Thank you!

3 Replies

  • Cloud1500's avatar
    Cloud1500
    Copper Contributor

    The following worked for me.  Hopefully it works for you too...

    1. Copy over the "XPS Document Writer" folder from the "C:\Windows\System32\spool\tools" folder of a Windows 11 computer that has the driver properly installed, to the same location on the Windows Server 2025 computer.
     
    2. Open file explorer on the Windows Server 2025 computer and go to the "C:\Windows\System32\spool\tools\XPS Document Writer" folder. Then right-click the prnms001.inf file and select 'Install' from the context menu. The system will acknowledge that it is installed.
     
    3. Open Powershell as Administrator and run the following commands: 
    - Add-PrinterDriver -Name "Microsoft XPS Document Writer v4"
    - Add-Printer -Name "Microsoft XPS Document Writer" -DriverName "Microsoft XPS Document Writer v4" -PortName "portprompt:" 
     
    3. You should be good now.

     

     

  • Cloud1500's avatar
    Cloud1500
    Copper Contributor

    It took lots of trial and error, but I got mine to work like this...

    1. Copy over the "XPS Document Writer" folder from the "C:\Windows\System32\spool\tools" folder of a Windows 11 computer that has the driver properly installed, to the same location on your Windows server 2025 computer.
    2. Using file explorer, navigate to the "C:\Windows\System32\spool\tools\XPS Document Writer" folder, right click on the prnms009.inf file and select install from the context menu.
    3. Open Powershell as Administrator on your Windows Server 2025 computer, and run the following commands: 
          - Add-PrinterDriver -Name "Microsoft XPS Document Writer v4"
          - Add-Printer -Name "Microsoft XPS Document Writer" -DriverName "Microsoft XPS Document Writer v4" -PortName "portprompt:"
    4. You should be good now.

    Hopefully this works for you too :)

Resources