Safe Boot Windows 10

0 views
Skip to first unread message

Diante Scharsch

unread,
Aug 5, 2024, 12:44:42 AM8/5/24
to afcolasre
Im trying to boot into windows safe mode so that I can run the DDU utility and install the Bootcamp adrenalin drivers (for gaming). When I boot and select the windows partition, I hold 'shift' which brings up the boot options, I select 4 (safe mode), and the login screen flickers, then a black screen, and no response.

I rebooted to a black screen using a 5K monitor over USB-C / Thunderbolt. So, I hooked up a 4K screen over HDMI which did the trick. Windows doesn't play nice with 5K screens over USB-C / Thunderbolt.


I know you can remotely shutdown a Windows machine with the "shutdown" command line. But I think it's impossible to remotely get a machine into safe mode (with networking). Does anyone know of a way to do this?


If you have the option to interactively connect to Windows on the machine, though, you can use MSCONFIG to set the /SAFEBOOT switch in boot.ini, then reboot the machine. Do Start -> Run and type in MSCONFIG, then on the boot.ini tab check /SAFEBOOT under Boot Options and choose which safe mode you want to boot into (in this scenario, NETWORK).


This is exactly what HP's integrated lights-out option is for. Editing the boot.ini file won't be much help, since you won't be able to log into the machine, as the RDP service won't run. In case that's an HP server though you can connect directly to it's console via https portal, and also have access to virtual "power button".


Not an answer to the question, but hopefully useful to anyone who's hit issues when trying this. I found that despite rebooting in safe mode with networking, various services including Remote Desktop Services and Server (i.e. providing SMB access to boot.ini) failed to start, giving error code 1084 when started via MMC > Services.


Note: You can just run the 3 lines below; the function above is just there as a convenience wrapper. I've not tested the above cmdlet; though I have used this method without the wrapper so can say that all individual parts work.


That answer above about edit the boot.ini , is nice and all -- EXCEPT....you can't change the boot.ini file...if you follow "Mark's" directions step by step - you hit a brick wall because the boot.ini is read only.


If you hastily chose to modify the BOOT.ini to restart in safe mode with networking, and then restart, you will find that you cannot remotely log in at all. You WILL likely be able to view the boot file \\machinename\C$\boot.ini, but won't be able to modify it because it is read only. You will also not be able to "right-click and uncheck 'read-only' " because you won't be able to navigate to the C$ directory at all. I now have to physically login to this virtual workstation in order to change the boot.ini back. I will never make that mistake again!


In earlier versions of Windows, boot.ini was a system file that contained information about the Windows operating systems installed on a computer. This information was displayed during the startup process when you turned on your computer. It was most useful in multiboot configurations, or for advanced users or administrators who needed to customize how Windows started.


In this version of Windows, the boot.ini file has been replaced with Boot Configuration Data (BCD). This file is more versatile than boot.ini, and it can apply to computer platforms that use means other than basic input/output system (BIOS) to start the computer.


If you need to make changes to BCD, such as removing entries from the list of displayed operating systems, use the command-line tool Bcdedit, an advanced tool intended for administrators and IT professionals. For technical information about Bcdedit, go to the Microsoft website for IT professionals.


If your computer is a multiboot configuration, you can still change which Windows operating system opens by default, and how long to display the list of operating systems, by using System in Control Panel.


If you should make this mistake, you will likely be able to navigate to the boot.ini file via File Explorer, so \hostname\C$\boot.ini, and there is a chance you will also be able to remove "/safeboot:network" and save.


Restart. After your PC restarts to the Choose an option screen, select Troubleshoot > Advanced options > Startup Settings > Restart.After your PC restarts, you'll see a list of options. Select 4 or F4to start your PC in Safe Mode. Or if you'll need to use the Internet,select 5 or F5 for Safe Mode with Networking.


I had a similar problem where I needed to boot into safe mode or access other Windows recovery options, but couldn't because my Mac had the touch bar and for some reason my trackpad and keyboard would not work when booting into Windows, at all. After learning that Windows should automatically boot into recovery mode if there have been 4-5 hard reboots (assuming Bootcamp is your main startup disk), I tried hard resetting (holding the power button down until it shuts down, then pushing the power button to turn it on) several times.


On top of that, considering my trackpad and keyboard would not work when booting into Windows, I instead hard rebooted while holding down the Option button, which brought up the Mac and Bootcamp (Windows) partitions, where my trackpad and keyboard worked. Then, I held down the shift button while I clicked on the Bootcamp (Windows) partition "arrow" button. That booted Windows into recovery mode, which gave me the options I needed and I was able to fix what I needed to.


I just finished going through this, and fixed it. It was a pain because you can't run the tool on a Mac, so you must run the tool on a spare PC. I was on vacation, and didn't have one until I got home. My Windows 10 boot up was stuck at the blue logo.


Secure boot forces both Windows and Ubuntu to require that all system level drivers are "signed", proving that they approved as authentic software. The idea is fairly good, and on Windows, Microsoft signs most of the drivers.


However, on Ubuntu, the user may require special drivers for their wireless card, video card, or specialty hardware. These drivers are normally unsigned, as they can come from a number of different sources. If secure boot is enabled, and the drivers are not signed, these drivers will not load. In order for them to load, each driver must be "signed". This process of signing the drivers is not extremely difficult, but it can be a hassle... especially if you change/update the driver, or change/update the kernel software that is a part of Ubuntu. Each change will require that you resign the driver.


So, imagine this... your system is running fine... you have secure boot enabled... your drivers are all properly signed... and you use Ubuntu's Software Updater and it installs a new kernel... or you install a new driver... and you reboot the system only to find that your wireless card may no longer work, your video card doesn't display properly, or your specialty hardware no longer works. Now you must recompile and resign all of the modules again. Not fun.


Yes, no, maybe so. This is really quite an opinionated question and not really about Ubuntu. Nevertheless, I will do my best to answer in an impartial way, so I don't start arguments and can allow you to make your own decision.


Secure Boot is a feature in Windows 8+ laptops that only allows an operating system to boot if it is signed by Microsoft. It's kind of like how Apple only allows apps and firmware that are officially signed to be installed to an iDevice. This feature can usually be turned off, but not always, which can cause issues with Linux.


The point of Secure Boot is to prevent things like rootkits and other malware from hijacking your boot process for nefarious purposes. This is where you might want to consider whether or not you should keep Secure Boot on. If you visit a lot of shady websites, without using anything like AdBlocker or Privacy Badger, then you may want to consider keeping it on, or, as zwets suggested, signing the NVIDIA module yourself. Of course, if your browsing is normal and safe, then Secure Boot is usually alright turned off.


It can also depend on your paranoia level. If you're someone who would rather not have internet, because of how insecure that has the potential to be, then you should probably keep Secure Boot enabled. If you're someone like me, who uses the same password for multiple sites, then turn it off.


To boot into safe mode on a Windows computer, you can try pressing the "F8" key repeatedly during startup. Alternatively, you can use the "shift + restart" method through the start menu or use the "msconfig" utility to enable safe mode.


When you start or restart your Windows computer, immediately start pressing the "F8" key repeatedly before the Windows logo appears. This action should bring up the "advanced boot options" menu, where you can select "safe mode" using the arrow keys and press "enter" to boot into it.


Yes, if your computer is unresponsive or you can't access the start menu, you can use the "shift + restart" method by holding down the "shift" key while clicking "restart" from the login screen. This will take you to the "advanced boot options" screen.


Yes, you can boot into safe mode from within Windows. If your Windows computer is already running, you can use the "msconfig" utility. Press "Win + R" to open the Run dialog, type "msconfig," and press "enter." In the "system configuration" window, go to the "boot" tab, check "safe boot," and click "ok." Your computer will reboot into safe mode.


Safe mode with networking support allows you to access the internet and network resources while in safe mode. To do this, follow the "F8" key or "shift + restart" method, and then select "safe mode with networking" from the "advanced boot options" menu.


Booting into safe mode is useful for troubleshooting various issues on your computer. It allows you to start your computer with only essential system components, drivers, and potential malware, helping you identify and resolve problems more easily.


In most cases, safe mode limits the running of applications to only essential system processes. However, if you choose "safe mode with networking," you can access the internet and use network-related applications.

3a8082e126
Reply all
Reply to author
Forward
0 new messages