3
3
The title is a bit misleading, but I cannot think of a better one. See the following example to explain what I want:
- Under Windows 7, the current User I am using is a "Computer Administrator" account. After updating to Windows 10, the account type of my current User is still "Administrator".
- Let's say I want to edit the
C:\Windows\System32\drivers\etc\hosts
file. - Typically I just use the Windows Explorer, navigate to that path and then right click on the
hosts
file and choose, in my caseEdit with Sublime Text 2
- since I have Sublime Text 2 installed and I prefer to use that for editing any text file. - This works fine under Windows XP and Windows 7 (with UAC disabled). However, after updating to Windows 10 (also with UAC disabled), the Sublime Text process will not have enough rights to save that file.
So my question is: what is the difference here between Windows 7 and Windows 10? Why is a process, that is not run under the Administrator account under Windows 7 able to write to that location, but under Windows 10 it is not? Even though the account used in both cases is of type "Administrator?"
1By with UAC disabled you mean do not notify option in control panel? Starting from Windows 8 this option does not disable UAC, as immersive apps can not work with UAC disabled. – user364455 – 2016-08-14T11:48:13.080
Yes, I mean Never Notify (which is still the same setting as in Windows 7; I did not know that it cannot be disabled in general). – fritzmg – 2016-08-14T11:58:09.563
1Starting from Windows 8 Never Notify mean auto approve mode, where elevation requests are approved without asking user, but application still need to request elevation to get full admin rights. – user364455 – 2016-08-14T12:06:26.097