Jul 09, 2020 Open Command Prompt as administrator. In the Command line window, type the command C: Program Files Microsoft Office Office16 outlook.exe” /safe and hit Enter to continue. Once all steps are finished, the Outlook will be opened in Safe Mode. Open Outlook in Safe Mode via Desktop Shortcut.
Most IT guy's know how to restart a computer into Safe Mode, either with MSCONFIG or F8 when booting, but sometimes we want a quick way to reboot into Safe Mode; remotely, from the command line.
Below are instructions for Windows 7 and XP
Login to the computer
Open a command prompt; with elevated rights, type the following, then press ENTER; where is one of the listed options below:
* bcdedit /set {default} safeboot
Modes:-
* Safe Mode:
bcdedit /set {default} safeboot minimal
* Safe Mode with Networking:
bcdedit /set {default} safeboot network
* Safe Mode with Command Prompt:
bcdedit /set {default} safeboot minimal
bcdedit /set {default} safebootalternateshell yes
Reboot the computer, which will start in the mode you chose is step 2.
Until you reset bcdedit in step 4, the computer will always reboot in this mode.
When you've finished using Safe Mode, you need to reset bcdedit to start the computer into a full OS
Open a command prompt; with elevated rights, and type the following, then press ENTER:
* bcdedit /deletevalue {default} safeboot
When you reboot the computer, it will boot into the full OS
Open Notepad; as an administrative user, and then open c:boot.ini in Notepad
NOTE: You might need to unhide protected operating system files in Explorer > Folder Options to see boot.ini
Below is an example of a default boot.ini file:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS='Microsoft Windows XP Professional' /noexecute=optin /fastdetect
On the end of the last line you need to add: ' /safeboot:'; where is one of the listed options below:
Modes:
* Safe Mode
/safeboot:minimal /noguiboot
* Safe Mode with Networking
/safeboot:network /noguiboot
* Safe Mode with Command Prompt
/safeboot:minimal(alternateshell) /noguiboot
Below is an example of a modified boot.ini file:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS='Microsoft Windows XP Professional' /noexecute=optin /fastdetect /safeboot:network /noguiboot
Once you've made the edit, save the file, close Notepad.
Reboot the computer, which will start in Safe Mode you chose is step 7.
Until you reset the boot.ini in step 9, the computer will always reboot in this mode.
When you've finished using Safe Mode, you need to reset boot.ini to start the computer into a full OS
Open Notepad; as an administrative user, and then open boot.ini.
Delete the edit you put in in step 7
i.e: /safeboot:network /noguiboot
When you reboot the computer, it will boot into the full OS
One thing though, tried this last week. When you are in safe mode (with network) you cannot connect to the pc remotely (C$ or MSTSC). All the services that allow that are not started, so for remote purposes you can’t use this :) Not even with TeamViewer!
What is with these entirely worthless walkthroughs? I don't get it.
Why is it worthless, please elaborate ?
SpiceHeads try to put out How to's that help the others, no matter whether the How to is something complex or simple. They can be used by others for their users who might want basic instructions and are non-technical.
This was a good write up, thanks for sharing it with us.
hmm.
you could make a copy of the current boot entry and then set it to safe mode. that way you could go back and forth between safe and regular during testing.
bcdedit /copy {current} /d “description”
bcdedit /set {guid of the new entry} safeboot minimal
you can replace safeboot minimal with other options like safeboot network
I was looking all over Google and strangely enough, couldn't find anything solid until I found this! THANK YOU! Yes, I know how to reboot in Safe Mode...but wanted to do it via command line. Thanks again!
This very question was on the 70-697 exam last week. It's good to know.
Exactly. This question is part of the 70-697 certification questions. It would be useful if you are working with a PC locally and already in Command Prompt. (Admin)
I have experienced the same problem earlier. Try this, hope it works:
Safe Mode with Command Prompt:
bcdedit /set {default} safeboot minimal bcdedit /set {default} safebootalternateshell yes
You can also try this method if your How to reboot into Safe Mode at a command prompt.
Sourced from:
https://www.lifewire.com/how-to-force-windows-to-restart-in-safe-mode-2625163
https://dailytechposts.com/windows-10-safe-mode/
https://www.bleepingcomputer.com/tutorials/how-to-start-windows-10-in-safe-mode-with-command-prompt/