CMD runs automatically and uses too much Memory

Sughosh S V 40 Reputation points
2024-04-30T14:23:02.74+00:00

Sometimes out of nowhere the command propmt pops up and runs for few second and closes soon before closing it manually, and sum times the CMD will be runnning as a background process and will be using around a GB of RAM.

I had similar issue with windows powershell, turned out to be kind of malicious thing, have posted the issue here --> https://learn.microsoft.com/en-us/answers/questions/1349917/windows-powershell-suddenly-pops-and-uses-too-much

I suspect the same thing here but not sure what is causing the issue.

I have attached the task manager image and also the autorun log file(drive link --> https://drive.google.com/drive/folders/1kmL9-wC785d25ML3XW5hI2TS-GjuejLl?usp=sharing), please go through that.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,352 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 32,086 Reputation points
    2024-04-30T16:31:48.55+00:00

    I don't see anything in your autoruns files that stands out as questionable.

    I assume that you've run Defender/MRT/Malwarebytes scans and nothing was detected.

    Download and run process Monitor.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    In the Filter menu add an include entry for process name is cmd.exe.

    User's image

    Trace the issue and look for the process. Double click on an entry. Does the command line entry point to some .bat file? What's in that file?

    Note the parent PID. That will help you find out how/what launched cmd.exe. Use the task manager to find that PID.

    User's image


0 additional answers

Sort by: Most helpful