Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Client/Server Runtime Subsystem

From Wikipedia, the free encyclopedia
Windows NT operating system component

TheClient/Server Runtime Subsystem, orcsrss.exe, is a component of theWindows NT family ofoperating systems that provides theuser mode side of theWin32 subsystem. In modern versions of Windows, it is primarily involved with process and thread management,console window handling,side-by-side assembly loading and the shutdown process. Historically, it had also been responsible for window management and graphics rendering, however, these operations have been moved tokernel mode starting withWindows NT 4.0 to improve performance.[1]

CSRSS instances are marked as critical processes, meaning that terminating one willcrash the system. Built-in process management tools in most Windows versions will also refuse to kill instances of CSRSS. Under normal operation, there is a CSRSS instance for each session (two inWindows Vista and newer, one in earlier versions,[2] both assuming there are no activeRDP connections which spawn extra sessions).

Technical details

[edit]

CSRSS runs as a user-modesystem service. When a user-mode process calls a function involving console windows, process/thread creation, orside-by-side support, instead of issuing asystem call, the Win32 libraries (kernel32.dll, user32.dll, gdi32.dll) send aninter-process call to the CSRSS process which does most of the actual work without compromising the kernel.[3] Window manager andGDI services are handled by a kernel mode driver (win32k.sys) instead.[4]

CSRSS is called along withwinlogon.exe fromsmss.exe at Windows start-up. If either of the files is corrupted or otherwise inaccessible, SMSS will tell the kernel to shut down the start-up process with aBlue screen of death.[5] The error code for this fault is 0xc000021a (STATUS_SYSTEM_PROCESS_TERMINATED).

In Windows 7 and later, instead of drawing console windows itself, CSRSS spawnsconhost.exe subprocesses to draw console windows for command line programs with the permissions of that user.

Malware hoaxes

[edit]

There are numerousvirus hoaxes that claim that csrss.exe ismalware and should be removed to prevent damage to the system; these are false, as removing csrss.exe or killing the csrss.exeprocess will result in a system crash in Windows applications.

In addition,technical support scammers pretending to be Microsoft representatives are known to use csrss.exe as "proof" of a virus infection, and convince the user being scammed into purchasing theirrogue security software to remove it.[6]

See also

[edit]

References

[edit]
  1. ^"The Windows NT 4.0 Kernel mode change".MS Windows NT Kernel-mode User and GDI White Paper. Microsoft. Retrieved2009-01-19.
  2. ^"Inside the Windows Vista Kernel – Startup Processes". Microsoft. Retrieved2010-10-01.
  3. ^"Detailed implementation of a system service in Windows NT".Undocumented Windows NT. Archived fromthe original on 2011-07-17. Retrieved2010-06-10.
  4. ^Russinovich, Mark (2009).Windows Internals, 5th Edition. Microsoft Press. p. 54.
  5. ^"How to troubleshoot a "STOP 0xC000021A" error in Windows XP or Windows Server 2003".support.microsoft.com. Retrieved2020-03-15.
  6. ^Cimpanu, Catalin (Jan 22, 2016)."Symantec Disavows Business Partner Caught Running a Tech Support Scam".Softpedia. RetrievedJuly 29, 2016.

External links

[edit]
Management
tools
Apps
Shell
Services
File systems
Server
Architecture
Security
Compatibility
API
Games
Discontinued
Games
Apps
Others
Spun off to
Microsoft Store
Retrieved from "https://en.wikipedia.org/w/index.php?title=Client/Server_Runtime_Subsystem&oldid=1284332215"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp