![]() ![]() I can't close all of them, some of them are essential to run Windows (well, accidentally I terminated some of them and ended up with a blue screen #include #include Local $aProcessList = ProcessList ( ) For $i = 1 To $aProcessList $iPid = $aProcessList $sName = _ProcessGetName ( $iPid ) MsgBox ( $MB_SYSTEMMODAL, "The process", "PID: " & $iPid & & "NAME: " & $sName ) If $sName = "svchost.exe" Then ProcessClose($iPid) I don't know if this is the process I want to close EndIf Nextīut the problem is there are so many svchost.exe exists in the process list. So, I tried to make a script to close this process. I found some useful functions ProcessList and _ProcessGetName using the help documents and coded something as below: ![]() I also checked that all three processes are triggered by svchost.exe. So, I did some research online that it's triggered by Update Orchestration and Task Scheduler and Windows Update. I tried to turn it off with "services.msc", but couldn't close the it. Sometimes my computer goes crazy with Windows update. Otherwise, just jump to the end of the post. If you're interested in the story, read below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |