FIX: Cannot Install XPS Viewer in Windows 10 (Solved)
In a previous tutorial I mentioned the steps required to install XPS Viewer on Windows 10. But, some users complaining that they cannot install XPS Viewer, because the XPS viewer is not listed after pressing the 'Add a feature' button (Apps > Manage optional features > Add a feature), or cannot be installed.
This tutorial contains instructions on how to troubleshoot XPS viewer installation problems in Windows 10 1803 & 1809 versions.
How to Resolve XPS Viewer installation problems in Windows 10.
Method 1. Uninstall and Reinstall Microsoft XPS Document Writer.
1. Open Programs and Features and then click Turn Windows features on or off.
2. Uncheck the Microsoft XPS Document Writer box and hit OK.
3. Now click the Turn Windows features on or off again and check the Microsoft XPS Document Writer box and click OK.
4. Restart your PC.
5. Try to install the XPS Viewer.
Method 2. Install XPS Viewer by using the DISM command.
1. Open Command Prompt as Administrator.
2. In command prompt, give the following command and press Enter.
- dism /Online /Add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0
Method 3. Download XPS Viewer from Windows Update instead of WSUS. (Windows 10 Pro & Enterprise).
If you 're using Windows 10 Pro or Enterprise, then apply the following steps in Group Policy Editor. *
* Note: If the computer belongs to a Domain, you need to modify the domain group policy settings (GPO) and then to run the "gpupdate /force" command, before installing XPS Viewer.
1. Open Group Policy Editor. To do that:
1. Press simultaneously the Windows + R keys to open the run command box.
2. Type gpedit.msc & Press Enter.
2. At the left pane navigate to:
- Computer Configuration -> Administrative Templates -> System
3. At the right pane double click at Specify settings for optional component installation and component repair
4. Set the policy to Enabled and then check the Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS) box.
5. When done, click Apply and OK and restart your PC.
6. After restart, try to install the XPS Viewer by using the DISM method above.
7. After XPS viewer installation, open Group Policy Editor and revert back the changes.
That’s all folks! Did it work for you?
Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.
- How to Block Windows 11 Upgrade on Windows 10. - April 25, 2024
- FIX: Error 0x81000203 in System Restore. (Solved) - April 23, 2024
- Cannot Access Shared folder. User has not been granted the requested logon type at this computer. (Solved) - April 18, 2024
Rodrigo
December 17, 2019 @ 4:13 pm
Thank you!
William B
January 2, 2020 @ 7:45 pm
After following instructions in Method 3, I still get :error: 0x8024002e" when I run the DSM command.
Lakonst2013
January 3, 2020 @ 1:24 pm
Have you tried to install XPS with DISM without modifying the Group Policy?
G
May 4, 2020 @ 9:00 pm
You Fixed my Problem with Method#2 since #1 Didn't work for me. Thanks for a Job Well Done!
Joe
June 1, 2020 @ 4:17 pm
You Fixed my Problem with Method#2 also!!!!!!. Thanks for the assist!
Ahamed
July 11, 2020 @ 8:29 am
Thank you! First method is not fixed my problem but second method worked. Thanks again.
Anand Gangwar
September 12, 2020 @ 11:07 pm
It worked : Method #3
Thank you
Jason
October 27, 2020 @ 2:31 pm
GPO and DSIM fixed for me, thanks!
Margarita Davtyan
May 11, 2021 @ 12:26 pm
Thank you! The first method is not fixed my problem but the second method worked.
Tam
June 7, 2021 @ 8:03 pm
Hi .. Thanks very much for your help .. Only Method 4 works for me…
Mr D
August 2, 2021 @ 7:32 am
Fixed on 3rd attempt. I should have looked at your screen shots (and included the spaces on the command prompt that you showed) and I would have got it right first time
Excellent information.
mansoor
June 14, 2023 @ 10:22 am
Method 3 worked for me, thank you too much