You don't want to touch the shortcut... after making the change look for "RUNASADMIN" at the hive listing at: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
You can make REG file (export that key) and deploy that using your own preferred method. The example above is for Windows 7 - note that in Win8 it's called "~ RUNASADMIN" so check the key for the OS type and filter how you send it using WMI, etc. to target the correct REG file with the OS version. - Harry From: [email protected] [mailto:[email protected]] On Behalf Of James Rankin Sent: Thursday, September 12, 2013 5:16 AM To: [email protected] Subject: Re: [NTSysADM] Re: Make a program run with UAC Cool! That's neat....much easier than the manifest approach. Now to find if I can deploy a shortcut with that tick box pre-enabled - thanks Harry, saved me some pain there ;-) Cheers, JR On 12 September 2013 10:07, Harry Mavromatidis <[email protected]<mailto:[email protected]>> wrote: If UAC settings have not been changed, set the compatibility mode to "run as an administrator." - Sent from a mobile keyboard. Please pardon typos and auto correct irregularities. James Rankin <[email protected]<mailto:[email protected]>> wrote: Looks like this does the trick (although it seems very complicated to me) http://msdn.microsoft.com/en-us/library/bb756929.aspx The usual "post query, then find answer" process :-) On 12 September 2013 09:35, James Rankin <[email protected]<mailto:[email protected]>> wrote: How do you make a program pop up the UAC prompt whenever it is run? I have a process that I want to put a shortcut to on the user's desktop, which is intended to be run by support staff to do various things if the user has issues. However, obviously I don't want the user to be able to run it themselves, so I was thinking if you could somehow make a program require admin credentials (i.e. by popping up the UAC prompt), I would have an easy solution to this issue. However, as I have found, it's not easy to find info on this....what criteria does a program have to fill so that UAC fires up every time you launch it? Cheers, -- James Rankin Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk -- James Rankin Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk -- James Rankin Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk

