Is there a command to reboot in safe mode?


Recommended Posts

I am a computer tech. I work on about 5 computers at a time, in addition to helping customers. If I need to get a computer into safe mode, I have to stand there the minute or so until I can hit F8 and I CONSTANTLY miss it.

I would love a command such as "rundll.exe -restart /safe" or something like that that would automatically restart in safe mode.

If anyone knows of such a command, I would be eternally grateful.

Thanks,

Matt

I am really looking for a command I can run from the "Run" dialog that will allow me to restart in safe mode. I will be working on customer's units, and I don't want to edit the boot.ini file, since I'd still have to select an OS to load to and that would not be economical for me. Just a quick one time command for "Restart in safe mode."

What I'm looking for reminds me of "Restart in MS-DOS mode" of Win98. You could get there by pressing F8, or by selecting that.

Nope no command to resart in safe mode. The only shutdown options are:

C:\Documents and Settings\Go Away>shutdown

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c

omment"] [-d up:xx:yy]

No args Display this message (same as -?)

-i Display GUI interface, must be the first option

-l Log off (cannot be used with -m option)

-s Shutdown the computer

-r Shutdown and restart the computer

-a Abort a system shutdown

-m \\computername Remote computer to shutdown/restart/abort

-t xx Set timeout for shutdown to xx seconds

-c "comment" Shutdown comment (maximum of 127 characters)

-f Forces running applications to close without war

ning

-d [p]:xx:yy The reason code for the shutdown

u is the user code

p is a planned shutdown code

xx is the major reason code (positive integer le

ss than 256)

yy is the minor reason code (positive integer le

ss than 65536)

I too wish there was a way to boot into safe mode alot easier than this, but alas, there is not unfortunately. That's why I just have to sit there whacking the F8 key until the selection comes up for me to boot into Safe Mode, I guess it would be too much to ask for of MS to add something in that is easier =P

In the c:\boot.ini:

The Safe-mode boot modes and corresponding switches include:

  • Mode: Safe Mode
    Switch: /safeboot:minimal /sos /bootlog /noguiboot
  • Mode: Safe Mode with Networking
    Switch: /safeboot:network /sos /bootlog /noguiboot
  • Mode: Safe Mode with Command Prompt
    Switch: /safeboot:minimal(alternateshell) /sos /bootlog /noguiboot
  • Mode: Enable Boot Logging
    Switch: /bootlog
  • Mode: Enable VGA Mode
    Switch: /basevideo
  • Mode: Directory Services Restore Mode (Domain Controllers Only)
    Switch: /safeboot:dsrepair /sos
  • Mode: Debugging Mode
    Switch: /debug

Example:

[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" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Safe Mode" /fastdetect /safeboot:minimal /sos

Hope this helps...

Nick :D

to continue with the info that N1ck gave you - just create the entries you would like to be able to boot in. Then if you would want say a safe mode with network boot, make that your default option. When you reboot it will come up in safe mode with networking.

This can be changed in system props, advanced startup and recovery.

edit: to take it to the next level - just make a batch file that changes the default in your boot.ini file.

Make one that makes next boot safe, make one that makes next one normal, etc.. so if you want to boot in safe mode next time. Run your batch file, then restart - you could even put the shutdown command in there. So when you run the batch file, it changes your default boot to the safe settings you want, and then reboots the machine.

Just make sure you change it back - or the next time you reboot, you'll still be in safe mode.

edit2: But martog's way is much funner, kind of turns your booting into safe mode a game - can you hit the f8 key at the right time? If not your a luser, if so - Woo Hoo your one l337 mofo ;) hehehehe

Edited by BudMan

If you happen to be working on a Win98 computer.

  Quote
Quick reboot into Safe Mode

Reboot into DOS Mode

Type Win /D:M

Press Enter

Windows will reboot into Safe Mode. Quickly, I might add.

Not useful for Windows XP unfortunately. :unsure:

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • 65-inch Samsung Crystal UHD DU8000 series Smart TV is back to its lowest price by Fiza Ali Amazon is once again offering the 65-inch Samsung DU8000 Series Smart TV at its lowest price. The DU8000 offers a Crystal UHD LED panel that delivers a native 3,840 × 2,160 resolution while the Crystal Processor 4K employs AI‑driven upscaling to optimise lower resolution content to 4K clarity. For picture quality, the DU8000 supports a comprehensive High Dynamic Range (HDR) suite including HDR10, HDR10+, and HLG alongside Film and Filmmaker Modes. Dynamic Crystal Colour enhances colour volume for richer, more accurate hues, and Mega Contrast with UHD Dimming boosts depth and definition in both bright and dark scenes. Furthermore, the Motion Xcelerator engine maintains smooth motion clarity at 60Hz. Gaming on this model should be good with Auto Low Latency Mode (ALLM), Variable Refresh Rate (VRR) support, and HGiG customisation, promising minimal input lag and fluid frame rates. HGiG (HDR Gaming Interest Group) customisation ensures that HDR content in games is displayed as the developers intended by applying standardised tone mapping tailored to gaming, rather than general HDR video settings. This helps prevent overly dark shadows or blown-out highlights, maintaining detail and visual consistency across a wide range of game environments. Moreover, a dedicated Gaming Hub offers streamlined access to cloud gaming services and console content. Audio is driven by a 20W (2‑channel) system featuring Samsung’s Object Tracking Sound Lite (OTS Lite) and Q‑Symphony which synchronises TV speakers and compatible soundbars for multidimensional sound without overlap. Adaptive Sound analyses each scene to optimise dialogue and effects, while dual‑device Bluetooth pairing allows wireless connection of headsets or external speakers. Furthermore, the Tizen Smart TV platform offers a built‑in Bixby voice control and compatibility with Alexa and Google Assistant. Connectivity options include three HDMI 2.0 ports (with eARC/ARC), two USB‑A ports, Ethernet, optical digital audio out, RF in, and dual‑band Wi‑Fi 5 (802.11ac). Accessibility features include multi‑language Voice Guide, high‑contrast and zoom modes for low‑vision users, closed captions and sign‑language zoom for the hearing impaired, and slow‑repeat buttons and a remote‑control app option for those with motor impairments. 65-inch Samsung Crystal UHD DU8000 Series HDR Smart TV: $399.99 (Amazon US) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • I'm not exactly sure where to post this, so move it if needed. Where can I get a Windows 11 Pro upgrade key cheap? The one I bought through Neowin Deals no longer works, and I just bought a new laptop & want to upgrade from Home to Pro.
    • Except Rolling Releases. No EOL, continuous updates.
    • True, Windows 95 could barely run on systems made in 1995. Two responses, first, people did complain in the 90s about how quickly software updates obsoleted hardware, so it isn't like it was fine then and not now. Second, it hits a little different when the requirement is seemingly arbitrary instead of a true resource requirement.
  • Recent Achievements

    • Week One Done
      Stephen Leibowitz earned a badge
      Week One Done
    • Week One Done
      Homayoun Hotak earned a badge
      Week One Done
    • Dedicated
      Profit earned a badge
      Dedicated
    • One Month Later
      hhgygy earned a badge
      One Month Later
    • Week One Done
      hhgygy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      640
    2. 2
      ATLien_0
      240
    3. 3
      Xenon
      169
    4. 4
      neufuse
      151
    5. 5
      +FloatingFatMan
      124
  • Tell a friend

    Love Neowin? Tell a friend!