Windows 10: Unkillable process - permanently present

Discus and support Unkillable process - permanently present in Windows 10 Software and Apps to solve the problem; I am writing my own code (Visual Studio, C++) and, often, when I compile in the Release configuration and run the code - if it crashes the process... Discussion in 'Windows 10 Software and Apps' started by Gboy, Jun 11, 2016.

  1. Gboy Win User

    Unkillable process - permanently present


    I am writing my own code (Visual Studio, C++) and, often, when I compile in the Release configuration and run the code - if it crashes the process continues to exist in the task manager (I find it under the 'Details' tab). It's status shows up as 'Suspended' and the User name associated with it is my own.

    The first problem that this presents is that when I go back to Visual Studio and try to fix the bug and recompile the Release configuration, the linker fails, presumably b/c the program is still present in Task manager. The only way I can get the program to recompile is with a full system restart (which is *such* a pain since I have to shut everything down and open everything back up).

    The second problem which is a bit scary is that even after the reboot - the program still shows up in my Task Manager as 'Suspended' (even though now it's not stopping me from recompiling). So I'm building up a collection of Mark-40.exe (Mark-40 is the project name I've given to my code) Suspended processes (all with different PID's) in my task manager. They all seem benign - but I hate to think that they're eating up system resources in the background when I'd just like them to go away!

    So I've tried everything I can think of to kill these processes:
    - In Task Manager, I tried End Task and End process tree
    - From the Command Prompt (as administrator), I've tried
    - taskkill /PID 48956 /F
    - taskkill /f /s localhost /pid 4800
    - taskkill /f /s localhost /im Mark-40.exe
    - And, e.g. when I enter the last line, the response I get is:
    Code: ERROR: The process "Mark-40.exe" with PID 4800 could not be terminated. Reason: Access Denied. ERROR: The process "Mark-40.exe" with PID 31068 could not be terminated. Reason: Access Denied. ERROR: The process "Mark-40.exe" with PID 24504 could not be terminated. Reason: Access Denied. ERROR: The process "Mark-40.exe" with PID 52184 could not be terminated. Reason: Access Denied.[/quote] - I've installed and tried to run ProcessExplorer, ProcessMonitor and Process Hacker and tried to run all three as Administrator to kill the process and they fail.
    - For example, with Process Hacker, when I try to terminate, I get the error:
    Code: Unable to terminiate Mark-40.exe (PID 4800): An attempt was made to access an exiting process.[/quote] - So, apparently, the code is stuck in some exit 'loop' and can't get out
    - I'm willing to edit my registry (though I don't really know how) to get rid of these processes

    I'm at a complete loss. Does anyone have an idea about what I might do?

    :)
     
  2. mltorley Win User

    Cannot kill a malware's process. HELP.

    If you have pskill, can I safely assume you also have Process Explorer handy?

    If not, grab it from live.sysinternals.com (procexp.exe), and run it with admin rights.

    Find the unkillable process in the tree, right click it and select 'suspend'. That will effectively halt the process, but without actually killing it and triggering re-launch.

    The godsend who wrote Process Explorer has a blog on technet (Mark's Blog – Mark Russinovich's technical blog covering topics such as Windows troubleshooting, technologies and security.) where he describes some cases he's dealt with that might help you out,
     
    mltorley, Jun 11, 2016
    #2
  3. How do I startup and use my computer without entering a password?

    I really do not need to have a local password on my computer.

    What is the process to remove the present password allowing me to return to just pushing the on/off button?
     
    BonnieValente, Jun 11, 2016
    #3
Thema:

Unkillable process - permanently present

Loading...
  1. Unkillable process - permanently present - Similar Threads - Unkillable process permanently

  2. High permanent "System"-process CPU usage, Win 11

    in Windows 10 Gaming
    High permanent "System"-process CPU usage, Win 11: Build 22000.708.The "system"-process is using 6-10 % CPU without pause. Restarting or shutting down does not solve the problem. How to proceed?...
  3. How to Permanently Set Priority Processes Using Registry Editor

    in Windows 10 BSOD Crashes and Debugging
    How to Permanently Set Priority Processes Using Registry Editor: You can set the priority of a program you want to run using Regedit but unfortunately, it is not possible to do the same to set affinity as in most cases, you don't need to change the processor affinity unless for an older application or game that doesn't support...
  4. Need a way to permanently disable Delivery Optimization background process

    in Windows 10 Software and Apps
    Need a way to permanently disable Delivery Optimization background process: The Delivery Optimization background process has been crippling my bandwidth for the past week or so, and it keeps automatically restarting itself whenever I kill the process. I need a way to permanently disable Windows from using this background process so it will stop...
  5. Unkillable process.

    in Windows 10 Network and Sharing
    Unkillable process.: I found out about a task called "SAntivirus" on my computer but no matter what I do, I can't get rid of it.I am an administrator on my computer but when trying to delete the files in C:\Program Files x86\Digital Communications\SAntivirus I am told I require administrator...
  6. Unkillable process even at system level.

    in Windows 10 BSOD Crashes and Debugging
    Unkillable process even at system level.: I have a hanging process created by rocksmith2014 that requires me to restart my computer every time I wish to relaunch the game. It's not using very many resources but I am unable to terminate the process in task manager or even with pskill as an administrator. I even tried...
  7. How to set priority for processes permanently.

    in Windows 10 Customization
    How to set priority for processes permanently.: I am looking to set priority for processes permanently. Tried to do it via task manager but that is only temporary. Want to assign excel and chrome a higher priority than normal. Any clues how to do it and not via third party apps....
  8. End unwanted process permanently in task manager.

    in Windows 10 Ask Insider
    End unwanted process permanently in task manager.: From what i can see in task manager, many unwanted process are running in the background which is making my pc slow. Even when I stopped or end the process, it appears again after some time or when pc is restarted. Can somebody tell me how to permanently remove unwanted...
  9. "registry" process permanently writes to disk

    in Windows 10 Performance & Maintenance
    "registry" process permanently writes to disk: I noticed for some time, that I have a process called "Registry" in Task Manager which randomly uses 0.1-1% CPU usage. I dont have this process running on my Desktop or tablet, just my laptop. I opened MS Process Monitor, filtered the name and disk usage and this showed up:...
  10. VMware Workstation 15 hangs and vmware-vmx is unkillable.

    in Windows 10 Customization
    VMware Workstation 15 hangs and vmware-vmx is unkillable.: I have installed VMware Workstation 15.0.2 on a Windows 10 Enterprise 18348.19h1 host and am encountering a weird issue. When I start a VM, it doesn't boot but gets stuck on a black window. If I try to force reset it or anything like that, the UI for power controls is...

Users found this page by searching for:

  1. an attempt was made to access an exiting process