When I'm currently in a command line window and I change an environmental variable I have to reopen a cmd.exe instance. When I want to install a python package using pip from the command line I have to run it in administrator mode as well.
I was wondering if there is a command / shortcut to reopen a cmd.exe instance in administrator mode.
I know I can use
start cmd.exe to open a new command line instance and I've seen that apparently you can use
runas to run a service from the command line in administrator mode, but this prompted me for my administrator password which does not correspond to my user password apparently.