P
Pat Caulfield
Hello,
We have a Windows 2008 Terminal Server that will be used by most of our
employees. I'd like all users on the server to be able to view Visio
diagrams with Visio Viewer 2007. However, I also need a select few to be
able to use the full version of Visio 2007.
I've locked down the visio.exe file so that only users in a specific group
can run the program. The problem is, Visio 2007 takes control of the file
extensions / file associations. I haven't been able to set the Visio Viewer
to be the default application for launching Visio documents.
I've scoured newsgroups and the internet for a solution. One suggestion was
a registry addition for the HKEY_CURRENT_USER\Software\Classes key for all
users in a login script (see below for contents of reg keys). I've tried
implementing this but it doesn't seem to work. After implementing the key
changes, when I double-click on a Visio file, IE launches and starts a cycle
of asking me if I want to Save or Open the file (and continues over and over
until I select Cancel.)
I've also found a suggestion to run Visio with a /noreg switch so that Visio
does not overwrite the Visio Viewer file associations. Unfortunately, it
seems that the Visio Viewer never takes control of the file associations when
it is installed. If I double-click a Visio file immediately after install of
the Visio Viewer, it still launches Visio 2007. I've tried extracting the
visioviewer.exe file and installing using the vviewer.msi file but get the
same results.
I have installed all programs using the 'Install Application on Remote
Desktop...' icon in the Control Panel (equivalent to Install Mode on older
versions of TS.)
Any help greatly appreciated!
Pat Caulfield
Registry file contents below
-----------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\.vsd]
@="VisioViewer.Viewer"
"Content Type"="application/vnd.ms-visio.viewer"
[HKEY_CURRENT_USER\Software\Classes\.vsd\shellex]
[HKEY_CURRENT_USER\Software\Classes\.vsd\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{21E17C2F-AD3A-4b89-841F-09CFE02D16B7}"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer]
@="Microsoft Visio Document"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\CLSID]
@="{279D6C9A-652E-4833-BEFC-312CA8887857}"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\CurVer]
@="VisioViewer.Viewer.1"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\DefaultIcon]
@="\"C:\\Program Files\\Microsoft Office\\Office12\VVIEWER.DLL\",-2"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell]
@=""
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open]
@="Open"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\ddeexec]
@="\"file:%1\",,-1,,,,,"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer.1]
@="Microsoft Visio Document"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer.1\CLSID]
@="{279D6C9A-652E-4833-BEFC-312CA8887857}"
We have a Windows 2008 Terminal Server that will be used by most of our
employees. I'd like all users on the server to be able to view Visio
diagrams with Visio Viewer 2007. However, I also need a select few to be
able to use the full version of Visio 2007.
I've locked down the visio.exe file so that only users in a specific group
can run the program. The problem is, Visio 2007 takes control of the file
extensions / file associations. I haven't been able to set the Visio Viewer
to be the default application for launching Visio documents.
I've scoured newsgroups and the internet for a solution. One suggestion was
a registry addition for the HKEY_CURRENT_USER\Software\Classes key for all
users in a login script (see below for contents of reg keys). I've tried
implementing this but it doesn't seem to work. After implementing the key
changes, when I double-click on a Visio file, IE launches and starts a cycle
of asking me if I want to Save or Open the file (and continues over and over
until I select Cancel.)
I've also found a suggestion to run Visio with a /noreg switch so that Visio
does not overwrite the Visio Viewer file associations. Unfortunately, it
seems that the Visio Viewer never takes control of the file associations when
it is installed. If I double-click a Visio file immediately after install of
the Visio Viewer, it still launches Visio 2007. I've tried extracting the
visioviewer.exe file and installing using the vviewer.msi file but get the
same results.
I have installed all programs using the 'Install Application on Remote
Desktop...' icon in the Control Panel (equivalent to Install Mode on older
versions of TS.)
Any help greatly appreciated!
Pat Caulfield
Registry file contents below
-----------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\.vsd]
@="VisioViewer.Viewer"
"Content Type"="application/vnd.ms-visio.viewer"
[HKEY_CURRENT_USER\Software\Classes\.vsd\shellex]
[HKEY_CURRENT_USER\Software\Classes\.vsd\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{21E17C2F-AD3A-4b89-841F-09CFE02D16B7}"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer]
@="Microsoft Visio Document"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\CLSID]
@="{279D6C9A-652E-4833-BEFC-312CA8887857}"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\CurVer]
@="VisioViewer.Viewer.1"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\DefaultIcon]
@="\"C:\\Program Files\\Microsoft Office\\Office12\VVIEWER.DLL\",-2"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell]
@=""
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open]
@="Open"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\ddeexec]
@="\"file:%1\",,-1,,,,,"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer.1]
@="Microsoft Visio Document"
[HKEY_CURRENT_USER\Software\Classes\VisioViewer.Viewer.1\CLSID]
@="{279D6C9A-652E-4833-BEFC-312CA8887857}"