What is the process of smss.exe?
The Session Manager is responsible for many important steps in the startup and operation of the Windows operating system, such as opening additional page files, performing delayed file renames and deletions, and creating system environment variables. He also starts the Csrss.exe and Winlogon.exe processes, and the Winlogon.exe process creates other system processes in turn.
smss.exe This is a Windows background process that will start with the system. Because it is an important process running on the system, if you force it to terminate the system, it will be shut down, as shown below:
smss.exe is usually safe as a system process. The location of the program file is C:\\Windows\\System32\\smss.exe (C stands for the partition letter of the system installation).
Function:
smss.exe (Session Manager) is the first user-mode process created on Windows systems. The kernel mode system thread responsible for completing the execution and kernel initialization creates the actual Smss process in the final phase. In the process of starting Windows, smss.exe is divided into 7 steps, which are as follows:
Create an LPC port object and define symbolic links for MSDOS, such as COM1 and LPT1. If Terminal Services is installed, Create the \\Sessions directory to run the program defined by HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\BootExecute in the registry. The default is to run Autochk to execute the delay in the HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\PendingFileRenameOperations table key, delete The rename operation loads HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\KnownDLLs to initialize the paging files and the registry creation system environment variables. These definitions are loaded and initialized in the HKLM\\System\\CurrentControlSet\\Session Manager\\Environment kernel module Win32k of the Win32 subsystem. .sys creates Win32 subsystem server processes, including Csrss.exe and creates the Winlogon.exe process.
Under the HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager registry, you can find a lot of configuration information that drives the initialization steps of Smss.exe. The main thread in Smss.exe waits on the process handles of Csrss.exe and Winlogon.exe after performing these initialization steps. If either of these two processes terminates abnormally, Smss crashes the system (the crash code is STATUS_SYSTEM_PROCESS_TERMINATED or 0xC000021A) because Windows relies on the existence of both processes to run.
At the same time, Smss.exe waits for requests to load subsystems, debug events, and requests to create new terminal server sessions. The creation of a Terminal Services session is done by Smss.exe. When Smss.exe receives a request to create a session, it first calls NtSetSystemInformation to request a kernel-mode session data structure. In turn, the internal memory manager function MmSessionCreate is called, which establishes the session virtual address space, which contains the page break memory pool in the session, as well as the kernel mode part of the Win32 subsystem (Win32k.sys) and others. The data structure assigned to each session by the session space device driver. Then, Smss.exe creates an instance of Winlogon.exe and Csrss.exe for the session.
After reading the above, I finally got a certain understanding of the smss.exe process, knowing that this is a Windows background process, and it has a big effect, so users should not go to the smss.exe process. End it, or your Windows system will be closed.
1. Open the “Start Menu” in the Search All Programs and Files box and type “Disk Cleanup” and click
As a new generation of Microsoft operating system, Win7 has made great improvements in many aspects
Take Windows7 as an example, in fact, it comes with WiFi and SoftAp (virtual wireless AP) function,
1. Open the Start menu and enter the “secpol.msc” c
Computer master teaches you how to maintain the Win7 system yourself
What is the minimum configuration requirement for installing a 64-bit win7 system
Back up system information Some points you need to know
Win7 software compatibility problem solution
How to install XP dual system under win7
WINDOWS 7 Disk Management Tool Creating and Deleting Partitions
Win7 modified the active partition can not boot how to do
Win7 quick copy folder practical skills
Win7 computer shutdown program is still running how to do
Play LOL card, do not change the computer, what need to change
How to open or close the Win10 flight mode?
Chinese comparison table of BIOS setting options
Win8.1 disk partition teaching
Let the bookmarked websites be sorted alphabetically.
Win7 system command prompt input instruction invalid problem solution