Elevated Command Prompt

Page 1 of 8 123 ... LastLast
    Elevated Command Prompt

    Elevated Command Prompt

    How to Open an Elevated Command Prompt in Windows 7
    Published by
    Designer Media Ltd


    How to Open an Elevated Command Prompt in Windows 7

       Information
    This will show you how to open an elevated command prompt with administrator rights (Run as administrator) instead of the default command prompt without administrator rights in Windows 7.

       Tip
    If you opened the elevated command prompt from a shortcut (ex: in Start Menu) and it opens to another location other than C:\Windows\System32, then right click on the shortcut and click on Properties. In the Shortcut tab, check to make sure that you have %HOMEDRIVE%%HOMEPATH% in the Start in field like below.

    Elevated Command Prompt-start-.jpg


    EXAMPLE: Elevated Command Prompt
    NOTE: Notice how the elevated command prompt opens to C:\Windows\System32 and not C:\Users\(user name) as the default command prompt without administrator rights.
    Elevated Command Prompt-elevated_command_prompt.jpg


    Here's How:
    1. Do step 2, 3, 4, or 5 below for how you would like to open an elevated command prompt.

    2. Use an Elevated Command Prompt shortcut.

    OR

    3. Open the Start Menu, click on All Programs and Accessories, right click on Command Prompt, and click on Run as administrator. (see screenshot below)
    Elevated Command Prompt-shortcut.jpg
    OR

    4. Open the Start Menu, type cmd in the search box, and press CTRL+SHIFT+ENTER.

    OR

    5. Open the Start Menu, type cmd in the search box, right click on cmd.exe (at top), and click on Run as administrator. (see screenshot below)
    Elevated Command Prompt-search_box.jpg
       Tip

    • If you are in a administrator account and get a log in prompt after doing any of the above steps, then click on the Cancel button and repeat the above step again. This will only do this for the very first time you try to open a elevated command prompt in Windows 7.
    • If you are in a standard account, then you will need to type in the administrator's password to elevate the command prompt.

    Elevated Command Prompt-log-.jpg



    That's it,
    Shawn







  1. Posts : 1
    Windows 7
       #1

    I tried doing that, but everytime I try it keeps asking for the Admin password, do I have any hope being a Standard User?
      My Computer


  2. Posts : 70,727
    64-bit Windows 10 Pro
    Thread Starter
       #2

    Hello xIxREXxiIx,

    Sorry, but you will have to do this in a administrator account, or type in the administrator's password.

    Shawn
      My Computer


  3. Posts : 2
    Windows 7 Ultimate / Windows 8 Build
       #3

    Thanks man saved my life
    Ha ha ha
      My Computer


  4. Posts : 6
    windows seven
       #4

    my problem lies not in taking ownership of files in the command line. If anybody can help me...my problem lies in the command that i input in the cmd itself like the chkdsk command or the defrag command in cmd, there is always a prompt that "you dont have enough administrative rights". if anyone knows how the cmd itself can be taken ownership of...id be much grateful.....

    good day and god bless......
      My Computer


  5. Posts : 70,727
    64-bit Windows 10 Pro
    Thread Starter
       #5

    Hello Chronoss, and welcome to Seven Forums.

    Are you logged in as an administrator, and are using a elevated (right click and "Run as administrator") command prompt?
      My Computer


  6. Posts : 6
    windows seven
       #6

    yup...have done that and ive even activated most of the tweaks which pertains to acquisition of administrative rights.....

    this pose as a problem to me since am used to defragging and disc checking utilizing such commands....

    but in the attrib side i find no problems in that area....

    my problems lies merely on that part....

    thanks for replying...

    good day and god bless....
      My Computer


  7. whs
    Posts : 26,213
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #7

    o0chronoss0o said:
    yup...have done that and ive even activated most of the tweaks which pertains to acquisition of administrative rights.....

    this pose as a problem to me since am used to defragging and disc checking utilizing such commands....

    but in the attrib side i find no problems in that area....

    my problems lies merely on that part....

    thanks for replying...

    good day and god bless....
    Tick the "Always run as administrator" box in Properties > Advanced. Maybe that helps
      My Computer


  8. Posts : 6
    windows seven
       #8

    thanks for replying...im gonna try that....

    im running 2 systems....

    mostly im on XP....

    the one that contains the WIN 7 OS belongs to mah friend, i do maintennance on his systems...

    will let you know if it works...

    thanks a lot...good day and god bless....
      My Computer


  9. Posts : 6
    Windows 7 Pro x64
       #9

    Interesting I tried all scenerios! The ONLY method that resulted in the proper path was the last one. ALL the others still pointed to the user as if I had not specified the Run as Administor.
      My Computer


 
Page 1 of 8 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:17.
Find Us