XPSViewer stopped working

I’m using win XP. I have IE and firefox. But firefox was set to the default internet browser. When I try to open an .xps file that I just created, firefox retarts and it asked me to download or open in a popup window.

Actually, this is just a file type association problem. Right now, .xps is associated with “C:\WINDOWS\system32\XPSViewer\xpsviewer.exe”. If you just want to open this xps file, you can restart IE, then drag the .xps file to IE or open the file from menu->file->open ….  If you want solve this problem permanently. Another words, if you want to open xps file directly by double click, you can just change the file type association, which can be done in many ways.

1. Right click the .xps file->open with-> choose program-> choose IE. You can check “Always use the selected program to open this kind of file”, then click OK. If you don’t see “open with”, you can use SHIFT+right click.

This can also be done by changing the file type association in the folder options, which can be seen in “my computer->Tools->folder options”, or from menu of any folder. Click File types, find xps, click “change” for “open with”.

2. If your IE is not visible in the list, you can’t find it whatsoever, then you can choose to change the file type association in the registry.

Open registry by running “regedit” and find the key at

HKey_Classes_Root\XPSViewer.Document.1\shell\open\command

Double click the key and change the value data to:
“c:\Program files\Internet Explorer\iexplore.exe” “%1”

One Response

  1. Thank you. It worked for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: