As the previous user mentioned you can keep a file open in Notepad++ but you'd still have to open it elevated every time.
The real way to do this is to use Microsoft Application Compatibility Toolkit. There you can create a database (custom location that holds your fixes) and create a fix.
Create a fix - Fill out Name Org and then browse to file.
(if system file like regular notepad you obviously go to the %windir% / C:\windows / C:\Windows\System32 dir.
(database might have to be saved before starting but i'm not 100% sure. Do it anyway because it might be a little tricky to do it the first time (saving the database that it))This fix will have options "RunAsInvoker" selected.
(Also databases are both saved and installed !!!)
DO NOT SELECT "RunAsAdmin" ----- but do select "RunAsInvoker".(trust me, I tried it)
Scroll down to verify RunAsInvoker is checked or just Click the "Show Selected" button to filter the results to only that of which you
Hit next. Click "Auto-Generate" and wait till completed.
Finally hit finish.
After you are done the last step is accomplished either of two ways.
1 is right click to install the fix (you are installing the database but think of it the same.
2 (more common because method 1 doesn't always work is to add the database through elevated cmd.exe with command:
(if this next line confuses you smh. jkjk look down for that ah-ha moment.
SDBInst \\<Path to .sdb file>\<FileName>.sdb
(any location is fine as you have run cmd.exe as an administrator (elevated))
As always quotations are needed if any spaces are within your path to .sdb file.
ex: "C:\Cool Shit\myDatabase.sdb"
NOTES for the confused:
You can have multiple fixes in each database.
(Not sure if required, but I always uninstall a database before I add a new fix to a database that already exists.)
This is the official MS way. The other UAC bypass methods work by adding a shortcut in the Scheduled Tasks manager.
This way is fine, but only works by running a shortcut. (so you would have to execute that 1 file for elevated access)
This official way I have given works globally. (system wide)
I am lazy as f right now so just look it up its easy and gets more easy the next time.
Don't disable UAC as that is what the common idiot will do.
This is analogous to telling a kid to not touch the fire. THEY really want to do it but when the get a rusty pipe inserted up their (use imagination) ntoskrnl.exe file (you're a sick fuk man!) they are going to be very sad as they can not play minecraft until mommy buys new h@x0r t3r|\/|1n@l_