5 ms·
That's interesting. I haven't used Windows since UAC came out. Is a Windows password useless to an application then?
by vortico 9y ago
That's interesting. I haven't used Windows since UAC came out. Is a Windows password useless to an application then?
- gruez 9y agoyou might be able to work around it if RDP is enabled, by using the credentials to start a RDP session, then clicking the UAC prompt from within the RDP session. problem is, RDP isn't enabled by default, and you need admin permissions to enable it.
- ksk 9y agoUAC came out over 10 years ago! In any case, NT is structured quite differently than the typical UNIX variants. When you log in, NT creates two access tokens for you. One with all your privileges, and one with admin rights masked out. When a process is launched it uses the non-admin one by default, even if you are the admin user. When a thread requires admin privileges, NT will first check if your unmasked token already has those rights, in which case, it will prompt you (UAC) for permission to use the token. This is unlike traditional UNIX where the 'effective user' changes to root on a global level, not just per-thread. So you get 10 minutes (or w/e) as root to do your thing.
- marksomnian 9y agoFor all of Microsoft's faults, I can't count how many feats of engineering they've pulled off to maintain backwards compatibility.