Linked Questions

27
votes
10answers
30k views

On Windows 7, is there a command prompt line that can start cmd as an administrator? [duplicate]

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 ...
15
votes
4answers
20k views

What is the equivalent of sudo in Windows 7? [duplicate]

Possible Duplicate: is there any 'Sudo' command for windows ? Is there a command line equivalent to sudo in Windows 7? Or do you just have to open a command prompt that is being ...
6
votes
2answers
8k views

How to switch to having administrative privileges [duplicate]

Possible Duplicate: is there any 'Sudo' command for windows ? I was wondering how to switch to having administrative privileges in a command line window of Windows? Is there any way ...
3
votes
1answer
7k views

In Windows 7, is it possible to do “runas” administrator *without* using the GUI? [duplicate]

Possible Duplicate: Is there any 'sudo' command for Windows? I'm aware of the various options for setting the "run as administrator" flag, and for opening an admin console window. But what ...
0
votes
1answer
3k views

How to run a command as administrator in Windows? [duplicate]

Possible Duplicate: is there any ‘Sudo’ command for windows ? I want to run a console program in Windows, but it required administrative privileges. So, I can right click the ...
0
votes
1answer
2k views

su Command Prompt [duplicate]

Possible Duplicate: Is there any 'sudo' command for Windows? Commands su & sudo could be used to turn whole current terminal session as super user with administration ...
-1
votes
1answer
171 views

Start an app from command line with Admin Privileges [duplicate]

In unix you can sudo ... if you want to do something that requires elevated permissions. Is there a windows equivalent? In cmd I can type regedit to open the registry editor, but is there any way to ...
0
votes
0answers
41 views

Runas program as administrator [duplicate]

There is context menu entry on cmd, "Run as Administrator", that opens UAC window and launches cmd as Administrator. How can I open a program as Administrator in command line? I've read about runas ...
2
votes
6answers
22k views

Is it possible to shutdown a remote computer running Windows 7 via Telnet?

I've successfully connected to my Windows 7 desktop over wifi via Telnet from an XP Home netbook. To login, I use the following command: telnet -l "win7desktop\win7user" win7desktop win7user in ...
3
votes
3answers
3k views

Run cmd.exe in Administrator mode without explorer.exe

I've recently had trouble with explorer.exe not working. I found a possible solution here, using sfc.exe. The problem is that I cannot "right-click Command Prompt, and then click Run as ...
1
vote
3answers
5k views

How can I run commands in PowerShell with Administrator permissions?

I would like to run commands in PowerShell with Administrator permissions? How can I do that? I have tried to start PowerShell with the runas command, but PowerShell is closed immediately after I ...
2
votes
1answer
4k views

Is there any way to elevate a command prompt in Windows 7? [duplicate]

Possible Duplicate: Elevate a running program to administrator (Windows 7) Situation: I start a command prompt normally, without Administrator permissions, either accidentally by habit or ...

15 30 50 per page