Sorry, Cheryl, I missed your reply
It appears that the application is installed with the SageKeyAccess
Run-time script, is this right? I think runaccess.exe is the "launcher"
distributed by SageKey.
You could try creating another shortcut and copy and paste the target
command line from the "Run as Admin" shortcut to your new one. I can see no
necessity for runaccess.exe to run with admin privileges.
--
Good Luck
Graham Mandeno [AccessMVP]
Auckland, New Zealand
The "Run as Administrator" designation is put there by default when
the application is installed. I can't seem to find a way to get rid
of it. I have gone into the properties of the shortcut, and of the
runaccess.exe, made sure that "Run as Administrator" is not checked.
But the shield designation is still on the shortcut, and when the app
is run, the dialog box comes up saying the runaccess.exe is
"unidentified", and asks for admin password to continue.
Any suggestions?
Cheryl- Hide quoted text -
- Show quoted text -
Graham,
Thanks for your reply. Here is where I am at.
I tried creating a new shortcut, cut and pasted the target command
line from the previous shortcut, but once saved, the new shortcut also
shows the "Run as Administrator" shield. I was however able to bypass
the UAC prompt by creating a manifest file in the same directory, with
the designation to run "asInvoker".
This has allowed my appliction to start up without any prompts.
However I now get a message that states "You do not have permission to
make the requested system configuration changes. Rerun using an
administrator account." However, the application will still open and
appears to run OK - extensive testing not done yet, but basic
functionality is there.
I thought that it may be related to something in my application that
makes a registry change, even though I had already given the standard
user full control of the key. I commented out this code, yet still
received the message. After some investigation, it appears that this
message is related to the runaccess.exe, and not to my app. Change
the shortcut to point to msaccess.exe rather than runaccess.exe, and
this message no longer appears. If I change the manifest file for the
runaccess.exe to "requireAdministrator", then I get the UAC prompt,
but no message indicating that I do not have permissions.
Still looking for a solution, but I appreciate all of your
suggestions.
Cheryl