0
If I try to edit a text file in a system folder such as Program Files
or Windows
with Notepad (or an image with Paint, or... you get the idea) and then save it I get an "Access denied" error. Now I know why and I don't want to run Notepad elevated all the time. What I want to know is, why can't Notepad request elevation at this point instead of simply throwing an error and forcing one to save elsewhere? Is this an oversight by the Notepad developers (or they just didn't care to update it to be UAC friendly) or is there a technical reason for the lack of a UAC elevation dialog?
Why should the user have to run Notepad as admin, then navigate to and open the text file, when he can simply open the file directly? There are other processes that request elevation as and when required (which is the correct way of doing it as far as I know). So why can't Notepad automatically request elevation when the user opens a file from a system folder, or when it realizes that the user is trying to save to a system folder? – A_r – 2014-04-07T07:59:36.170