Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Kill a system process in Win10 [Unsolved]

Hello, i made a program that is supposed to kill system processes but for some reason, this happens:
[Image: gx1iQka.png]

If anyone knows a way to fix this, please tell me

I have made it require highest available perms using the application manifest.
may require admin perms to kill the task.
"Access is denied" ---> What do you think is happening here?

Side-note: hmmm..."PCDestroyer"...Was not there a worse name? 🤣
(Mar 27, 2017 01:52 PM)Zilog80 Wrote:  "Access is denied" ---> What do you think is happening here?

Side-note: hmmm..."PCDestroyer"...Was not there a worse name? 🤣

Its a fun tool i am making to destroy a pc/vm in various ways.
What about uiAccess? are you setting the flag to true in manifest?
(Mar 28, 2017 09:20 AM)Imperishable Wrote:  What about uiAccess? are you setting the flag to true in manifest?

Hm, no. Ill try setting that to true and see if that fixes anything.

Edit:
Umm nope:
[Image: X76zDS9.png]
[Image: f9ovL5w.png]
There's some processes you can't kill even if you are admin, namely the infamous "SYSTEM" process, which has PID 4, so, bottom line is, exclude those processes or place a try-catch and deal with the rest.

Are you just trying to kill system processes with a loop? Because if yes, you might want to target a specific process to crash the system, otherwise you'll be drawing blanks.
Have you tried disabling it in services?
Windows+r
services.msc
Disable on startup - reboot


Or try msconfig and disable in there.
I have decided to give up at the moment until i learn more knowlege about c#
make sure you change prc. to whatever you have in front of prc.Start();
Code
if (Environment.OSVersion.Version.Major >= 6)
            {
                prc.StartInfo.Verb = "runas";
            }


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by R4NS0MMar 6, 2019 11:43 AM 9 298 Mar 6, 2019 11:43 AM
Last Post: Saitama
[C] by hoangdatcm89Dec 9, 2018 02:17 PM 9 479 Dec 9, 2018 02:17 PM
Last Post: Mr. Kim
[C] by chrizatorJul 22, 2018 05:09 AM 4 229 Jul 22, 2018 05:09 AM
Last Post: Anzee