how to run elevated command prompt windows 10 code example
Example: run cmd elevated command line
Execute the following in Run (Ctrl+R)
powershell -Command "Start-Process cmd -Verb RunAs"
Execute the following in Run (Ctrl+R)
powershell -Command "Start-Process cmd -Verb RunAs"