(long tweet) Run MS-DOS command as super user
How to run a MS-DOS command terminal with administrator priviledges, in Windows 7?
Let’s say you need execute cmd
with the account admin
: launch runas /user:admin cmd
.
Windows will ask you to enter the admin password and then will open a CMD
prompt in admin mode.