Windows 7 administrator rights

BlitzMax Forums/BlitzMax Beginners Area/Windows 7 administrator rights

degac(Posted 2010) [#1]
Is there a way to change the .exe file permission to run a program 'as administrator'? (I mean from BlitzMax via SetFileMode or something)

The only solution I found is to turn off the UAC and make every programs to run with admninistrator rights - not completely safe for certain situation.

The problem is that I have a program that starts other applications: unfortunately these applications need to run with 'administrator rights'...(I have to manually set the main program with root-rights...I tought that everthing launched from this application had the correct rights...)

Any suggestion is welcome.
Thanks


Volker(Posted 2010) [#2]
You can do this with the Microsoft Application Compatibility Toolkits
by creating an application fix:
http://www.winfaq.de/faq_html/Content/tip2500/onlinefaq.php?h=tip2534.htm
Sorry, german text, but the pics are english.
Another way is using the task scheduler:
http://blogs.techrepublic.com.com/window-on-windows/?p=616


degac(Posted 2010) [#3]
Thank you!

PS: a 11Mb application to change some flags...yes very MS style!!!

This weekend I check the net to find some 'magic' of registry/library/something to make things a little easy!