会话管理子系统(英语:Session Manager Subsystem)即smss.exe,它自Windows NT 3.1起是微软Windows NT家族的一部分。它是由操作系统启动过程英语Windows NT startup process内核启动的第一个用户模式进程[来源请求])执行。

在此阶段中,它将:

  • 创建环境变量
  • 启动内核Win32子系统的用户模式。这个子系统包括win32k.sys(内核模式)、winsrv.dll(用户模式)以及csrss.exe(用户模式)。[1]而其他列于注册表HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems中Required键值的子系统也将被启动
  • 创建DOS设备映射(例如:CON:、NUL:、AUX:、COM1:、COM2:、COM3:、COM4:、PRN:、LPT1:、LPT2:、LPT3:,以及驱动器号),它们列于注册表键值HKLM\System\CurrentControlSet\Control\Session Manager\DOS Devices。这可用于创建常驻的subst英语SUBST驱动程序。
  • 创建虚拟内存页面文件
  • 启动Winlogonwinlogon.exe)。[2]

引导过程完毕后,该程序留在内存中,并可以通过任务管理器看到其在运行。它将等待并在winlogon.exe或csrss.exe关闭其他窗口后关机。如果上述进程未按预期方式终止,smss.exe可能挂起系统。[2]

参考资料

延伸阅读

参见

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.