![]() |
|
[Shell] Bat Script To Boot Microsoft Windows Os into Safe Mode - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Bat Script To Boot Microsoft Windows Os into Safe Mode (/showthread.php?tid=5706551) |
Bat Script To Boot Microsoft Windows Os into Safe Mode - ritudev - Aug 30, 2017 Open A Notepad and Copy and paste the below lines of code in it @echo off bcedit /set {current} safeboot network shutdown /r echo System is rebooting in safe mode, have patience :) silent_nuke timeout 3 save file as safemode.bat * - Hackoo - Aug 30, 2017 (Aug 30, 2017 12:12 AM)ritudev Wrote: Open A Notepad and Copy and paste the below lines of code in it Hi ✌ Can you explain to us what mean {current} in this script ? and please use tag [code][/ code] when you post a code ! Thanks ! * - DUCKBOY - Sep 12, 2017 Tried this out, doesn't work for me o.O * - Hackoo - Sep 12, 2017 (Sep 12, 2017 08:15 AM)DUCKBOY Wrote: Tried this out, doesn't work for me o.OBecause he omit the d in this command bcedit 😠 The correct command is : bcdedit 😉 This will set the safemode switch: Code bcdedit /set {current} safeboot minimalwith networking: Code bcdedit /set {current} safeboot networkthen reboot the machine with shutdown /r to put back in normal mode via dos: Code bcdedit /deletevalue {current} safebootSource from here ==> https://stackoverflow.com/questions/12692560/is-there-a-command-to-restart-computer-into-safe-mode?answertab=active#tab-top |