Windows 7的正常启动顺序为:
The normal startup sequence for Windows 7 is:
- 开机自检(POST)阶段
- 初始启动阶段
- Windows启动管理器阶段
- Windows引导加载程序阶段
- 内核加载阶段
- 登录阶段
- Power-on self test (POST) phase
- Initial startup phase
- Windows Boot Manager phase
- Windows Boot Loader phase
- Kernel loading phase
- Logon phase
内核加载阶段 Windows引导加载程序负责将Windows内核(Ntoskrnl.exe
)和HAL加载到内存中.
内核和HAL一起初始化一组软件
Windows执行程序的功能. Windows执行程序
处理存储在注册表中的配置信息
HKLM\SYSTEM\CurrentControlSet
并启动服务和驱动程序.这
以下各节提供了有关内核加载阶段的更多详细信息.
Kernel Loading Phase The Windows Boot Loader is responsible for loading the Windows kernel (Ntoskrnl.exe
) and the HAL into memory.
Together, the kernel and the HAL initialize a group of software
features that are called the Windows executive. The Windows executive
processes the configuration information stored in the registry in
HKLM\SYSTEM\CurrentControlSet
and starts services and drivers. The
following sections provide more detail about the kernel loading phase.
登录阶段
Windows子系统启动Winlogon.exe
,这是一项系统服务,
使您可以登录和注销. Winlogon.exe
然后执行
以下:
The Windows subsystem starts Winlogon.exe
, a system service that
enables you to log on and log off. Winlogon.exe
then does the
following:
- 启动服务子系统(
Services.exe
),也称为SCM. SCM初始化注册表项启动的服务
在注册表子项中指定为自动加载"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Servicename
.
- 启动本地安全机构(LSA)进程(
Lsass.exe
).
- 在开始登录"提示下分析 Ctrl + Alt + Delete 组合键(如果计算机是
AD DS域).
- Starts the Services subsystem (
Services.exe
), also known as the SCM. The SCM initializes services that the registry entry Start
designates as Autoload in the registry subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Servicename
.
- Starts the Local Security Authority (LSA) process (
Lsass.exe
).
- Parses the Ctrl+Alt+Delete key combination at the Begin Logon prompt (if the computer is part of an
AD DS domain).
登录用户界面(LogonUI)功能和凭据提供程序
(可以是标准凭据提供者或第三方
凭据提供程序)收集用户名和密码(或其他
凭据),并将此信息安全地传递给LSA,以进行
验证.如果用户提供了有效的凭据,则访问权限为
通过使用默认的Kerberos V 5身份验证来授予
协议或Windows NT LAN Manager(NTLM).
The logon user interface (LogonUI) feature and the credential provider
(which can be the standard credential provider or a third-party
credential provider) collect the user name and password (or other
credentials) and pass this information securely to the LSA for
authentication. If the user supplied valid credentials, access is
granted by using either the default Kerberos V 5 authentication
protocol or Windows NT LAN Manager (NTLM).
Winlogon在PnP初始化安全性和身份验证功能
初始化自动加载服务和驱动程序.用户登录后,
注册表项LastKnownGood
引用的控件集
(位于HKLM\SYSTEM\Select
中)被更新为
CurrentControlSet
子项.默认情况下,Winlogon然后启动
Userinit.exe
和Windows资源管理器外壳.然后可以启动Userinit
其他过程,包括:
Winlogon initializes security and authentication features while PnP
initializes auto-load services and drivers. After the user logs on,
the control set referenced by the registry entry LastKnownGood
(located in HKLM\SYSTEM\Select
) is updated with the contents in the
CurrentControlSet
subkey. By default, Winlogon then starts
Userinit.exe
and the Windows Explorer shell. Userinit may then start
other processes, including:
- Group Policy settings take effect Group Policy settings that apply to the user and computer take effect.
Startup programs run When not overridden by Group Policy settings, Windows starts logon scripts, startup programs, and services
referenced in the following registry subkeys and file system folders:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
SystemDrive\Documents and Settings\All Users\Start Menu\Programs\Startup
SystemDrive\Documents and Settings\username\Start Menu\Programs\Startup
在您执行以下操作后,可能会将多个应用程序配置为默认启动
安装Windows,包括Windows Defender.电脑制造商或
IT部门可能会配置其他启动应用程序.
Several applications might be configured to start by default after you
install Windows, including Windows Defender. Computer manufacturers or
IT departments might configure other startup applications.
在用户成功登录到Windows之前,Windows启动尚未完成.
电脑.如果在登录阶段启动失败,则您有一个
配置为启动的服务或应用程序的问题
自动.
Windows startup is not complete until a user successfully logs on to
the computer. If startup fails during the logon phase, you have a
problem with a service or application configured to start
automatically.
如果您想了解更多信息,请查看源链接.
这篇关于Windows启动的顺序是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!