Important Startup Files
For Windows to start, the system and boot partitions must contain the files listed in Table-4.
Table-4 Windows Startup Files
File Name | Disk Location | Description |
BootMgr | Root of the system partition | The Windows Boot Manager. |
WinLoad | %SystemRoot%\System32 | The Windows Boot Loader. |
BCD | \Boot | A file that specifies the paths to operating system installations and other information required for Windows to start. |
Ntoskrnl.exe | %SystemRoot%\System32 | The core (also called the kernel) of the Windows operating system. Code that runs as part of the kernel does so in privileged processor mode and has direct access to system data and hardware. |
Hal.dll | %SystemRoot%\System32 | The HAL dynamic-link library (DLL) file. The HAL abstracts low-level hardware details from the operating system and provides a common programming interface to devices of the same type (such as video adapters). |
Smss.exe | %SystemRoot%\System32 | The Session Manager file. Session Manager is a user-mode process created by the kernel during startup. It handles critical startup tasks including creating page files and performing delayed file rename and delete operations. |
Csrss.exe | %SystemRoot%\System32 | The Win32 Subsystem file. The Win32 Subsystem is started by Session Manager and is required by Windows to function. |
Winlogon.exe | %SystemRoot%\System32 | The Logon Process file, which handles user logon requests and intercepts the Ctrl+Alt+Delete logon key sequence. The Logon Process is started by Session Manager. This is a required feature. |
Services.exe | %SystemRoot%\System32 | The Service Control Manager is responsible for starting and stopping services and is a required feature of Windows. |
Lsass.exe | %SystemRoot%\System32 | The Local Security Authentication Server process is called by the Logon Process when authenticating users and is a required feature. |
System registry file | %SystemRoot%\System32 \Config\System | The file that contains data used to create the registry key HKEY_LOCAL_MACHINE\SYSTEM. This key contains information that the operating system requires to start devices and system services. |
Device drivers | %SystemRoot%\System32 \Drivers | Driver files in this folder are for hardware devices, such as keyboard, mouse, and video. |
In Table-4, the term %SystemRoot% is one of many environment variables used to associate string values, such as folder or file paths, to variables that Windows applications and services use. For example, by using environment variables, scripts can run without modification on computers that have different configurations. To obtain a list of environment variables that you can use for troubleshooting, type set at the Windows command prompt.
In this tutorial:
- Configuring Startup and Troubleshooting Startup Issues
- What is New with Windows Startup
- Boot Configuration Data
- BCD Stores
- System Recovery
- Windows Boot Performance Diagnostics
- Understanding the Startup Process
- Power-on Self Test Phase
- Initial Startup Phase
- Initial Startup Phase for BIOS Computers
- Initial Startup Phase for EFI Computers
- Windows Boot Manager Phase
- Windows Boot Loader Phase
- Kernel Loading Phase
- Control Sets
- Values for the Start Registry Entry
- Value Descriptions for Type Entries
- Other Registry Entries in the Servicename Subkeys
- Session Manager
- Logon Phase
- Important Startup Files
- How to Configure Startup Settings
- How to Use the Startup And Recovery Dialog Box
- How to Use the System Configuration Tool
- How to Use BCDEdit
- How to Interpret BCDEdit Output
- How to Back Up and Restore Settings
- How to Change the Default Operating System Entry
- How to Change the Boot Menu Time-Out
- How to Change the Order of Boot Manager Menu Items
- How to Create an Entry for Another Operating System
- How to Remove a Boot Entry
- How to View and Update Global Debugger Settings
- How to Remove the Windows 7 Boot Loader
- How to Configure a User Account to Automatically Log On
- How to Disable the Windows Startup Sound
- How to Speed Up the Startup Process
- The Process of Troubleshooting Startup
- Startup Troubleshooting Before the Starting Windows Logo Appears
- How to Start the System Recovery Tools
- How to Run Startup Repair
- How to Use BootRec.exe
- How to Diagnose Hardware Problems
- How to Use System Restore
- How to Manually Repair the Boot Sector
- How to Manually Update the BCD Registry File
- How to Manually Replace Files
- How to Reinstall Windows
- Startup Troubleshooting After the Starting Windows Logo Appears
- How to Restore the Last Known Good Configuration
- How to Enable Boot Logging
- How to Start in Safe Mode
- How to Identify Failing Drivers and Services
- How to Analyze Startup Problems in Safe Mode
- Event Viewer (Eventvwr.msc)
- System Information
- Error Reporting Service
- How to Use Device Manager to View or Change Resources
- How to Analyze Boot Logs
- How to Roll Back Drivers
- How to Temporarily Disable a Service
- Troubleshooting Startup Problems After Logon
- How to Temporarily Disable Startup Applications and Processes
- How to Disable Startup Applications Using the Shift Key
- How to Disable Startup Programs Using the System Configuration Utility
- How to Disable Startup Applications Configured Using Group Policy or Logon Scripts
- How to Permanently Disable Startup Applications and Processes
- Manually Remove the Entry