Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



How to run from command prompt as administrator in Windows Vista

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-01-2009
PARRISH's Avatar
Member
 
Join Date: Jan 2006
Posts: 174
How to run from command prompt as administrator in Windows Vista

User Account Control in Windows Vista extends to the Command Prompt. If you get a "you do not have permission..." error, it's probably because you need administrator permissions to run the command. Here's how to run from the command prompt as administrator:

Click Start, in the Start Search box, type command. A list of of matches will appear above. Right-click Command Prompt in Programs list, and then click Run as administrator. You will likely be prompted for an administrator confirmation, or a password. Type your password or click Continue.

Hope you have a good time.
__________________
Remove your sig or i'll do this all the time
Reply With Quote
  #2  
Old 12-01-2009
phones's Avatar
Member
 
Join Date: Sep 2005
Posts: 242
Re: How to run from command prompt as administrator in Windows Vista

Another method

If you are a command line junkie like me, and have been testing out Windows Vista… one of the first things you'll notice is that there is no way to run a command from the run box in "Administrator" mode. Until now.


To try this out, go to the run box and type in something (cmd, for example)


Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.

Hint: You can use Alt + C to quickly close the User Account Control dialog.

Source: howtogeek.com
Reply With Quote
  #3  
Old 12-01-2009
EINSTEIN_007's Avatar
Member
 
Join Date: Dec 2007
Posts: 1,906
Re: How to run from command prompt as administrator in Windows Vista

Windows Vista power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command prompt will full admin rights and permission state. Here’s a few ways and methods the elevated command prompt can be opened and ran as administrator.

Method 1
  1. Click on Vista Start button.
  2. Locate the Command Prompt menu item (buried deep inside Accessories under All Programs or appear on program access history).
  3. Right click on Command Prompt.
  4. On the pop-up right click context menu, select “Run as Administrator”.

Method 2
  1. Click on Vista Start button.
  2. Click on Run.
  3. Type in “Cmd” (without quotes) in the Open textbox.
  4. You should see “This task will be created with administrative privileges”.
  5. Click on OK or press Enter.

Method 3
  1. Press the Win keyboard key or click on Vista Start button.
  2. Type cmd into the Start Search textbox.
  3. Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.
  4. Press Alt+C or press Continue to confirm the UAC elevation warning prompt.

Method 4
  1. Click on Vista Start button.
  2. In the Start Search box, type in “Cmd” (without quotes).
  3. Right click on the Command Prompt in the search result listing.
  4. In the right click menu, click on “Run as Administrator” menu item.

Method 5
  1. Press on Win + R keyboard keys.
  2. Type in Cmd into the Open textbox.
  3. Hit OK or press Enter.

Source: mydigitallife.info
Reply With Quote
  #4  
Old 12-01-2009
Manik's Avatar
Member
 
Join Date: Aug 2005
Posts: 77
Re: How to run from command prompt as administrator in Windows Vista

Thanks so much for this various tips.

After i added the line given in the command prompt messenger worked like a charm. Thank you all!
Reply With Quote
  #5  
Old 12-01-2009
Jasonholt's Avatar
Member
 
Join Date: Sep 2005
Posts: 73
Re: How to run from command prompt as administrator in Windows Vista

I started using Windows Vista Home Premium 64 recently and set it up with me as the single user. Sometimes when I try to install a program, especially something from MS like the add-on for Windows Media Player, or change something I get a message saying I don't have Administrative Privileges so I can't proceed. But with the trick given above, now my problem has been solved. Thank you and keep up the good work.
Reply With Quote
  #6  
Old 12-01-2009
Hardik's Avatar
Member
 
Join Date: Oct 2005
Posts: 109
Re: How to run from command prompt as administrator in Windows Vista

I am having issue seeing the command prompt shell item not being able to "run as admin" .. .basically it willl not kick up UAC prompting .. please help me. Thank you
__________________
I may b a dreamer, but I'm not the only one
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to run from command prompt as administrator in Windows Vista"
Thread Thread Starter Forum Replies Last Post
Create an Administrator Command Prompt shortcut TheGreatOne Tips & Tweaks 1 08-06-2011 12:20 AM
Need information to create Administrator accounts via Command Prompt Nuryn Operating Systems 3 06-03-2011 11:09 PM
Aero Glass Command Prompt for Windows Vista Jackie Customize Desktop 2 05-05-2009 07:57 PM
Add fonts to command prompt - Windows Vista jacky Customize Desktop 2 16-12-2008 06:13 PM
How do I bring up the Administrator Command Prompt? Brandon Baker, MCSE Vista Help 10 22-11-2006 07:37 PM


All times are GMT +5.5. The time now is 08:33 PM.