process for hyperlinks

G

Guest

I have set up Access Manager on my computer to limit what programs can/cannot
be opened on my User Account so that people who use the computer cannot play
around with two many things and to minimize virus opening up.

In Access Manager, you have select every program file to allow it to work.
Now, I have a problem in that when I click on hyperlinks in a Word document
or an Outlook file, I cannot open the link. This is because I have not
allowed, in Access Manager, the program file that makes hyperlinks work
between programs.

So, I am looking for the name of the file that must be burried in Windows
that actually allows the computer to open hyperlinks within Word or Outlook
programs.

Does anyone know what program (i.e. file with the .exe extention) that
enables hyperlinks to work between programs? By the way, hyperlinks within my
internet browsers work fine. It's only with hyperlinks within Word or Outlook.
 
N

Newbie Coder

Paul,

Its controlled via this file:

shdocvw.dll

Example:

rundll32.exe shdocvw.dll,OpenURL %l

You can see this by opening a folder

TOOLS menu | FOLDER OPTIONS | FILE TYPES tab | URL
 
G

Guest

Thanks for answering. Unfortunately, I'm looking for an .exe file that allows
hyperlinks to work. I think it's actually for MS Office because that's where
I have the problem. It's an .exe file that allows hyperlinks to work within
Word documents and also hyperlinks that open from Outlook messages to
internet browser. It has to be an .exe file because .dll files are not
restricted on my computer. Only .exe files are restricted.
 
N

Newbie Coder

Paul,

Microsoft Office uses many resouce files, but the main executables for MS Office
apps are things like winword.exe,...

If you look in the header files for URL & check out their interfaces then you
have things like URLMON.DLL & URLMON.LIB, which are used for MS Office
applications

Here are a few articles that explain a little further, but are not 100%
suitable:

References to URLMON.DLL...

http://support.microsoft.com/kb/838028

This goes into hyperlinks in great detail, but is more a programming reference:

http://msdn2.microsoft.com/en-us/library/aa767919.aspx

Another simple file for you to read:

http://support.microsoft.com/kb/257464

But as you said in your previous post the DLL files are unrestricted so you
cannot include that file anyway

-----------------

There is a registry key that will allow you to run just those particular files &
none other. Adding to that key is basically what that application is doing for
you:

Restrict Running Applications

Current User:


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Di
sallowRun

All Users:


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\D
isallowRun

Note:

You will probably need to create the key under POLICIES:

Example:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

Right-click the POLICIES KEY (left pane) | NEW | KEY & type EXPLORER

Produces:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Now, right-click the EXPLORER KEY (just created in the left pane) | NEW | KEY &
type DisallowRun

Now, highlight the 'DisallowRun' key in the left pane & create the following in
the right pane:

Create new STRING & name it 1 (incrementing each time)

Example:

1 "MyDisallowedExe.exe"
2 "AnotherDisallowedFile.exe"
3 ...

Now, go back to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Highlight the EXPLORER key in the left pane & in the right pane

Create a new DWORD value 'DisallowRun' & set it to 1


If you have followed these registry instructions correctly it should look like
what is between the dashes below when you export the POLICIES key:

========================================================================

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"DisallowRun"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\D
isallowRun]
"1"="MyDisallowedExe.exe"
"2"="AnotherDisallowedFile.exe"

========================================================================

There is another registry key that can be created like above that will RESTRICT
the applications that a user can run:

It uses exactly the same keys to POLICIES\EXPLORER as before but you create a
new key RestrictRun instead of DisallowRun:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Re
strictRun

1 "MyDisallowedExe.exe"
2 "AnotherDisallowedFile.exe"
3 ...

In this key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Create a new DWORD (right pane)

RestrictRun & change value to 1

If you export the registry key from POLICIES it will look like this:

========================================================================

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"RestrictRun"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\R
estrictRun]
"1"="MyDisallowedExe.exe"
"2"="AnotherDisallowedFile.exe"

========================================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top