If you just need to edit protected files every now and then, it's easier to launch your editor with administrative privileges - fastest way to do that is launching it with Ctrl+Shift+Enter from the start menu/screen (silly it doesn't work with Win+R).
If, on the other hand, you're often doing stuff in a console, have a look at
ConEmu - it's pretty great, and also makes it easy to start a tab with an administrative shell.