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

Page 4 of 5 FirstFirst ... 2345 LastLast
  1.    13 Feb 2018 #31

    trying to upload pics
      My ComputerSystem Spec

  2.    13 Feb 2018 #32

    Attached Thumbnails Attached Thumbnails image.jpg  
      My ComputerSystem Spec

  3.    13 Feb 2018 #33

    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:
    Click image for larger version. 

Name:	diskpart-listvolume.jpg 
Views:	1 
Size:	117.1 KB 
ID:	176959
    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!
      My ComputersSystem Spec

  4.    13 Feb 2018 #34

    [IMG]file:///C:/Users/MKFish/Pictures/2018-02/20180213_093051.jpg[/IMG]
    Attached Thumbnails Attached Thumbnails 20180213_093051.jpg   20180213_093320.jpg   20180213_093952.jpg   20180213_093538.jpg   20180213_094739.jpg  

      My ComputerSystem Spec

  5.    13 Feb 2018 #35

    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--
      My ComputersSystem Spec

  6.    13 Feb 2018 #36

    • 20180213_095759.jpg (1.37 MB)
    • 20180213_095825.jpg (2.10 MB)
    • 20180213_095922.jpg (1.17 MB)


    • 20180213_095759.jpg (1.37 MB)
    • 20180213_095825.jpg (2.10 MB)
    • 20180213_095922.jpg (1.17 MB)
    Attached Thumbnails Attached Thumbnails 20180213_095759.jpg   20180213_095825.jpg   20180213_095922.jpg  
      My ComputerSystem Spec

  7.    13 Feb 2018 #37

    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--
    Last edited by EdTittel; 13 Feb 2018 at 12:11. Reason: Add Warning! PS
      My ComputersSystem Spec

  8.    13 Feb 2018 #38

    EdTittel said: View Post
    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--
    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
      My ComputerSystem Spec

  9.    13 Feb 2018 #39

    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--
      My ComputersSystem Spec

  10.    13 Feb 2018 #40

    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.
      My ComputersSystem Spec


 
Page 4 of 5 FirstFirst ... 2345 LastLast

Related Threads
I am a standard user: there is no "Administrator" next to my name when I look at "Your Info" for my account in user settings. the output of "net localgroup administrators" does not contain my user name. I am on a domain-managed machine...
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...
1. Create a newTask named OpenCmdHereAsAdminNoUAC and activate "Run with the highest privileges" 2. Go to the Actions Tab, create a new Action "Start a Program" choose "C:\Windows\System32\cmd.exe" and set the Working Directory (Start in) to...
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...
I changed Command Prompt on my Taskbar so when I click on it, it opens as Administrator. That sets the default directory as C:\WINDOWS\system32 which I don't like, since any files I create that do not have a path specified will be created there. ...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

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