Jump to content
Sign in to follow this  
ricky

ShortCut with admin rights Windows 7

Recommended Posts

ricky

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 :

post-39014-0-15282500-1313745696_thumb.p

Thanks in advance for you help

Share this post


Link to post
Share on other sites
martin

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 :

post-39014-0-15282500-1313745696_thumb.p

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.

Share this post


Link to post
Share on other sites
ricky

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...

Share this post


Link to post
Share on other sites
JFX

Take a look in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Compatibility settings should be stored there.

Edited by JFX

Share this post


Link to post
Share on other sites
ricky

Thanks, it works.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×