How to open an elevated cmd from a cmd
A geek tip! If you need to open an elevated command prompt USING the default ‘regular’ command prompt, you can do so by using the following command:

runas /netonly /user:ack-pc\ack cmd
Replace ack with your admin user name.
Thanks Ramesh, MVP.
Related posts:
Recent posts:
Popular posts:



Comments
Even better : Make a file called “sudo.bat” in a path folder containing the following:
@runas /netonly /user:[computer]\[admin-username] %1 %2 %3 %4 %5 %6 %7 %8 %9
Replace [computer] with the computer name and [admin-username] with your admin user name.
Can any one explain me the user of /netonly switch? In which scenario this is useful?
Leave a Comment