Page 1 of 5 123 ... LastLast
  1.    3 Weeks Ago #1
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,448
    Win 10 Pro (1703)

    How does Windows boot to advanced recovery option e.g. command prompt?


    Hi,I need to determine which area to look at. I.e. exactly how does Windows configure itself to restart to the chosen advanced recovery option?

    I'd be happy to compare the results of running any command with that of a correctly functioning system.

    Symptoms
    None of my advanced recovery options (restart to Safe Mode, command prompt, startup repair, system restore) have worked since upgrading to the Creator's build. They were ok in the Anniversary build. The upgrade went smoothly.

    After trying various repairs, which made things worse rather than better, I've got back to where I was.

    My PC boots normally.
    When my PC restarts to Safe Mode, I see my PC logo and 'Please wait'.
    When it restarts to other options, I just see my PC logo, nothing more. It just hangs.

    There's no error message nor easily defined symptom to search for that I can think of.

    (See this and particularly my last post if interested - the end result is I'm back where I started, having learnt a bit!)
    Creator's upgrade appeared ok, but Advanced Recovery functions fail - Windows 10 Forums)
      My ComputerSystem Spec
  2.    3 Weeks Ago #2
    Join Date : Apr 2017
    Posts : 6,610
    windows 10 professional version 1607 build 14393.969 64 bit

    If you are on the desktop and want to reboot to the Windows advanced troubleshooting options that can be done with administrative command prompt. It will reboot to:


    Choose an option with these 3 options:

    Continue: Exit and continue to Windows 10
    Troubleshoot: Reset your PC or see advanced options
    Turn off your PC

    Administrative command prompt: shutdown /r /o /f /t 00
      My ComputerSystem Spec
  3.    3 Weeks Ago #3
    Join Date : Oct 2014
    Trnava
    Posts : 2,740
    Windows 10.4 Home 1709 x64

    Or depending on your profile, you can use this:
    Code:
    bcdedit /set {default} advancedoptions True
    bcdedit /set {current} advancedoptions True
    Attached Thumbnails Attached Thumbnails capture_09252017_075549.jpg  
      My ComputerSystem Spec
  4.    3 Weeks Ago #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,448
    Win 10 Pro (1703)
    Thread Starter

    Hi, thanks to both. Resetting my PC isn't a realistic option as that would remove all programs. A huge job to recover. (Note I tried an in-place repair install as in the thread I quoted).

    I've tried

    bcdedit /set {current} advancedoptions True
    and indeed that does give me a set of options each time on boot, including booting to Safe Mode, which works.

    Now, I'm therefore guessing that what is not happening when, from normal mode, for example I SHIFT +left click restart, then select one of the advanced recovery options, is that the bcd is not being written correctly to achieve the above.

    Clearly doing that does affect the boot, as my PC does not then boot normally, but hangs as I described.

    Any clues as to how to investigate further?

    Presently:
    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device partition=\Device\HarddiskVolume6
    path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
    description Windows Boot Manager
    locale en-us
    inherit {globalsettings}
    default {current}
    resumeobject {ea28bca1-a098-11e7-8bcb-a434d962e85a}
    displayorder {current}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Boot Loader
    -------------------
    identifier {current}
    device partition=C:
    path \windows\system32\winload.efi
    description Windows 10
    locale en-us
    inherit {bootloadersettings}
    recoverysequence {ea28bca3-a098-11e7-8bcb-a434d962e85a}
    displaymessageoverride CommandPrompt
    recoveryenabled Yes
    advancedoptions Yes
    isolatedcontext Yes
    allowedinmemorysettings 0x15000075
    osdevice partition=C:
    systemroot \windows
    resumeobject {ea28bca1-a098-11e7-8bcb-a434d962e85a}
    nx OptIn
    bootmenupolicy Standard

    C:\windows\system32>
      My ComputerSystem Spec
  5.    3 Weeks Ago #5
    Join Date : Oct 2014
    Trnava
    Posts : 2,740
    Windows 10.4 Home 1709 x64

    Boot menu policy - set text or graphical style boot menu Windows 8

    Laptops have usually problem with default/standard bootmenupolicy. Those 3 options are suggested.

    Code:
    bcdedit /set {bootmgr} displaybootmenu no
    bcdedit /set {current} bootems no
    bcdedit /set {current} bootmenupolicy legacy
      My ComputerSystem Spec
  6.    3 Weeks Ago #6
    Join Date : Apr 2017
    Posts : 6,610
    windows 10 professional version 1607 build 14393.969 64 bit

    There was 1 error code in this link:
    Creator's upgrade appeared ok, but Advanced Recovery functions fail - Windows 10 Forums

    Many times the error codes lead to links where others have already troubleshooted.

    In case it's been a while since that's been done these are the links that were just found:

    0xC0000454 Microsoft code definition:
    STATUS_INSUFFICIENT_NVRAM_RESOURCES
    Insufficient NVRAM resources exist to complete the API. A reboot might be required.

    These were some search results for: 0xC0000454

    Macrium has a support and perhaps a submission there may yield something?
    One of their links was in the search results:
    No Luck with Fixing Boot Problems via Macrium PE


    0xc0000454 Starting Problem - Microsoft Community

    How to Fix Boot Configuration Error Code 0xc0000454 on Windows 10?

    Help! error 0xc0000454 : Windows10

    Repair Windows boot (Windows XP to Windows 10)

    How can I repair the Windows 8 EFI Bootloader? - Super User


    Maybe a search for Insufficient NVRAM resources exist to complete the API may yield something?
      My ComputerSystem Spec
  7.    3 Weeks Ago #7
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,448
    Win 10 Pro (1703)
    Thread Starter

    Hi @zbook - yes, there was that error number- then- however, after the changes detailed in that thread and above, SHIFT click restart from the Safe Mode login screen now behaves in exactly the same way as from Normal Mode- the Advanced Options hang with no error report.

    - from one thread you quote- I don't see either error now. (I did try reading about that at the time of course).

    0xc0000454 Starting Problem

    Sometime my laptop start up with an error code of 0xc0000454
    error message: The boot configuration data for your PC is missing or contains errors.
    @TairikuOkami
    - This laptop was working fine for some 18 months before the Creator's upgrade, and advanced startup options were no problem.

    However, perhaps one way forward now is simply to work with what I have now, where at least I can boot to the various options by manual selection, and hope that come the next build upgrade the problem will disappear.

    Which still leaves me puzzled as to why selecting an advanced startup option in the normal way leaves me with a hung boot until I power off and restart.

    I'll read through the links and see if there's any clue. Thanks.
      My ComputerSystem Spec
  8.    3 Weeks Ago #8
    Join Date : Jun 2015
    UK
    Posts : 1,894
    Windows 10 Home x64 (Laptop), Windows 10 Pro x64 (Desktop)

    Is this perhaps another example of poor software QA by Microsoft?
      My ComputerSystem Spec
  9.    3 Weeks Ago #9
    Join Date : Dec 2015
    Posts : 5,403
    Windows10

    Quote Originally Posted by Steve C View Post
    Is this perhaps another example of poor software QA by Microsoft?
    There is a virtually infinite range of hardware and software combinations. No QA procedure could check everything or else nothing would ever released.
      My ComputerSystem Spec
  10.    3 Weeks Ago #10
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,448
    Win 10 Pro (1703)
    Thread Starter

    It seems something went wrong in the original upgrade- as to what is impossible to say. It's a problem that doesn't seem amenable to being repaired; the bcd data doesn't seem to be updated appropriately when I click one of the advanced startup commands to cause the correct form of restart.

    The odd thing is something is updated enough to cause the boot to hang once, until I power off. If I knew why that was, there might be a clue.

    Of course, there are no diagnostic tools one could use during this sequence, which I wish I understood better. It seems the partitions are ok, but the earlier error messages (could not write bcd data e.g.) may have been misleading.

    (And I agree with @cereberus this is probably not a QA issue, bar the questionable appropriateness of the error messages- a common problem with MS).
      My ComputerSystem Spec

 
Page 1 of 5 123 ... LastLast


Similar Threads
Thread Forum
General Tips Open Command Prompt at Boot in Windows 10
How to Open a Command Prompt at Boot in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the...
Tutorials
Solved Unable to login to boot command prompt
Hi, I have just used the SHIFT-Restart option to activate the Windows 10 Troubleshooting and tried to open a command prompt. It asked for a password. I entered my password but was told it was incorrect. I booted normally using the PIN I...
General Support
Solved How to boot to a command prompt in Win10 ?
Tapping F8 or spacebar doesn't do anything ? I want to boot to command prompt only. I need to rename my user folder, in an attempt to get it named correctly, after the clean upgrade decided to drop the last character, which now gives me a...
General Support
SFC wont run from boot command prompt, says ....
SFC wont run from boot command prompt, says there are other pending actions and needs to reboot. Rebooting does no good. in other win OS this command, dism.exe /image:c:\/cleanup-image /revertpendingactions would fix this issue. Edit: I just...
General Support
Advanced Boot Options Menu (Choose an option)
The same trick from Windows 8/8.1 still works in 10. https://www.tenforums.com/tutorials/2294-boot-options-menu-open-windows-10-a.html Click on Start, click the power icon at the top of the Start Menu. Hold down Shift and click on Restart. ...
General Support
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 05:54.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums