Add Safe Mode to Boot Options in Windows 10  

Page 4 of 4 FirstFirst ... 234

  1. Posts : 4
    Windows 10 1709 x64
       12 May 2018 #30

    Windows 10 wipes this information out everytime it upgrades (i.e. 1703 to 1709, 1709 to 1803)

    Has anyone attempted to create a batch file or powershell script to do all the steps in Option 2?

    I've been using a batch file to do these steps:
    bcdedit /copy {Current} /d “Windows 10 Safe Mode”
    bcdedit /copy {Current} /d “Windows 10 Safe Mode with Networking”
    bcdedit /copy {Current} /d “Windows 10 Safe Mode with Command Prompt”

    But then have to manually do each machine for the msconfig part.
    Even though I can see the CLI to "/set" the "safeboot", I still have to manually get the "{identifer}" - this takes longer per machine than just opening msconfig.

    I'd like to just run a script to do everything - the /copy and /set - but I cannot figure out how to grab the "{identifiers}" in order to "/set" the "safeboot" and "safebootalternatesheel"

    Any suggestions?
      My ComputerSystem Spec

  2.    30 Jun 2018 #31

    Semi-automate Restoring lost Boot menu entries


    Yes, I also see updates, upgrades and JOOTT (Just One Of Those Things, i.e. cause unknown) eats these extra Windows Boot menu entries; VERY annoying. Also, MSConfig doesn't make the changes permanent (and the Boot status checkbox is greyed out), tho it helps to go here...

    HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\state

    ...and check State.

    Other possible causes may include Fast Start (recently enabled by 1803 and/or its updates), changing UEFI to BIOS to boot rescue discs, other MSConfig changes, I dunno.

    I'm too nervous to fully automate restoring these lost boot entries, in case the GUIDs change, and BCDEdit restore could splat everything, so I use this batch file I wrote to semi-automate it:

    Code:
    @Echo Off
    Echo.
    Echo ***   This must be run with Adminitration rights!   ***
    Echo.
    Echo This will create extra boot entries for Windows 8/10 and
    Echo then set via MSConfig to boot Safe and Safe Cmd modes.
    Echo.
    Echo Press   Ctl+C   to abort, or...
    Pause
    Echo.
    BCDEdit /Enum /V
    Echo **  Note the Windows Boot Loader Identifier  **
    
    :GetID
      Set /P id=Identifier = 
    If "%id%"=="" GoTo GetID
            
    BCDEdit /Copy %id% /d "Safe Mode"
    BCDEdit /Copy %id% /d "Safe Cmd"
    Echo.
    Echo Next:
    Echo  - edit boot entries to match the descriptions via MSConfig
    Echo  - make changes permanent before exiting MSConfig
    Echo.
    MSConfig
    Pause
    ...which must be Run As Admin to work.

    To avoid typos, I highlight (Edit, Mark) the Windows Boot Loader Identifier, then Edit, Copy to clipboard and Edit, Paste it into place, then Enter.
      My ComputerSystem Spec

  3.    02 Jul 2018 #32

    To actually have Networking (and internet) in safe mode "Network" instead of "Minimal" should be enabled.
    Name:  image.png
Views: 147
Size:  15.5 KB
    For "Command prompt" "No GUI"
      My ComputersSystem Spec

  4.    03 Jul 2018 #33

    Safe Mode Settings


    Yes; networking if you need it, tho for my purposes, avoiding that exposure is one of the reasons I'd use Safe Mode! "No GUI" can be confused with "Command Prompt Only"; they do different things - "No GUI" shows a list of drivers as they load, instead of rotating dots, whereas for Command Prompt Only you'd choose Alternate Shell, thus avoiding anything that integrates into Explorer.exe

    Command Prompt Only is thus safer for chasing malware, tho a hostile screen saver will still kick in if the system is left unattended, as it typically would be during long scans.

    Tip 1: There's a fair bit of "dark code" that runs after the last listed driver (as seen with the "No GUI" setting), so the last driver listed is not necessarily what crashed or "hung"; it may have loaded and initialized just fine, with the crash or hang following in later code before next UI update.

    Tip 2: If in Command Prompt Only and frustrated by the lack of a GUI shell for file operations, you can start Notepad and use the File, Open dialog box space to (right-click) Copy and Paste directory subtrees etc. as if using the full GUI shell. Not sure to what extent this remains safe from shell integrations, tho.
      My ComputerSystem Spec


 
Page 4 of 4 FirstFirst ... 234

Tutorial Categories

Add Safe Mode to Boot Options in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Performance & Maintenance Boot into Safe Mode on Windows 10 in Tutorials
How to Start Windows 10 in Safe Mode Safe mode starts Windows in a basic state, using a limited set of files and drivers. It can help you troubleshoot problems on your PC. For example, if the problem doesn't happen in safe mode, you'll know...
Solved Safe mode boot hell in User Accounts and Family Safety
hi.. i followed one of the suggestions to enable boot mode. that was to use msconfig and set the boot mode option. i just had it on minimal boot settings, what my problem is that when the boot mode comes up, it prompts me for a password for the MS...
Hi, I set up Win 8/8.1 Pro with a normal and safe mode option in the boot menu. After my Win 10 install attempt, I was intrigued to find I had the options of booting to Win 10 or Win 8.1 Pro (Safe Mode) after a restart. True in both the...
if you can't get into your user account, is there another way to boot to safe mode? I think you can do this from windows recovery media, but I was unable to create that. (It didn't like my sandisk flash drive, even though my 3rd party programs...
I ran into a problem installing Win10 on my laptop (I posted about it here). I got into an endless reboot cycle where Win would go to desktop but no taskbar/apps worked and a popup message left me no choice but to reboot again. I needed to get to...
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:57.
Find Us