1
0
I've recently upgraded from Windows 7 to Windows 10 (64-bit, Pro) and there's an aspect of its UAC behaviour that puzzles me:
My desktop is covered with shortcuts to apps I've installed under XP, Win7 and Windows 10.
I have the UAC slider set to the one below the most secure setting, whatever that's called If I could find it in Win10, I'd quote what it says, but in Win10 MS seem determined to hide things.
When I double-click the shortcuts, nearly all of the apps launch without the UAC "Do you want to allow this app to make changes to your PC?". That's not because of anything I've consciously done since upgrading to Win10.
But with two apps, an antique Sql Server 2000 Enterprise Manager and that Clean Master utility, I always get the UAC pop-up. I also get it is I select Run as Administrator
from their context menu. I don't think it's anything to do with the age of Enterprise Manager, because I don't get the UAC pop-up with its Query Analyzer utility, which is part of the same Sql Server 2000 suite.
For those two, I've gone to the context menu of their desktop shortcuts,
clicked the Advanced
button on the Shortcut
tab and checked the Run as Administrator
box, but I still get the UAC pop-up.
My main question is why does Win10 treat them differently regarding the UAC pop-up than all the rest and what can I do to get them treated the same without turning UAC off?
Yes; This behavior has been around since Windows 8 was released. It also cannot be changed. This is no different then having to still use the sudo command and provide a password even if you were logged in as the highest privileged user on a Linux system. – Ramhound – 2015-10-01T16:00:52.330
Sorry, that's not my point. What I'd like to know is why those two apps are treated differently that the others. Something, somewhere makes them be treated differently to the dozens of others on my desktop. If I knew what it was, I ought to be able to change how they are treated without having to turn UAC off. – MartynA – 2015-10-01T16:15:53.997
One reason. Both applications are ancient not use any of the new Win32 functions. A proper application today would generate a manfest file which outlines how it should behave, and properly and only when required, elevate the process's permissions. – Ramhound – 2015-10-01T16:50:28.447
Sorry, that can't be right. Clean Master is relatively recent (I first noticed it a couple of years ago) and actively maintained and in any case I have dozens of testbed applications that I've written myself in Delphi to answer questions on StackOverflow. None of those have manifests (because it's not worth the efford just t test some code) and none of them get the UAC pop-up. – MartynA – 2015-10-01T16:58:34.890
Apparently in the absence of a manifest it is based on heuristics where Windows looks for certain patterns and keywords in the executable. If the process doesn't get detected as requiring elevated permissions then certain operations get virtualized. See https://technet.microsoft.com/en-us/library/cc709628(v=ws.10).aspx
– James P – 2015-10-01T20:34:44.073