how to reinstall Microsoft XPS document writer after ACCIDENTAL uninstall

Cmch Office 20 Reputation points
2026-01-25T23:26:55.31+00:00

how to reinstall Microsoft XPS document writer after ACCIDENTAL uninstall

Windows for home | Other | Apps
0 comments No comments

Answer accepted by question author
Huy-K 13,990 Reputation points Microsoft External Staff Moderator
2026-01-26T23:31:46.5133333+00:00

Dear @Cmch Office,

Thank you for posting your question in the Microsoft Q&A forum.

We apologize for any inconvenience you may encounter when using our services/ products. Based on your description, kindly try these following steps:

Step 1: Verify whether XPS Document Writer is installed

Select Start, type Printers & scanners, and open it.

Under Printers, check whether either of the following is listed:

  • Microsoft XPS Document Writer
  • Microsoft XPS Document Writer v4

Step 2: Install Microsoft XPS Document Writer

Option A: Install from Optional features

  • Select Start > type Optional features > and open it.
  • Under Add an optional feature >View features.

In the search box, type XPS.

Select Microsoft XPS Document Writer (and, if needed, XPS Viewer), then select Next > Install.

When installation completes, restart your PC if you are prompted to do so.

Option B: Enable it from “More Windows features”

  • If you cannot find XPS Document Writer through Optional features search, open More Windows features (Turn Windows features on or off) and enable Microsoft XPS Document Writer from there.
    User's image

Option C: Add it using “Add a printer”

  • Go to Settings > Bluetooth & devices > Printers & scanners.
  • Select Add device > Add manually.
  • Select Add a local printer or network printer with manual settings > Next.
  • Under Use an existing port, select PORTPROMPT: (Local Port) > Next.
  • Under Manufacturer, select Microsoft.
  • Under Printers, select Microsoft XPS Document Writer v4 > Next.
  • Complete the wizard and confirm the printer now appears under Printers.

Step 3: Test printing to XPS

  • Open any file (for example, a Word document, PDF, or a webpage).
  • Press Ctrl + P to open the print dialog.
  • Select Microsoft XPS Document Writer from the printer list.
  • Select Print, save the output as an .xps file, and open it using XPS Viewer (or convert it to .pdf if required).

Optional: Install XPS Viewer (if XPS files will not open)

If you can create .xps files but cannot open them:

Go to Settings > Apps > Optional features > View features.

Search for XPS Viewer, select it, and choose Install.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Cmch Office 20 Reputation points
    2026-02-04T16:29:12.3+00:00

    You were awesome, after the reinstall, everything worked wonderfully and back to normal.

    Great job. Thank you for your assistance..

    Was this answer helpful?


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. John DeV 171.4K Reputation points Independent Advisor
    2026-01-26T00:57:45.86+00:00

    Hi, good day!

    Open Control Panel

    Under Programs, click Uninstall a program

    Click Turn Windows features on or off

    Find and put a check mark on Microsoft XPS Document Writer

    Click Ok

    I look forward to receiving your update and I'm willing to collaborate with you till we resolve the issue. Do keep me informed by clicking "Add comment" below.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.