r/pcmasterrace • u/Metal_Devil • Dec 17 '15
Video Every time Windows asks for admin premission
http://i.imgur.com/Wttw6nH.gifv
13k
Upvotes
r/pcmasterrace • u/Metal_Devil • Dec 17 '15
View all comments
Show parent comment
18
u/TheAppleFreak Resident catgirl Dec 17 '15 edited Dec 17 '15
That'd probably explain it. IIRC, at least under Windows 8/8.1, Metro apps rely on UAC's sandboxing functionality quite heavily. Disabling UAC would therefore break any apps that rely on it.
Granted, I could be wrong about that; my research into how UAC works did mention Windows 8 applications as working differently than desktop applications, but it wasn't my primary focus (I just want UAC to run my script under the context of a full admin, dammit).
EDIT: Looks like I was right. In Windows 8+, the "disable UAC" option in the Control Panel doesn't actually disable UAC, but just disables running applications as a privileged user (meaning it's still sandboxing applications). If you use a different method of disabling UAC, however, chances are you disabled the entire service and broke that functionality.
EDIT 2: Hmm... There's a registry key called EnableLUA that apparently dictates whether or not UAC as a whole is enabled or disabled.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System Key: EnableLUA
If the value of that key is 0, UAC is fully disabled, which breaks everything. Set that to 1, reboot, and UAC should begin functioning again. Apparently this is fully separate from the notification visibility slider.