I need help closing system processes using C++ in Windows 10

134 Views Asked by At

I've been experimenting with C++ lately, but something I can't get my head wrapped around is how to end the csrss.exe process with a C++ script. I was originally searching for ways to cause a BSOD and found on a forum post that killing csrss.exe is an easy solution. However, all of the tutorials and guides online are for eliminating normal-level processes and not system-level ones. Could you help me figure this out?

1

There are 1 best solutions below

0
Norbert Willhelm On

Call RtlSetProcessIsCritical using LoadLibrary and GetProcAdress. After that call exit(0).