Thank you Gheorghe for your comprehensive reply.
I must atmit that for now I cannot understand it.
Anyway I have made already a compiled/encrypted runas function, but the admnin does not want to allow any encrypted files/scripts that contain admin/poweruser username/pw.
At the moment I am considering something else.
I have found a way to allocate any application I want to be run even by restricted users. I use w2003 standalone server and this worked fine when I changed setting of Software Security Policies on my Local Computer Policy (would work probabely for User Configuration od ad domain servers, but since I am standalone server I have only the User Cofiguration/Windows Settings/Security Settings without Software Security Policies folder displayed!!!!). Here I have added my app.exe as Additonal Rule --> Unrestricted.
Described under
http://support.microsoft.com/kb/324036
So localy this works fine. Restricted users are still restricted exept for this app.exe.
Now, I have to test if this works fine also in a domain.
The problem that I have now is (because AI newbie and newbi at all) is how to implement this registry values in AI, because as a consequence of my change there was also a following change in registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{0D786B1B-1AB2-4846-907D-143B1BD95C7A}Machine\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers\262144\Paths\{de6639b9-a86a-4a08-967b-97afbba6f918}
So I do not know what all these numbers here mean in any part of the path. I suppose if I would write the same values by AI, this would not work on other computers that have the same app.exe on the same place in file directory.
As i said I have no Software Security Policies folder under User Cofiguration/Windows Settings/Security Settings displayed....so I cannot allow ther a certain group to run this app.exe with unrestricted priviledges.
As you see I have moved a bit but I am stacking now because I do not know what are the proper values to be entered in AI for the registry in order to work on other machines or for other users.
I hope you understood my writing. I know it can confuse one, but I know this is a problem that meny users would like to know how to solve.
Do you have any sugestions in this topic which is "how to make a MSI installation which allows restricted users to run urestricted an app.exe domainwide".
And also I am very thankfull to you and anyone else who has some comments, ideas, solutions, tips, explanations to this mine topic.
Regards,
Sascha[/img]
FOLLOW US
Get the latest news in Application Packaging