XPS Viewer is the built-in Windows app for opening, viewing, and printing XPS (XML Paper Specification) documents. While Windows 10 includes it by default on many installations, it can be missing on some editions or after a fresh install. This guide walks you through the two reliable methods to install it: using the optional features panel and using Windows PowerShell. You only need administrator access to your PC.
What You’ll Need
- A Windows 10 PC with administrator privileges.
- An internet connection (for the optional feature download, if not already cached).
- Your Windows 10 version should be version 1803 or later (most modern installations are).
Step-by-Step
Method 1: Using the Optional Features Settings (Recommended)
- Open Settings: Press Windows + I on your keyboard to open the Settings app.
- Navigate to Apps: Click on Apps (or “Apps & features” in older versions).
- Open Optional Features: In the left sidebar, click Optional features. If you don’t see it, look for “Apps & features” and then click “Optional features” at the top of the right pane.
- Add a Feature: Click the + Add a feature button (it’s near the top of the list).
- Find XPS Viewer: In the search box, type XPS. You should see “XPS Viewer” appear in the list. If it’s already installed, it will show as “Installed” and you can skip the rest.
- Install: Click on XPS Viewer to highlight it, then click the Install button below the list. Windows will download and install the feature automatically.
- Wait for completion: The status will change from “Downloading” to “Installed”. This usually takes less than a minute, but may take longer on a slow connection.
- Verify: Once installed, search for “XPS Viewer” in the Start menu. It should now appear as an app. You can also open any .xps file – it should open with XPS Viewer by default.
Method 2: Using PowerShell (Alternative)
- Open PowerShell as Administrator: Right-click the Start button (or press Windows + X) and select Windows PowerShell (Admin) or Terminal (Admin) if you have Windows Terminal.
- Run the install command: Type the following command and press Enter:
Get-WindowsCapability -Online | Where-Object Name -Like "XPS*" | Add-WindowsCapability -OnlineThis command finds the XPS Viewer capability and installs it. It may take a couple of minutes.
- Check success: After the command finishes, you should see a message that says “Online: True” and the overall status will be “Installed”. If you see an error, make sure you’re connected to the internet and try again.
Common Mistakes
- Not using administrator privileges: Both methods require admin rights. If you get an “Access denied” error, close the app and reopen it as administrator.
- Looking in the wrong place: XPS Viewer is not a separate download from the Microsoft Store. It’s a Windows optional feature. Don’t search the Store for it – you’ll only find third-party XPS readers.
- Assuming it’s installed: Even if Windows 10 includes XPS Viewer by default, some editions (like Windows 10 N) do not include it. Always check the Optional Features list first.
- Typing the PowerShell command wrong: Copy and paste the command exactly as shown. A typo in the filter (like “XPS*” vs “Xps*”) can cause the command to fail or install nothing.
Tips
- Set XPS Viewer as default: After installation, right-click an .xps file, choose Open with → Choose another app, select XPS Viewer, and check the box “Always use this app to open .xps files”.
- Use the search shortcut: Press Windows + S, type “XPS Viewer”, and press Enter to launch it quickly.
- Keep Windows updated: If the feature fails to install, ensure your Windows 10 is fully updated. Sometimes pending updates can interfere with optional feature installation.
- Use the viewer for printing: XPS Viewer is handy for printing XPS files without converting them to PDF. It also allows you to digitally sign XPS documents.
Troubleshooting
Issue: XPS Viewer doesn’t appear in Optional Features after searching.
This can happen if your Windows edition doesn’t support it (e.g., Windows 10 N). Try the PowerShell method – if that also fails, you may need to install the “Media Feature Pack” for N editions, which includes XPS Viewer. Alternatively, you can use a third-party XPS reader, but the built-in viewer is preferable.
Issue: Installation fails with error 0x800f0954.
This error often indicates a problem with Windows Update. Try running the Windows Update troubleshooter (Settings → Update & Security → Troubleshoot → Additional troubleshooters → Windows Update). If that doesn’t work, restart your PC and try again. As a last resort, you can use the Deployment Image Servicing and Management (DISM) tool: open Command Prompt as admin and run DISM /Online /Cleanup-Image /RestoreHealth.
Issue: XPS Viewer is installed but won’t open .xps files.
Right-click the .xps file, select “Open with”, then “Choose another app”. If XPS Viewer isn’t listed, scroll down and click “More apps”. If it still doesn’t appear, browse to C:\Windows\System32\xpsrchvw.exe and select that file. Check the box to always use this app.
Issue: PowerShell command returns “Not found”.
Make sure you’re running PowerShell as administrator. Also, the command uses a wildcard “XPS*” – if your system has a different naming, try Get-WindowsCapability -Online | Where-Object Name -Like "*XPS*" to see all XPS-related capabilities.
Frequently Asked Questions
Q: Is XPS Viewer free?
Yes, it’s a built-in Windows feature and completely free. No separate purchase or subscription is needed.
Q: Can I install XPS Viewer on Windows 11?
Yes, the same optional features method works on Windows 11. The steps are nearly identical – just search for “XPS Viewer” in Optional Features.
Q: What is an XPS file?
XPS (XML Paper Specification) is a fixed-layout document format developed by Microsoft. It’s similar to PDF but less common. XPS files preserve the exact layout and can be digitally signed.
Q: Why would I need XPS Viewer if I have a PDF reader?
XPS is a different format. If you receive XPS files (often from Windows applications or older printers), you need a viewer that supports it. XPS Viewer is the official Microsoft app for this.
Q: Can I convert XPS to PDF?
Yes, you can print an XPS file to PDF using the “Microsoft Print to PDF” printer. Open the XPS file in XPS Viewer, click the printer icon, select “Microsoft Print to PDF”, and save the output.
Q: Does XPS Viewer allow editing?
No, XPS Viewer is read-only. To edit XPS files, you need a dedicated editor, but those are rare. Most users just view and print.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Turn Off Shutter Sound on iPhone
- VPN Setup on iPhone SE: Step-by-Step Guide
- Fix Internet Not Working on Windows 11
- Fix Right Click Not Working in Firefox
- Compare Two Columns with Comma Separated Values in Excel
- How to Limit Ad Tracking on iPhone Apps