/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


script to suppress application shortcut which is running in admin mode

09/08/2017 570 views
Hi 

I have to deploy synchro software for all users but if we try to launch the shortcut I get the error message as " lc_flexinit:20" and then it shows license is not activated.
If i try to run the application as run as administrator,the application works fine.and once the shortcut is launched with admin mode,it doesn't require any admin credential to launch the shortcut again.

As this is required for deployments to many users,we just need a command line to suppress this so that it should launch fine with normal user id
0 Comments   [ + ] Show comments

Comments


All Answers

1

Do it properly (as the software vendor clearly can't be bothered to code properly...)

- Run the software using ProcMon to determine which protected area of Windows the idiot developer has chosen to use.

- In your deployment package, use your favoured permissioning tool (e.g. SetACL) to open up permissions to allow users (Domain Users, Everyone, Users...whatever) to 'Modify' the location.

- Send a strongly worded email to the vendor, asking when it's likely that he'll realise it's 2017, not 1987.

EDIT, after a re-read:
It seems likely that the application is writing to a protected area only at first launch so you might be able to simply add the file/folder/registry value(s) to your deployment package. In which case:

- Run the software using ProcMon to determine which protected area of Windows the idiot developer has chosen to use.

- In your deployment package, add the file/folder/registry value(s) that you discovered.

- Send a strongly worded email to the vendor, asking when it's likely that he'll realise it's 2017, not 1987.


Answered 09/11/2017 by: VBScab
Red Belt

 
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