Windows startup process

Windows startup process

The Windows Startup Process is the process by which Microsoft's Windows series of operating systems initializes.

DOS-based Windows

In Windows 3.x and 95/98/ME, the boot loader phase is handled by MS DOS. During the boot phase, the Autoexec.bat and Config.sys are executed, along with the configuration settings files WIN.INI and SYSTEM.INI. Virtual device drivers are also loaded in the startup process : they are most commonly loaded from the registry (HKLMSystemCurrentControlSetServicesVxD) or from the SYSTEM.INI file.

When all system configuration files and device drivers have been loaded, the 32-bit VxD message server (Msgsrv32) starts Mprexe.exe, which is responsible for loading the network logon client (such as Client for Microsoft Networks, Microsoft Family Logon or Windows Logon).

When a user is logging on to Windows, the startup sound is played, the shell (usually Explorer.exe) is loaded from the [boot] section of the SYSTEM.INI file, and startup items are loaded.

In all DOS-based versions of Windows except ME, it is also possible to load Windows by booting to a DOS prompt and typing "win". There are some command line switches that can be used with the "Win" command: with the /d switch, Windows boots to safe mode, and with the /d:n switch, Windows boots to safe mode with networking. The latter switch only works properly with Windows 95 [ [http://support.microsoft.com/kb/196249 Unable to Start Windows 98 in Safe Mode with Network Support] ] . In Windows 3.1, additional options are available, such as /3, which starts Windows in 386 enhanced mode, and /s, which starts Windows in standard mode [ [http://support.microsoft.com/kb/82731 Windows 3.1 WIN.COM Command Switches] ]

Windows NT

In Windows NT, the boot loader is called NTLDR. It is responsible for accessing the file system on the boot drive, for starting Ntoskrnl.exe and for loading boot-time device drivers into memory. Once all the Boot and System drivers have been loaded, the kernel (system thread) starts the Session Manager Subsystem (smss.exe), which in turn starts Winlogon, which loads the graphical identification and authentication library.

After a user has successfully logged in to the machine, Winlogon does the following:

* User and Computer Group Policy settings are applied.
* Startup programs are run from the following locations:
*#HKLMSOFTWAREMicrosoftWindowsCurrentVersionRunonce
*#HKLMSOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
*#HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun
*#HKCUSoftwareMicrosoftWindows NTCurrentVersionWindowsRun
*#HKCUSoftwareMicrosoftWindowsCurrentVersionRun
*#HKCUSoftwareMicrosoftWindowsCurrentVersionRunOnce
*#"All Users ProfilePath"Start MenuProgramsStartup (please note that this path is localized on non-English versions of Windows)
*#"Current User ProfilePath"Start MenuProgramsStartup (please note that this path is localized on non-English versions of Windows)

In Windows 95/98/ME, it was also possible to run a program before the user logs on by using RunServicesOnce or RunServices keys. In Windows NT, this has been replaced by the Services.exe program, which is able to load a set of system services before a user logs on.

Additionally, on English versions of Windows, the startup folder was called "StartUp" instead of "Startup" in Win9x.

AdwareSpyware and other unwanted software might add itself to the system registry in order to be automatically started when a Windows NT system logs on.

Windows Vista

The sequence of booting Windows Vista is slightly different from any previous version of windows that uses the NT kernel. The operating system boot loader in Vista is called winload.exe, and is invoked by Windows Boot Manager. Additionally, the GINA that has been in use all versions of Windows NT since 3.1 has been entirely replaced by "Credential Providers".

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Windows NT startup process — The Windows NT startup process is the process by which Windows NT 4.0, Windows 2000, Windows XP and Windows Server 2003 operating systems initialize. In Windows Vista and later, this process has changed slightly; see Windows Vista startup process …   Wikipedia

  • Windows Logon Process — Winlogon  компонент операционной системы Microsoft Windows, отвечающий за вход в систему. и т.д. Содержание 1 Краткий обзор 2 Критичность процесса Winlogon 3 Функции Winlogon …   Википедия

  • Windows Vista startup process — This refers to the boot components for Windows Vista and Windows Server 2008. The Windows Vista startup process is the process by which Microsoft s Windows Vista operating system initializes. Quick Overview Bios > Master Boot Record > Boot Sector …   Wikipedia

  • Linux startup process — The Linux startup process is the process by which Linux based operating systems initialize. It is in many ways similar to the BSD and other Unix style boot processes, from which it derives.Overview of typical processIn Linux, the flow of control… …   Wikipedia

  • Windows API — The Windows API, informally WinAPI, is Microsoft s core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. It was formerly called the Win32 API; however, the name Windows API more accurately… …   Wikipedia

  • Windows Defender — A component of Microsoft Windows Windows Defender in Windows 7 …   Wikipedia

  • Windows 9x — Windows 4.x redirects here. For the operating system in the NT family, see Windows NT 4.0. Windows 9x Screenshot of Windows 95, the first version of Windows in the 9x series Company / developer …   Wikipedia

  • Windows PowerShell — Screenshot of a sample PowerShell session …   Wikipedia

  • Windows Defender — Защитник Windows в Windows Vista build 5270 Тип Антишпионские программы Разработчик ОС Windows 2000, XP …   Википедия

  • Windows Genuine Advantage — Developer(s) Microsoft Stable release 1.9.42.0 / June 26, 2009; 2 years ago (2009 06 26) …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”