ricky Posted August 19, 2011 Share Posted August 19, 2011 Hello, on windows 7, the is a new option to execute the program with the admin rights, how can we modify the FileCreateShortcut or create a new function to activate it? The program is not made with autoit! With AutoIt, I know we have the option #RequireAdmin. Below, the picture to see this new option, sorry it's in french : Thanks in advance for you help Link to comment Share on other sites More sharing options...
martin Posted August 19, 2011 Share Posted August 19, 2011 Hello, on windows 7, the is a new option to execute the program with the admin rights, how can we modify the FileCreateShortcut or create a new function to activate it? The program is not made with autoit! With AutoIt, I know we have the option #RequireAdmin. Below, the picture to see this new option, sorry it's in french : Thanks in advance for you help Do you mean that you want the shortcut to run the program as admin but without the user being asked for the admin password? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
ricky Posted August 19, 2011 Author Share Posted August 19, 2011 I just want to create a shortcut and activate this option. After, if the windows requires a new user and password, I didn't care... Link to comment Share on other sites More sharing options...
JFX Posted August 19, 2011 Share Posted August 19, 2011 (edited) Take a look in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers Compatibility settings should be stored there. Edited August 19, 2011 by JFX Link to comment Share on other sites More sharing options...
ricky Posted August 19, 2011 Author Share Posted August 19, 2011 Thanks, it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now