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; [img] Discussion in 'Windows 10 Support' started by Danfu, Feb 10, 2018.

  1. Danfu Win User

    Can you open Elevated Command Prompt from Command Prompt?


    Can you open Elevated Command Prompt from Command Prompt? [​IMG]
     
    Danfu, Feb 12, 2018
    #31
  2. EdTittel Win User

    I think the user needs to get a list of working disks and their associated drive letters while booted into the WinPE environment. I believe launching a command prompt, running diskpart, then typing "list volume" will do the trick. Here's what that produces in Powershell on my production PC, for example:

    Can you open Elevated Command Prompt from Command Prompt? [​IMG]

    Then, the OP can use the drive letter for the drive in need of attention going forward after that.
    HTH,
    --Ed--

    PS: I just did this on a laptop booted to WinPE and it showed my usual C: drive as E:, for example. Expect assignments to move around when another Windows image is in charge!
     
    EdTittel, Feb 12, 2018
    #32
  3. Danfu Win User
    Can you open Elevated Command Prompt from Command Prompt? [​IMG]
     
    Danfu, Feb 12, 2018
    #33
  4. EdTittel Win User

    Can you open Elevated Command Prompt from Command Prompt?

    This means that bcdedit finds no boot configuration data on the d: drive (which I'm guessing is your normal boot/sys drive). When I run that on my WinPE-booted laptop it does indeed show that Windows Boot Manager, and the default boot loader, both reside on my E: (your D ) drive.

    Something is definitely not right! This means the BCD needs to be rebuilt. You can try the suggestions earlier in this thread (or on the forums elsewhere: see thread #241 at Create Windows 10 ISO image from Existing Installation - Page 25 - help Installation Upgrade Tutorials , where you'll find this item:

    If you getting "An operting system wasn't found."
    1- Boot with installation media or whatever.
    2- Shift + f10 (command promt)
    3- bootrec /rebuildbcd
    4- bootrec /fixmbr
    5- bootrec /fixboot
    6- reboot your system. If you cant still boot, boot with installation media again and use Windows Repair.

    Windows repair doesnt work if you dont "rebuilBcd".



    Lines 3-5 are the key instructions here.
    HTH,
    --Ed--
     
    EdTittel, Feb 12, 2018
    #34
  5. Danfu Win User

    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095759.jpg (1.37 MB)

    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095825.jpg (2.10 MB)

    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095922.jpg (1.17 MB)


    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095759.jpg (1.37 MB)

    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095825.jpg (2.10 MB)

    • Can you open Elevated Command Prompt from Command Prompt? [​IMG]
      20180213_095922.jpg (1.17 MB)
     
    Danfu, Feb 12, 2018
    #35
  6. EdTittel Win User
    Looks like the drive is hosed. If you don't have a backup and you need the drive's contents, it's now time for data recovery. If you do have a backup and/or you don't care about the drive's contents, you could format the drive (or go into diskmgmt.msc and add it as a volume). But that drive's contents are not readily accessible anymore. At a minimum your MBR or GPT data has been corrupted or destroyed. You could try repairing same using the free MiniTool Partition Wizard to see if recovering the partition data will fix it. If not, something more serious and expensive will be needed.

    PS/Warning!: DO NOT WRITE ANYTHING to this drive until you decide if you're going to try to recover its contents or not. Anything you write to it now is only going to further complicate recovery efforts, and may end up over-writing and destroying stuff you might instead want to recover and copy onto another drive.

    HTH,
    --Ed--
     
    EdTittel, Feb 12, 2018
    #36
  7. Danfu Win User
    X:\Sources>bootrec/rebuildbcd
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    This operation completed successfully.

    X:\Sources>bootrec /fixmbr
    The request could not be performed because of an I/O device error
     
    Danfu, Feb 12, 2018
    #37
  8. EdTittel Win User

    Can you open Elevated Command Prompt from Command Prompt?

    The first command tells you that bootrec is finding zero, or none, windows installations. It can't see the OS files, nor find them, apparently. Fixmbr can't work unless there's something to fix. As I said in my previous message, your partition data is corrupted or destroyed. Until you fix that (or start over) none of the boot repair operations can do anything at all. Sorry for your troubles!
    --Ed--
     
    EdTittel, Feb 12, 2018
    #38
  9. It does look like you need a new hard drive.

    But if your curious
    Does Lenovo have a diagnostic feature to test your hard drive upon boot up w/o getting into Windows?

    On an HP computer I serviced recently, if I remember correctly pressing ESC brought up some options and one of them was for testing the hard drive.
    I have a Dell: I haven't had to use it but I believe it has a diagnostic feature in it, I just don't know if it works from boot-up w/o getting into Windows.
     
    MeAndMyComputer, Feb 12, 2018
    #39
  10. zbook New Member
    Some of the commands were typed using D: instead of X:
    And one of the commands had a typo.

    This command was posted in the D: and was typed as bc dedit | "osdevice"
    (there is no space between bc edit)
    | "osdevice" should be | find "osdevice"


    Can you post images of this command using X:
    type: bcdedit | find "osdevice"


    See if you can use Kyhi boot rescue:
    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Help Forums
     
    zbook, Apr 5, 2018
    #40
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. Access Denied in elevated command prompt

    in Windows 10 Customization
    Access Denied in elevated command prompt: Hello everybody, I'm trying to run a simple command in an elevated Command Prompt that acts on a folder that resides on a secondary HDD. That drive and the entirety of its contents have my only machine's user account also the administrator set as the owner, as does...
  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...