Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

I'm trying to find a way to disable UAC for a specific application using the command line. All I've found is a way to disable UAC completely for the admin but I need to only disable it for a application. I'll be applying this to a batch script. Any suggestions would be appreciated.
Posted
Comments
Sascha Lefèvre 27-May-15 12:45pm    
Only possible with ugly tricks that aren't officially supported. UAC is there for a good reason, you should just accept that :)
Member 11579826 27-May-15 12:54pm    
Not in this case, the program that I have will not run properly unless UAC is turned off for it. I'm willing to use the ugly tricks.
Sascha Lefèvre 27-May-15 13:26pm    
I'm not comfortable with posting direct links to these sources. You will find them by googling for "bypass UAC".
Sergey Alexandrovich Kryukov 27-May-15 15:48pm    
I don't believe those links helps to do it programmatically without final user's consent. Of course UAC can be completely turned off.
This whole question is just wrong way of thinking.
Please see Solution 1.
—SA
Sascha Lefèvre 27-May-15 15:57pm    
No, not programmatically, as far as I know from having taken just a short look at it.

1 solution

If such way existed, who would never need such useless UAC? Just use some elementary logic. This is the whole idea: UAC is designed the way to make it impossible to bypass it without the user's consent.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900