/build/static/layout/Breadcrumb_cap_w.png

Admin Access

It appears as though the application needs to be run as administrator in Windows 7. Instead of giving users admin access, is there anything that can be done to the package that will allow this application to do what's necessary without giving elevated privileges to the user?

3 Comments   [ + ] Show comments
  • What is the application? Check to see which component needs the permissions (Reg. or Folder). - 786_ak 10 years ago
  • 786_ak is correct - if it's folder permissions that are required, installing the app to a different directory, or giving all users write permission to the program directory, may be adequate workarounds. - zschuetz 10 years ago
  • If you need help determining the file and registry permissions that the application needs I would recommend using procmon from SysInternals:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    You can monitor which registry keys and files the program is accessing to make sure you grant the appropriate permissions. - chucksteel 10 years ago

Answers (2)

Posted by: jagadeish 10 years ago
Red Belt
1
If it really needs elevated privileges to run then apply RunAsInvoker shim on the target exe using ACT (Microsoft Application Compatibility Toolkit) 
Posted by: Badger 10 years ago
Red Belt
0

depending on what API it is using as to why the app is asking for elevation. The fact that you say it is prompting is a good sign.

To see if the app will run without and elevated session... try setting a the __Compat_Layer variable to RunAsInvoker.

 

from a CMD
__Compat_Layer=RunAsInvoker

then in that CMD, run the application you want. if it launches OK, your'e golden.

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ