Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Кіріспе
Microsoft Windows NT операциялық жүйелер тобының құрамдас бөлігі The Session Manager Subsystem, немесе smss. exe, Windows NT 3.1 операциялық жүйелерінен бастап Microsoft Windows NT операциялық жүйелер отбасының құрамдас бөлігі болып табылады. Ол осы операциялық жүйелердің іске қосу процесінде орындалады.
Component of the Microsoft Windows NT family of operating systems
The Session Manager Subsystem, or smss. exe, is a component of the Microsoft Windows NT family of operating systems, starting in Windows NT 3.1. It is executed during the startup process of those operating systems.
Сессияны бастау
Сессия менеджері - ядро бастаған бірінші пайдаланушы режімі процесі. Басталғаннан кейін HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management конфигурациялық деректері, HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment реестрлік кіруі орналасқан орта айнымалылары және DOS құрылғыларының сәйкестендірулері (мысалы, CON:, NUL:, AUX:, COM1:, COM2:, COM3:, COM4:, PRN:, LPT1:, LPT2:, LPT3: және диск әріптері) HKLM\System\CurrentControlSet\Control\Session Manager\DOS құрылғылар реестрлік кілті бойынша тізімделеді. Бұл тұрақты қосалқы дискілерді құру үшін пайдаланылуы мүмкін. Басқарушы Win32 кіші жүйесінің ядролық және пайдаланушы режимдерін іске қосу үшін жауапты. Бұл жүйеге win32k кіреді. sys (желілік режімі), winsrv. dll (пайдаланушы режімі) және csrss. exe (пайдаланушы режімі) HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems тіркелім кілті талап етілетін мәнінде көрсетілген кез келген басқа ішкі жүйелер де іске қосылады. Басқарушы сессияның басында орындалуы талап етілетін кез келген операцияларды орындау үшін де жауапты. HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute деген командалар орындалады, мысалы, autochk және convert. Бұл командалар сервистерді жүктеу алдында орындалады. HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations кезегіндегі кез келген қайта атау операциялары. Бұл бұрын қолданылып жүрген файлдарды (мысалы, драйверлерді) қайта жүктеу кезінде ауыстыруға мүмкіндік береді. Windows Vista-дан бастап Сессия менеджері кіші жүйесі Windows Startup Application (wininit. exe) және екінші Клиент/Сервердің Іске асыру уақыты (csrss. exe) 0 сессия үшін жүйелік процестерге арналған сессия. Мұнда Windows Startup Application қызмет көрсетуді басқару менеджерін (services. exe) дегенді қолданады, ол "Автоматты бастау" дегенге орнатылған барлық Windows қызметтерін бастайды. Сондай-ақ, қосымша жергілікті қауіпсіздік органдары (LSASS) жүйелік бөлімін іске қосуға мүмкіндік береді. exe) дегенге ауыстырылсын . Windows Vista-дан бұрын бұл процестерді Windows Startup қолданбасының орнына Windows Logon бастаған. Сессияны конфигурациялағаннан кейін Сессия менеджері кіші жүйесі Winlogon (Windows Logon Application) бастайды, ол Windows жүйесіне интерактивті тіркелулерді жергілікті немесе қашықтан басқаруға жауапты. Қажет болған жағдайда жаңа пайдаланушы сеанстарын бастайды. Жергілікті сессия менеджері қызметі (lsm. exe) SMSS-ке жаңа сессияларды бастау үшін Асинхронды жергілікті процестер арасындағы байланыс (ALPC) порты арқылы SmSsWinStationApiPort арқылы сұрау жібереді. Пайдаланушы жүйеге кірген сайын, бастапқы сессия менеджері жаңа сессияны конфигурациялау үшін өзінің жаңа инстанциясын жасайды. Бұл жаңа процесс Win32 жүйелік бөлігін және жаңа сеанс үшін Winlogon процесін бастайды. Бұл бірнеше пайдаланушыларға Windows Server жүйелерінде бір уақытта тіркелуге мүмкіндік береді.
The Session Manager Subsystem is the first user mode process started by the kernel. Once started it creates additional paging files with configuration data from HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management, the environment variables located at the registry entry HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment, and DOS device mappings (e. g. CON:, NUL:, AUX:, COM1:, COM2:, COM3:, COM4:, PRN:, LPT1:, LPT2:, LPT3:, and drive letters) listed at the HKLM\System\CurrentControlSet\Control\Session Manager\DOS Devices registry key. This can be used to create permanent subst drives. The manager is responsible for starting the kernel and user modes of the Win32 subsystem. This subsystem includes win32k. sys (kernel mode), winsrv. dll (user mode), and csrss. exe (user mode). Any other subsystems listed in the Required value of the HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems Registry key are also started. The manager is also responsible for doing any operations that are requested to be done at the start of a session. Commands listed in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute, such as autochk and convert, are executed. These commands are run before services are loaded by later steps of the booting process. Any rename operations queued at HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations. This is used to allow previously in use files (e. g. drivers) to be replaced as part of a reboot. Starting with Windows Vista, the Session Manager Subsystem creates a temporary instance of itself that launches the Windows Startup Application (wininit. exe) and a second Client/Server Runtime Subsystem (csrss. exe) for Session 0, a session dedicated to system processes. From here, the Windows Startup Application starts the Service Control Manager (services. exe), which starts all the Windows services that are set to "Auto Start". The application also starts the Local Security Authority Subsystem Service (lsass. exe). Before Windows Vista, these processes where started by Windows Logon instead of the Windows Startup Application. Once the session is configured, the Session Manager Subsystem starts Winlogon (Windows Logon Application), which is responsible for handling interactive logons to a Windows system, either local or remote. It also initiates new user sessions when needed. The Local Session Manager Service (lsm. exe) sends requests to SMSS through the Asynchronous Local Inter Process Communication (ALPC) port SmSsWinStationApiPort to start new sessions. Each time a user logs onto the system, the initial Session Manager creates a new instance of itself to configure a new session. This new process starts a Win32 subsystem and Winlogon process for the new session. This allows for multiple users to logon at the same time on Windows Server systems.