Cmd flashes a couple times a day


JAM83

iRacing Broadcaster for MaxspeedTV
Power User
VIP
Local time
5:52 AM
Posts
1,575
Location
Mulberry, Arkansas
OS
Windows 11 Pro x64 24H2 v26100.3037
So a few times a day, I notice that "cmd" will flash. I have scanned for viruses and there's really nothing there. I don't know what it could be that is trying to install, or update, etc. Anyone have an idea of what I can look at to see what it is?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 24H2 v26100.3037
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2017
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    EVGA GeForce gtx 1660 Super
    Sound Card
    On Board
    Monitor(s) Displays
    2 X AOC 27" , PLANAR 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 6TB Toshiba HDD
    ~ 6TB HDD (Backup)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Nulea RT05 Wireless Ergonomic
    Mouse
    Nulea MD280 Wireless Vertical Mouse
    Internet Speed
    761Mbps (Download) / 692Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 11 Pro x64 24H2 v26100.2894
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Xeon E3-1246 v3 @ 3.50GHz
    Memory
    16GB
    Graphics card(s)
    AMD Radeon R7 350X
    Sound Card
    onBoard
    Monitor(s) Displays
    eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    250GB SSD
    Cooling
    Fan
    Mouse
    Nulea MD280
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    I use this computer for photo/video editing and to track severe weather
Use AutoRuns to see if there is cmd.exe process starting at boot time or schedule to run.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Check for Malware using Malwarebytes Free. Free Antivirus 2024 | Download Free Antivirus & Virus Scan | 100% Free & Easy Install
Do a full scan. Quarantine (or remove) anything that Malwarebytes detects. Restart the computer.
Note: If you plan on removing Malwarebytes, anything it quarantines will be back on your computer. It's best to use MWB settings to delete anything it has in quarantine before removing the MWB app. It's my practice to remove anything MWB finds rather than keeping it in quarantine.


If MWB doesn't find anything, try to develop some timeline and pattern of when you see the popup. Is it at a certain time of day or interval or when you open a certain app. If you have time to read the command it would be helpful. If the popup follows a certain pattern it can make finding its cause easier.

Check Task Scheduler to see what time and interval a task is scheduled to run and compare that to when you see the popups.. Check your startup apps (task manager>startup apps and disable any 3rd party apps you do not want running in the background at startup)
If Autoruns (as was suggested)or task scheduler doesn't get to the bottom of it, the only other thing I have to suggest is using clean boot which uses the process of elimination . This can be slow and arduous since the issue is happening so infrequently.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.2314
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External drives 512gb Samsung m.2 sata+1tb Kingston m2.nvme+ 4gb Solidigm nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Check for Malware using Malwarebytes Free. Free Antivirus 2024 | Download Free Antivirus & Virus Scan | 100% Free & Easy Install
Do a full scan. Quarantine (or remove) anything that Malwarebytes detects. Restart the computer.
Note: If you plan on removing Malwarebytes, anything it quarantines will be back on your computer. It's best to use MWB settings to delete anything it has in quarantine before removing the MWB app. It's my practice to remove anything MWB finds rather than keeping it in quarantine.


If MWB doesn't find anything, try to develop some timeline and pattern of when you see the popup. Is it at a certain time of day or interval or when you open a certain app. If you have time to read the command it would be helpful. If the popup follows a certain pattern it can make finding its cause easier.

Check Task Scheduler to see what time and interval a task is scheduled to run and compare that to when you see the popups.. Check your startup apps (task manager>startup apps and disable any 3rd party apps you do not want running in the background at startup)
If Autoruns (as was suggested)or task scheduler doesn't get to the bottom of it, the only other thing I have to suggest is using clean boot which uses the process of elimination . This can be slow and arduous since the issue is happening so infrequently.
I checked with MWB. . Nothing unusual. I also disabled some things in the task scheduler. So we will see
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 24H2 v26100.3037
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2017
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    EVGA GeForce gtx 1660 Super
    Sound Card
    On Board
    Monitor(s) Displays
    2 X AOC 27" , PLANAR 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 6TB Toshiba HDD
    ~ 6TB HDD (Backup)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Nulea RT05 Wireless Ergonomic
    Mouse
    Nulea MD280 Wireless Vertical Mouse
    Internet Speed
    761Mbps (Download) / 692Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 11 Pro x64 24H2 v26100.2894
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Xeon E3-1246 v3 @ 3.50GHz
    Memory
    16GB
    Graphics card(s)
    AMD Radeon R7 350X
    Sound Card
    onBoard
    Monitor(s) Displays
    eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    250GB SSD
    Cooling
    Fan
    Mouse
    Nulea MD280
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    I use this computer for photo/video editing and to track severe weather
OneDrive does this when it updates
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
It may be a Microsoft check/update. I see this once in a while, especially after I just build a new VM and login for the first time. As @Steve C mentioned, it could be a OneDrive update. Also see this discussion.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
There are a lot of legitimate and non-legitimate reasons for a cmd process spawning. You can identify what is calling it with procmon. Download procmon from Microsoft's site and run it. Add a filter for 'Process Name' = 'cmd.exe' and just let it run. Once you capture some events, double click one of the events and look at the parent PID. Now open task manager and match up the PID. That should tell you where it's originating from. This may not work if the calling process is itself a child process of another process.
 

My Computer

System One

  • OS
    Windows 11
The console flashes could be PowerShell scripts. It's hard to tell when they come and go so quick.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
You can add multiple process name filters
'cmd.exe'
'pwsh.exe'
'powershell.exe'
 

My Computer

System One

  • OS
    Windows 11
Look in Task Scheduler as @glasskuter suggests - it is probably some app just checking for an update. In my experience many can be tracked down here.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
There’s a handy process start and stop filter for ProcMon on my post here:

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Thanks guys.. I'll give ProcMon a shot. . . So far, I haven't had any flashes today. I know it's not OneDrive. I don't have it on my PC.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 24H2 v26100.3037
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2017
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    EVGA GeForce gtx 1660 Super
    Sound Card
    On Board
    Monitor(s) Displays
    2 X AOC 27" , PLANAR 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 6TB Toshiba HDD
    ~ 6TB HDD (Backup)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Nulea RT05 Wireless Ergonomic
    Mouse
    Nulea MD280 Wireless Vertical Mouse
    Internet Speed
    761Mbps (Download) / 692Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 11 Pro x64 24H2 v26100.2894
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Xeon E3-1246 v3 @ 3.50GHz
    Memory
    16GB
    Graphics card(s)
    AMD Radeon R7 350X
    Sound Card
    onBoard
    Monitor(s) Displays
    eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    250GB SSD
    Cooling
    Fan
    Mouse
    Nulea MD280
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    I use this computer for photo/video editing and to track severe weather
Thanks guys.. I'll give ProcMon a shot. . . So far, I haven't had any flashes today. I know it's not OneDrive. I don't have it on my PC.
And even if you did, I have never known it to flash up cmd screens lol.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
And even if you did, I have never known it to flash up cmd screens lol.
Whatever it was, i think it's gone now. I disabled and deleted a few things in the Task Scheduler. Would it be safe to delete and disable everything in the Task Scheduler? lol
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 24H2 v26100.3037
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2017
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    EVGA GeForce gtx 1660 Super
    Sound Card
    On Board
    Monitor(s) Displays
    2 X AOC 27" , PLANAR 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 6TB Toshiba HDD
    ~ 6TB HDD (Backup)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Nulea RT05 Wireless Ergonomic
    Mouse
    Nulea MD280 Wireless Vertical Mouse
    Internet Speed
    761Mbps (Download) / 692Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 11 Pro x64 24H2 v26100.2894
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Xeon E3-1246 v3 @ 3.50GHz
    Memory
    16GB
    Graphics card(s)
    AMD Radeon R7 350X
    Sound Card
    onBoard
    Monitor(s) Displays
    eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    250GB SSD
    Cooling
    Fan
    Mouse
    Nulea MD280
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    I use this computer for photo/video editing and to track severe weather
Would it be safe to delete and disable everything in the Task Scheduler? lol

If you like re-installing Windows, yes.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
I'm sure it's PowerShell. It happens to me on EVERY W11 install I have. It's a window with a blue backdrop and it's so fast I can't click in it to see what it is. I've done most of the stuff, not all of it, mentioned above but to no resolve. The thing that annoys me most is it takes focus off whatever you're doing at that moment. i.e. If you were typing in Word it would stop you from finishing the current word you're typing until you click back in Word to regain focus.
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    AMD Phenom(tm) II X4 965 Processor 3.40 GHz
    Motherboard
    Gigabyte GA-770T USB3
    Memory
    12gb
    Graphics Card(s)
    Nvidia GTX950
    Sound Card
    Realtek 888
    Monitor(s) Displays
    Acer
    Screen Resolution
    1920x1080
    Hard Drives
    1TB SSD Vulcan Z
    Keyboard
    Logitech
    Internet Speed
    600
    Browser
    Firefox
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom