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

Page 3 of 5 FirstFirst 12345 LastLast
  1.    12 Feb 2018 #21

    12) type: C:

    X:\Sources>C:
    The request could not be performed because of an I/O device error.

    I couldn't get my pictures to download for some reason.

    So I typed in D:.....I see exactly why you want pictures...I will work on that.
      My ComputerSystem Spec

  2.    12 Feb 2018 #22

    If C: isn't working then try D: then E: etc. Once you have a drive letter that works type, DIR and press enter. If you see a Windows directory in that drive letter, then you are in the right place. If none of the drive letters work or none have Windows, then the Hard Drive has Failed probably.
    Then at the X:\sources prompt type Diskpart and press enter
    at the Diskpart:> prompt type List Disk and press enter. What does it say? take a picture
      My ComputerSystem Spec

  3.    12 Feb 2018 #23

    spunk said: View Post
    If C: isn't working then try D: then E: etc. Once you have a drive letter that works type, DIR and press enter. If you see a Windows directory in that drive letter, then you are in the right place. If none of the drive letters work or none have Windows, then the Hard Drive has Failed probably.
    Then at the X:\sources prompt type Diskpart and press enter
    at the Diskpart:> prompt type List Disk and press enter. What does it say? take a picture
    I did try D: but it didn't have a directory.
    I will try E:
      My ComputerSystem Spec

  4.    12 Feb 2018 #24

    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.

    What does zero installations mean?
      My ComputerSystem Spec

  5.    12 Feb 2018 #25

    Okay...I will work thru the sequence again in the morning and use my wife's laptop so I can show pictures of the screen.
      My ComputerSystem Spec


  6. Posts : 20,730
    windows 10 professional version 1607 build 14393.969 64 bit
       13 Feb 2018 #26

    This is what is displayed on this working computer:

    Code:
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          238 GB  1024 KB        *
      Disk 1    Online           58 GB    26 GB
    
    DISKPART> select disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> list volume
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     E                       DVD-ROM         0 B  No Media
      Volume 1     C                NTFS   Partition    237 GB  Healthy
      Volume 2         Recovery     NTFS   Partition    450 MB  Healthy    Hidden
      Volume 3                      FAT32  Partition    100 MB  Healthy    Hidden
      Volume 4                      NTFS   Partition    818 MB  Healthy    Hidden
      Volume 5     D   ESD-USB      FAT32  Removable     32 GB  Healthy
    
    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Recovery           450 MB  1024 KB
      Partition 2    System             100 MB   451 MB
      Partition 3    Reserved            16 MB   551 MB
      Partition 4    Primary            237 GB   567 MB
      Partition 5    Recovery           818 MB   237 GB
    
    DISKPART> exit
    
    Leaving DiskPart...
    
    D:\>x:
    
    X:\sources>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.
    
    X:\sources>
    If it displays total identified Windows installations: 0
    This result typically means that Windows installation data in the BCD store exists but bootrec could not find any additional installations of Windows on the computer to add to the BCD.
    It will take a few more steps to rebuild the BCD.

    Abridged steps:

    1) type: bcdedit /export c:\bcdbackup
    2) type: attrib c:\boot\bcd -h -r -s
    3) type: ren c:\boot\bcd bcd.old
    4) type: bootrec /rebuildbcd
    5) type: Y (or Yes)
    6) reboot


    Unabridged steps:

    1) type: bcdedit /export c:\bcdbackup

    (It should dislay: The operation completed successfully.)

    2) type: attrib c:\boot\bcd -h -r -s

    (This should remove hidden, read-only, and system attributes from the file bcd.)

    3) type: ren c:\boot\bcd bcd.old

    (The BCD store has just been renamed and it will now be rebuilt)

    4) type: bootrec /rebuildbcd

    (It should display: Scanning all disks for Windows installations.
    Please wait, since this may take a while...
    Successfully scanned Windows installations.
    Total identified Windows installations: 1
    [1] D:\Windows
    Add installation to boot list? Yes/No/All: )

    5) type: Y (or Yes)

    (It should now display:
    The operation completed successfully.)

    6) reboot

    If the BCD store was the only problem, it should now be fixed.
    If not, then troubleshooting will be done to the operating system,
    or registry.
      My ComputerSystem Spec

  7.    13 Feb 2018 #27

    When I typed in bcdedit /enum I got a message that said: The boot configuration data store could not be opened. The system cannot find the file specified.

    So I just continued from there typing in commands. Under list volume it had letters c and f as RAW. I went through the commands using both C: and F: . The results were the same: Identified Windows Installations: 0
      My ComputerSystem Spec

  8.    13 Feb 2018 #28

    When I type in: bcdedit /export c:\bcdbackup
    I get a message that says: The store export operation has failed.
    The system cannot find the file specified.
      My ComputerSystem Spec


  9. Posts : 20,730
    windows 10 professional version 1607 build 14393.969 64 bit
       13 Feb 2018 #29

    Seeing the commands and the results will be useful to viewers.
    If possible please post images into the thread so that we can see what the results were for each command.
    What were the results for each: C: dir; D: dir; bcdedit | find "osdevice"; chkdsk /f; diskpark commmands, etc.
      My ComputerSystem Spec

  10.    13 Feb 2018 #30

    trying to upload pics
      My ComputerSystem Spec


 
Page 3 of 5 FirstFirst 12345 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 10:17.
Find Us