The same command can also be used in an elevated (run as admin) Command Prompt or Windows Terminal in Windows 11. Once installed, enter “ Y” to restart your computer.
PowerShell will show the progress as it installs the app. It may take a while for the installation to complete. DISM /Online /Add-Capability /CapabilityName:XPS.Viewer In the elevated PowerShell, to install XPS Viewer, enter the command below. You need administrative privilege to run the command below. Right-click PowerShell in the search result and select Run as administrator. In Windows 11, go to Start and search for Windows PowerShell. Install XPS Viewer in Windows 11 via PowerShell or CMDĪlternatively, you can install XPS viewer by entering a command in Windows PowerShell or Command Prompt on Windows 11. Once installed, restart your PC and you should then be able to open your XPS files. You can see the installation progress in the same Settings > Apps > Optional features window. Select XPS Viewer from the search result and click Next to install it. In the add an optional feature window, use the search bar to search for XPS Viewer. Next, click on the View features button next to “Add an optional feature”. Select Apps on the left pane, then select Apps & features on the right. To install XPS viewer in Windows 11, follow the steps below.įirst, press Win + i keys to open Settings. Users will have to manually install the XPS viewer by adding it via the optional features in Windows 11 settings. Though XPS viewer is one of the built-in features in Windows, it is not enabled by default. Install XPS Viewer to open XPS file in Windows 11
Convert XPS to PDF offline using XPS Viewer.Install XPS Viewer via PowerShell or CMD.Install XPS Viewer via Optional Features.