Safe mode

Last updated

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.

Contents

Background

Microsoft Windows, macOS, Android and Linux distributions such as Ubuntu and Linux Mint are examples of contemporary operating systems that implement a safe mode (called "Safe Boot" in macOS) 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

Windows

Windows 11 running in safe mode Windows Safe mode.png
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]

Unix

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. [5]

macOS

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

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

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

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 safe mode

Application software sometimes offers a safe mode as well. In the PHP interpreter, prior to version 5.4, safe mode offers stricter security measures. [8] 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

Related Research Articles

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system made from a software collection that includes the Linux kernel and often a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices and personal computers to powerful supercomputers.

Microsoft Windows is a product line of proprietary graphical operating systems developed and marketed by Microsoft. It is grouped into families and sub-families that cater to particular sectors of the computing industry -- Windows (unqualified) for a consumer or corporate workstation, Windows Server for a server and Windows IoT for an embedded system. Defunct families include Windows 9x, Windows Mobile, Windows Phone, and Windows Embedded Compact.

In computing, cross-platform software is computer software that is designed to work in several computing platforms. Some cross-platform software requires a separate build for each platform, but some can be directly run on any platform without special preparation, being written in an interpreted language or compiled to portable bytecode for which the interpreters or run-time packages are common or standard components of all supported platforms.

In computing, the superuser is a special user account used for system administration. Depending on the operating system (OS), the actual name of this account might be root, administrator, admin or supervisor. In some cases, the actual name of the account is not the determining factor; on Unix-like systems, for example, the user with a user identifier (UID) of zero is the superuser, regardless of the name of that account; and in systems which implement a role-based security model, any user with the role of superuser can carry out all actions of the superuser account. The principle of least privilege recommends that most users and applications run under an ordinary account to perform their work, as a superuser account is capable of making unrestricted, potentially adverse, system-wide changes.

NTLDR is the boot loader for all releases of Windows NT operating system from 1993 with the release of Windows NT 3.1 up until Windows XP and Windows Server 2003. From Windows Vista onwards it was replaced by the BOOTMGR bootloader. NTLDR is typically run from the primary storage device, but it can also run from portable storage devices such as a CD-ROM, USB flash drive, or floppy disk. NTLDR can also load a non NT-based operating system given the appropriate boot sector in a file.

<span class="mw-page-title-main">Sleep mode</span> Low power mode for electronic devices

Sleep mode is a low power mode for electronic devices such as computers, televisions, and remote controlled devices. These modes save significantly on electrical consumption compared to leaving a device fully on and, upon resume, allow the user to avoid having to reissue instructions or to wait for a machine to boot. Many devices signify this power mode with a pulsed or red colored LED power light.

Hibernation in computing is powering down a computer while retaining its state. When hibernation begins, the computer saves the contents of its random access memory (RAM) to a hard disk or other non-volatile storage. When the computer is turned on the RAM is restored and the computer is exactly as it was before entering hibernation. Hibernation was first implemented in 1992 and patented by Compaq Computer Corporation in Houston, Texas.

Kiosk software is the system and user interface software designed for an interactive kiosk or Internet kiosk enclosing the system in a way that prevents user interaction and activities on the device outside the scope of execution of the software. This way, the system replaces the look and feel of the system it runs over, allowing for customization and limited offering of ad-hoc services. KioskTotal Kiosk software locks down the application in order to protect the kiosk from users which is specially relevant under, but not only limited to, scenarios where the device is publicly accessed such libraries, vending machines or public transport. Kiosk software may offer remote monitoring to manage multiple kiosks from another location. An Email or text alert may be automatically sent from the kiosk for daily activity reports or generated in response to problems detected by the software. Other features allow for remote updates of the kiosk's content and the ability to upload data such as kiosk usage statistics. Kiosk software is used to manage a touchscreen, allowing users to touch the monitor screen to make selections. A virtual keyboard eliminates the need for a computer keyboard. Kiosk software enables digital signage devices to operate in a dedicated mode, ensuring that the devices run for a specified purpose, thus providing additional security compared to normal mode use.

<span class="mw-page-title-main">Live USB</span> USB drive with a full bootable operating system

A live USB is a portable USB-attached external data storage device containing a full operating system that can be booted from. The term is reminiscent of USB flash drives but may encompass an external hard disk drive or solid-state drive, though they may be referred to as "live HDD" and "live SSD" respectively. They are the evolutionary next step after live CDs, but with the added benefit of writable storage, allowing customizations to the booted operating system. Live USBs can be used in embedded systems for system administration, data recovery, or test driving, and can persistently save settings and install software packages on the USB device.

Resolution independence is where elements on a computer screen are rendered at sizes independent from the pixel grid, resulting in a graphical user interface that is displayed at a consistent physical size, regardless of the resolution of the screen.

<span class="mw-page-title-main">MSConfig</span> Microsoft Windows System Configuration

MSConfig is a system utility to troubleshoot the Microsoft Windows startup process. It can disable or re-enable software, device drivers and Windows services that run at startup, or change boot parameters.

A mobile operating system is an operating system used for smartphones, tablets, smartwatches, smartglasses, or other non-laptop personal mobile computing devices. While computers such as typical/mobile laptops are "mobile", the operating systems used on them are generally not considered mobile, as they were originally designed for desktop computers that historically did not have or need specific mobile features. This line distinguishing mobile and other forms has become blurred in recent years, due to the fact that newer devices have become smaller and more mobile unlike hardware of the past. Key notabilities blurring this line are the introduction of tablet computers, light-weight laptops, and the hybridization of the two in 2-in-1 PCs.

<span class="mw-page-title-main">Blue screen of death</span> Error screen displayed after a fatal system error on a computer running Microsoft Windows or ReactOS

The blue screen of death is a critical error screen displayed by the Microsoft Windows and ReactOS operating systems in the event of a fatal system error. It indicates a system crash, in which the operating system has reached a critical condition where it can no longer operate safely.

<span class="mw-page-title-main">ChromeOS</span> Linux-based operating system developed by Google

ChromeOS, sometimes styled as chromeOS and formerly styled as Chrome OS, is a Linux-based operating system developed and designed by Google. It is derived from the open-source ChromiumOS and uses the Google Chrome web browser as its principal user interface.

<span class="mw-page-title-main">Hacking of consumer electronics</span>

The hacking of consumer electronics is an common practice that users perform to customize and modify their devices beyond what is typically possible. This activity has a long history, dating from the days of early computer, programming, and electronics hobbyists.

<span class="mw-page-title-main">Android Debug Bridge</span> Tool for debugging Android-based devices

The Android Debug Bridge is a programming tool used for the debugging of Android-based devices. The daemon on the Android device connects with the server on the host PC over USB or TCP, which connects to the client that is used by the end-user over TCP. Made available as open-source software under the Apache License by Google since 2007, its features include a shell and the possibility to make backups. The adb software is available for Windows, Linux and macOS. It has been misused by botnets and other malware, for which mitigations were developed such as RSA authentication and device whitelisting.

Comparison of user features of operating systems refers to a comparison of the general user features of major operating systems in a narrative format. It does not encompass a full exhaustive comparison or description of all technical details of all operating systems. It is a comparison of basic roles and the most prominent features. It also includes the most important features of the operating system's origins, historical development, and role.

<span class="mw-page-title-main">Bootloader unlocking</span> Process of disabling secure device booting

Bootloader unlocking is the process of disabling the bootloader security that makes secure boot possible. It can make advanced customizations possible, such as installing a custom firmware. On smartphones this can be a custom Android distribution or another mobile operating system. Some bootloaders are not locked at all, others can be unlocked using a standard command, others need assistance from the manufacturer. Some do not include an unlocking method and can only be unlocked through a software exploit.

References

  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)" . Retrieved 2017-12-21.
  5. How To Recover root password under linux with single user mode Archived 2010-12-24 at the Wayback Machine
  6. "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.
  7. "How to turn off Safe Mode on your Android phone or tablet in 2 ways". Business Insider . 2019-12-11. Retrieved 2021-09-10.
  8. "PHP: Safe Mode - Manual". uk.php.net. Retrieved 2017-12-21.