Windows 10: Can you open Elevated Command Prompt from Command Prompt?

Discus and support Can you open Elevated Command Prompt from Command Prompt? in Windows 10 Support to solve the problem; I have read everything I can find on Error messages regarding looping of Preparing to Repair. I can not open my computer to Windows...it never loads.... Discussion in 'Windows 10 Support' started by Danfu, Feb 10, 2018.

  1. Danfu Win User

    Can you open Elevated Command Prompt from Command Prompt?


    I have read everything I can find on Error messages regarding looping of Preparing to Repair.
    I can not open my computer to Windows...it never loads. I started experiencing problems a while ago. Finally, I would be able to get on line, but only for about a minute before it froze up.

    I am trying to do a Repair using Command Prompt because that is the only option I seem to have left. But regardless of the command....sfc /scannow or anything else...it won't go there...because it is not recognizing me as Admin.
    So...my question is as the title says: Is there a way to open elevated command prompt from command prompt?

    :)
     
    Danfu, Feb 10, 2018
    #1
  2. Tommy7GV Win User
    Tommy7GV, Feb 10, 2018
    #2
  3. Elevated Command Prompt

    Hi Tommy,

    A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require administrator rights on your computer without using the Windows graphical interface.
    You may open an elevated Command Prompt by following the steps below.

    1. Open the Start menu, and type cmd to open the search box.

    2. When Command Prompt shows up in the search results, right click or press and hold on it, then click/tap on
    Run as administrator.

    Feel free to post your query should you need assistance.
     
    Vanessa Oca, Feb 10, 2018
    #3
  4. Samuria Win User

    Can you open Elevated Command Prompt from Command Prompt?

    Samuria, Feb 10, 2018
    #4
  5. Kari Win User
    To start an elevated Command Prompt from normal user mode Command Prompt, the command is:

    runas /user:administrator cmd

    Please notice that you must first set a password for built-in administrator account. If you run the command when built-in admin has no password (by default ihas none), the command fails with following error message:

    Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced..
     
  6. Danfu Win User
    Thank you so much! I can put in an admin in Set Up....correct? I'll give that a shot. Thank you again! I'll let you know how that works out.
     
    Danfu, Feb 10, 2018
    #6
  7. Danfu Win User
    I am getting a message that says: 'runas' is not recognized as an internal or external command...
     
    Danfu, Feb 10, 2018
    #7
  8. Danfu Win User

    Can you open Elevated Command Prompt from Command Prompt?

    at command prompt it says x:/windows/system32> How do I get to C:

    at the top of the command prompt it says:
    Adminstrator: X:\windows\system32\cmd.exe
     
    Danfu, Feb 10, 2018
    #8
  9. Kari Win User
    If you run it from Command Prompt at boot, you'll need to add path to runas command, it is located in C:\Windows\System32 folder:

    C:\Windows\System32\runas /user:administrator cmd
     
  10. How are you able to reach the Command Prompt option?

    Since you cannot boot into Windows check
    Boot to Advanced Startup Options in Windows 10
    Boot to Advanced Startup Options in Windows 10 Installation Upgrade Tutorials
    Two consecutive failed attempts to start Windows.
    Two consecutive unexpected shutdowns that occur within two minutes of boot completion.
    --- Two times usually work but there have been times when I had to do 3 times.
     
    MeAndMyComputer, Feb 10, 2018
    #10
  11. Danfu Win User
    Kari,
    I appreciate your help. I don't seem to be able to gain access to anything except the command prompt. Could you please explain to me how to access the windows 32 folder?
     
    Danfu, Feb 10, 2018
    #11
  12. Kari Win User
    How do you boot to Command Prompt?
     
  13. spunk Win User

    Can you open Elevated Command Prompt from Command Prompt?

    In the Windows Recovery Environment,(ie) x:\sources or x:\Windows the Windows OS directory may not be on the C: drive. First, lets find out which drive Windows is on.
    At command prompt (x: sources) type this exactly as written:
    bcdedit |find “osdevice” (Must inc and the |), the | before Find is the Upper case \ key) press enter. This will tell you what drive letter the OS is on. It may not be on the C: drive.
    Now use the returned as the drive letter for OS, for this example, assume C: or whatever drive letter is the os device.
    At the x sources type: chkdsk c: /r press enter, 5 stages of check disk will run. It will test the HDD for errors. it may take a while.
    To get to C:\Windows\System32 from the X: drive. type C: and press Enter (ie) C:\> at this prompt type CD Windows and press enter (ie) C:\Windows> a this prompt type CD System32 and press enter (ie) C:\Windows\System32> now type runas /user:administrator cmd
     
    spunk, Feb 10, 2018
    #13
  14. Danfu Win User
    When it first reboots it goes to a black prompt screen with this message: Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key_

    If I keep trying to reboot I do get a recovery blue screen...but it says: Recovery Your PC/Device needs to be repaired
    The application or operating system couldn't be loaded because a required file is missing or contains errors.
    File: \Windows.old.000\Windows\system32\winload.exe
    Error code: 0xc000000f
    You'll need to use recovery tools. If you don't have any installation media (like a disc or USB device), contact your PC adminstrator or PC//Device manufacturer.
    Press Enter to try again
    Press F8 for Startup Settings
    Press F9 to use a different operating system

    If I press enter...it just instantly reloads the same page
    If I press F8...same thing
    If I press F9 The windows logo pops up with the little rotating dots....but it never loads...It goes to a blue page with a message that says it has to restart. Then when it finally gets back to that Recovery page again...I press F9 again...then it goes to the Windows Logo and says Preparing Automatic Repair. Eventually it gets around to loading an options page and one of the options....the only one that does anything is Command Prompt.
     
    Danfu, Feb 10, 2018
    #14
  15. Danfu Win User
    The last sentence in the other post is how I boot to Command Prompt. So, I started over...and now I'm waiting for Preparing Automatic Repair to take me to the page where Command Prompt is a choice. It takes awhile for that to occur.
     
    Danfu, Feb 10, 2018
    #15
Thema:

Can you open Elevated Command Prompt from Command Prompt?

Loading...
  1. Can you open Elevated Command Prompt from Command Prompt? - Similar Threads - open Elevated Command

  2. elevated admin command prompt

    in Windows 10 Customization
    elevated admin command prompt: where is the dictionary and/or the appendix for the language to use in the elevated admin command prompt??? I would prefer to simply ask my friends in redmond at the garage to imput the needed code/txt so that my thumbs dont go numb...lolol...
  3. Unable to change -Command Prompt - To :- Elevated Command Prompt

    in Windows 10 BSOD Crashes and Debugging
    Unable to change -Command Prompt - To :- Elevated Command Prompt: Having problem installing updates windows 10 64bit - version 2004 -- need to access command prompt as an Administrator to try to fix. Any ideas ?...
  4. Command prompt not opening

    in Windows 10 BSOD Crashes and Debugging
    Command prompt not opening: Hi All, Whenever I try to open a command prompt in windows 10 it crashes automatically. Please assist how to fix the same. https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-not-opening/cc3ba5c9-0dda-421b-b0af-d3e128135a1c
  5. Command prompt not opening

    in Windows 10 BSOD Crashes and Debugging
    Command prompt not opening: Hi, I recently installed a windows 10 update and noe cmd.exe does not work. I hvae tried many different methods to open it but all that happens is a small window flashes up ont he screen for a split second then dissapears. any ideas? s8on...
  6. Run vs. Command Prompt vs Elevated command prompt?

    in Windows 10 Support
    Run vs. Command Prompt vs Elevated command prompt?: Is there a rule of thumb to know which of the referenced you would use when entering a particular command or file name? Mark 112722
  7. Can’t Open Elevated Command Prompt

    in AntiVirus, Firewalls and System Security
    Can’t Open Elevated Command Prompt: Hello I just installed WIN 10 on an old laptop (if one can call a lenovo W700 a laptop), used a win7 product key and the authentication was accepted had to create a microsoft account, refuse to give them all kind of info... arghhh I am now trying to put in the LENOVO...
  8. Command Prompt Not Opening

    in Windows 10 Support
    Command Prompt Not Opening: Recently attempting to open Command prompt, ordinary or as administrator, it flashes for perhaps 2 seconds and then disappears. I tried the following commands sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth But none of these seem to work, I'm wondering if there...
  9. Make Elevated Command Prompt open to %userprofile%

    in Windows 10 Support
    Make Elevated Command Prompt open to %userprofile%: I have the Command Prompt icon on my Taskbar as I use it a lot. It's set to always run as Administrator, so when I launch it, the Command Prompt window opens to C:\Windows\system32. I want it to open to %userprofile% which is C:\Users\myaccountname. Has anyone found a...
  10. Open Elevated Command Prompt in Windows 10

    in Windows 10 Tutorials
    Open Elevated Command Prompt in Windows 10: How to: Open Elevated Command Prompt in Windows 10 [img] Information A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require administrator rights on...