Jump to content

Safe mode

From Wikipedia, the free encyclopedia

Safe mode is a diagnostic mode of a computer operating system (OS). It can also refer to a mode of operation by application software. Safe mode is intended to help fix most, if not all, problems within an operating system. It is also widely used for removing rogue security software.

Background

[edit]

Microsoft Windows, macOS, Android and Linux distributions such as Ubuntu and Linux Mint are examples of contemporary operating systems that implement a safe mode as well as other complex electronic devices.

In safe mode, an operating system has reduced functionality, but the task of isolating problems is easier since many non-core components are disabled, such as sound. An installation that will only boot into safe mode typically has a major problem, such as disk corruption or the installation of poorly-configured software that prevents the operating system from successfully booting into its normal operating mode.

Though it varies by operating system, safe mode typically loads only essential executable modules and disables devices except for those necessary to display information and accept input. It can also take the form of a parallel "miniature" operating system that has no configuration information shared with the normal operating system. For example, on Microsoft Windows, the user can also choose to boot to the Recovery Console, a small text-based troubleshooting mode kept separate from the main operating system (which can also be accessed by booting the install CD) or to various "safe mode" options that run the dysfunctional OS but with features, such as video drivers, audio, and networking, disabled.

Safe mode typically provides access to utility and diagnostic programs so a user can troubleshoot what is preventing the operating system from working normally. Safe mode is intended for maintenance, not functionality, and it provides minimal access to features.

Operating systems

[edit]

Windows

[edit]
Windows 11 running in safe mode

Microsoft Windows' safe mode (for 7/Vista[1] /XP[2] /2000/ME/98/95[citation needed]) is accessed by pressing the F8 key as the operating system boots.[3] Also, in a multi-boot environment with multiple versions of Windows installed side by side, the F8 key can be pressed at the OS selector prompt to get to safe mode. However, under Windows 8 (released in 2012), the traditional press-F8-for-safe-mode-options UI convention no longer works, and either Shift-F8 or a special GUI-based workaround is necessary.[4] Starting from Windows 10 (including Windows 11), users can get to the safe mode from Advanced Startup in Windows Settings.[5]

Unix

[edit]

An equivalently minimal setting in Unix-like operating systems is single-user mode, in which daemons and the X Window System are not started, and only the root user can log in. It can do emergency repairs or maintenance, including resetting users' passwords on the machine without the need to know the old one.[6]

macOS

[edit]

In macOS holding the shift key after powering up activates Safe Boot that has background maintenance features (Besides the mode selection, it runs a file system repair, and in Mac OS 10.4, it disables all fonts other than those in /System/Library/Fonts, moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/, where (uid) is a user ID number such as 501, and disables all startup items and any Login Items). Unlike in Windows where safe mode with networking is disabled by default and requires using a safe mode with networking enabled, in the macOS Safe Boot always includes networking.

On the Classic Mac OS versions 6, 7, 8, and 9, a similar mode to the Unix root is achieved by holding down the shift key while booting, which starts the system without extensions.

iOS

[edit]

iOS does not have a safe mode, however some jailbreaks add a safe mode where all tweaks are disabled, the wallpaper is black and a notification will tell you that you are in safe mode. In that mode, some apps may not launch.

Android

[edit]

The way that safe mode in Android can be activated differs per vendor.[7] Safe mode can be disabled by rebooting the device.[8]

When you reboot into safe mode in Android, downloaded apps and widgets are automatically disabled, but built-in apps remain available. A watermark in the bottom-left corner also appears if you're booted to either normal or safe mode.

Some devices also turn their radios off automatically upon booting into safe mode.

Application software

[edit]

Application software sometimes offers a safe mode as well. In the PHP interpreter, prior to version 5.4, safe mode offers stricter security measures.[9] The Glasgow Haskell Compiler from version 7.2 offers "Safe Haskell" mode, restricting usage of functions such as unsafePerformIO. Mozilla Firefox's safe mode allows the user to remove extensions which may be preventing the browser from loading. Internet Explorer can run in "No Add-Ons" mode and Protected Mode. Cydia's MobileSubstrate also has a safe mode that allows the user to uninstall tweaks and extensions that may crash the SpringBoard.

See also

[edit]

References

[edit]
  1. ^ "start-computer-safe-mode=windows-7". windows.microsoft.com. Retrieved 2017-12-21.
  2. ^ "kb315222". support.microsoft.com. Retrieved 2017-12-21.
  3. ^ A description of the Safe Mode Boot options in Windows XP
  4. ^ "How to Boot Into Safe Mode on Windows 8 or 10 (The Easy Way)". Archived from the original on 2021-02-26. Retrieved 2017-12-21.
  5. ^ "7 ways to start your PC in safe mode in Windows 10". WiseCleaner. Retrieved 2018-07-12.
  6. ^ How To Recover root password under linux with single user mode Archived 2010-12-24 at the Wayback Machine
  7. ^ "android apps: Android users, Google has this fix to find a buggy app on your phone - Times of India". The Times of India. 6 July 2021. Retrieved 2021-09-10.
  8. ^ "How to turn off Safe Mode on your Android phone or tablet in 2 ways". Business Insider. 2019-12-11. Retrieved 2021-09-10.
  9. ^ "PHP: Safe Mode - Manual". uk.php.net. Retrieved 2017-12-21.
[edit]