SyncToy error message...

B

Brian W

Getting a .NET error message when running SyncToy. We are distributing (as a
test) to a couple users with limited user permissions on their workstation.
It installs and runs correctly the first time, but subsequent runs produce
the error. We are using Zenworks to distribute the application using the
MSI, this just elevates the permissions that it was installed under. The
error mentions a security permission error accessing a registry entry, but I
can't seem to determine the offending registry entry so that I can change
permissions to it. Any help would be greatly appreciated. Error message is
as follows below:

Thanks
Brian W.

Title: "Microsoft .NET Framework:
Message: "The application attempted to perform an operation not allowed by
the security policy. The operation required the SecurityException. To grant
this application the required permission please contact your system
administrator, or use the Microsoft .NET security policy administration
tool.

If you click continue, the application will ignore this error and attempt to
continue. If you click quit, the application will shut down immediately

Requested registry access is not allowed."

Details start with: "System.Securityexception: Requested registry access is
not allowed at Microsoft.Win32.RegistryKey.OpenSubKey(String name, boolean
writable) at......"
 
G

Guest

Brian W,

I am getting the same message for my Power Users on my new PC, but not my
old PC. The new PC is Core Duo, the old PC is a Turion 64. Both are running
XP SP2 with all patches and .NET 1.1SP1. The Administrator on the new PC
seems to run it ok.

I am going to try running SyncToy using Run as Administrator and will post a
note if that resolves it.

Ian B
 
B

Brian W

Here's the solution that I found that seems to work, found it at
http://www.archivum.info/microsoft.public.windowsxp.photos/2006-01/msg00199.html I
actually only gave full access to the #2 below, #1 didn't need it.

----
I used sysinternals' regmon utility to sniff out the registry folders that
required write access\Full Control privileges:

1) HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application
2) HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Security

SyncToy creates a Subkey in the first location, so I removed permissions
from 1) and then set write permissions on the subkey
(HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SyncToy)

Hopefully this helps, and that the SyncToy developers will fix this sweet
app so we don't have to play with the registry.

AC
 

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