Copy and paste this command: Add-WindowsCapability -Online -Name XPS.Viewer~~~~0.0.1.0
Since 2018, Microsoft has treated XPS Viewer as an "Optional Feature." You can enable it through your system settings, which triggers an official background download from Microsoft’s servers. Open Settings : Press Win + I . xps viewer offline download
If the Settings menu is greyed out or failing, you can force an offline-style installation using or DISM . This is often faster and bypasses UI bugs. This is often faster and bypasses UI bugs
: Select Apps on the left, then click Optional features on the right. Once finished, it will appear in your Start Menu
: Click Next , then Install . Once finished, it will appear in your Start Menu. For Windows 10 Users: Go to Settings > Apps > Apps & features . Click the Optional features link. Select Add a feature and search for XPS Viewer . Select it and click Install . 2. Advanced: Offline Download via Command Line