39
14
On Linux, we can use
sudo bash
to run a shell as the superuser.
On Windows 7, we can use
Start menu -> (in search box, type) cmd -> Right click on search result and choose Run as Administrator
to run a command prompt as an administrator. Is there also a command prompt line that is like Linux's sudo
or su
so as to start a shell as an administrator?
11You can also search for cmd (like you already do) and press "ctrl+shift+enter" to launch the selected program as administrator. – Joshua – 2009-11-24T02:18:00.957