How to install XPS Viewer using PowerShell or CMD on your Windows 10

Since the arrival of computers, among its many functions, the use of documents has always been present, whose objective is to be able to store and record a wide variety of information in a comfortable and methodical way . With the advancement of information technology, more and more ways of processing and managing these documents or files are being added.

XPS is one of several extensions that exist to give different . To be able to use it in Windows 10, it is necessary to install the XPS viewer , and for this there are several options of which are found using PowerShell or CMD. So here’s how to do it.

Index( )

  1. What is the procedure to download XPS viewer on your PC using Windows Update?
  2. What steps do you need to follow to successfully install XPS Viewer on your computer using DISM?
  3. How to quickly fix any issues with XPS viewer installation?
    1. Delete and reinstall Microsoft XPS writer
  4. How is the XPS file configured after it was installed on the PC?

What is the procedure to download XPS viewer on your PC using Windows Update?

Presented the case of wanting to activate the XPS Viewer in the Windows 10 operating system, it is a good option to use the Windows Update module . It is a very easy and fast way to download the viewer. To start installing it, go to the start of Windows and follow these steps:

  • Go into settings.
  • Click on ‘applications’.
  • Within the ‘applications and features’ section, click on ‘optional features’.
  • Go into the ‘ add a feature‘ option .
  • Find the box for ‘ XPS Viewer‘ and check it.
  • Click to install.

What steps do you need to follow to successfully install XPS Viewer on your computer using DISM?

The practice of using commands in DISM is quite a useful tool to be able to install and activate features on computers . Using this to accomplish the installation of the XPS viewer has become a very effective method. There are two ways to install XPS viewer with DISM: using PowerShell and CMD.

In the case of wanting to install it through PowerShell, you must go to the start of Windows and press right click. Among the options to choose from, select ‘Windows PowerShell (Administrator)’. Subsequently, the PowerShell console will open where the following command is entered:  dism /Online /add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0

When you finish placing the command, you have to press the Enter key, and the installation process will start. Upon completion, the window should be exited and access to the XPS Viewer will be available. But if you want to install in another way, there is the alternative to do it with CMD . For them, follow these steps:

  • Go to Windows Start and type ‘CMD’ in the search engine.
  • Open CMD console as administrator
  • Ingresar: dism /Online /Add-Capanility /CapabilityName:XPS.Viewer~~~~0.0.1.0
  • Pulsar Enter
  • Wait for the installation to finish.

With the completion of these steps, access to the XPS Viewer will be available from Windows startup. With this achieved, this document and file extension can be used to perform its different functions .

How to quickly fix any issues with XPS viewer installation?

Among the possible existing cases, the situation where the XPS viewer fails to be installed correctly may occur . Due to a possible error in the DISM commands, the viewer will not be able to appear after having done the installation process. Luckily you can opt for the following method.

Delete and reinstall Microsoft XPS writer

With this method it will be possible to solve the problems after the installation of the viewer . For this, it is necessary to do the following steps:

  • Enter the control panel, and open ‘programs and features’.
  • Click ‘Turn Windows features on or off’
  • Uncheck the ‘ Microsoft XPS Document Writer‘ box and click OK.
  • Go back to ‘turn Windows features on or off’
  • Select the ‘ Microsoft XPS Document Writer‘ checkbox and click OK.
  • Restart your computer.
  • Install XPS Viewer with any of the methods explained above.

How is the XPS file configured after it was installed on the PC?

Something similar to what happens with PDF virtual printers, the XPS extension has the function of archiving documents that want to be printed. To achieve this configuration, go to the file or document that you want to print and use the ‘Save as…’ option and choose ‘XPS Document’ followed by indicating the folder where to save it and that’s it.