/build/static/layout/Breadcrumb_cap_w.png

shim for run as admin

him all

how i can create a shim for application which requires admin rights to launch from start menu? works fine when run as admin but doesnot run for standard user. need admin aceess. tried shim with run as invoker,as admin,as highest etc. but nothing works fine. also tried to insert registry here to change it  to admin rights HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers , but no solution working so far. so shim is the last option. also correct me if i am wrong. i am first installing shim with command line "c:/windows/system32/sdbinst.exe" "xxxxxxxxxx.exe" and then running my exe which needs admin rights to run for standard user. is this route correct to apply shims?
Its kind of urgent. please help
Thanks for comments.

3 Comments   [ + ] Show comments
  • Did you have a look at this article?
    http://technet.microsoft.com/en-us/magazine/ff431742.aspx - dedenker 10 years ago
  • The command is sdbinst xxxxx.sdb (where xxxxx.sdb is the name of the sdb file containing the shim). Also the command must be run in an Administrator cmd window. It doesn't work in a normal window even if you have admin rights. - olditguy 10 years ago
  • i am following this route...install shim first
    2) install application

    3) log off
    4) log in with standard user and launch application from start/menu
    but any of the combination seems does not work.

    i tried with run as invoker,run as admin,run as admin.

    correct me if i am wrong.

    thanks - swap20june 10 years ago

Answers (1)

Posted by: EdT 10 years ago
Red Belt
0
Check out this article:
https://www-secure.symantec.com/connect/articles/handling-shims-wise-package-studio
and also
https://www-secure.symantec.com/connect/articles/mitigation-techniques-using-act-shims
 
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