How To Identify What's Opening a Command Window?


steamship

Active member
Local time
4:49 AM
Posts
31
Location
Londonderry, Northern Ireland
OS
Windows 11
I'm currently only using the laptop for a couple of hours in the morning, and sometimes a hour in the evening, but occasionally a windows command window (blue background) pops up and disappears again. It's on the screen for a fraction of a second, and I've never managed to spot any text in the window or the window title.

Is there any way to figure out what is causing this? I've had a look in the Event Viewer, but just glancing through various things, there's a ton of information showing for events in the last minute.
 
Windows Build/Version
Windows 11 Pro 23H2 OS build 22631.3155

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Omen 16
    CPU
    AMD Ryzen 7 5800H
    Memory
    2 x 8GB Samsung 3200MHz
    Graphics Card(s)
    AMD Radeon RX 6600M
    Screen Resolution
    2560 x 1440
    Hard Drives
    WD Blue 1TB
    Micron 2300 512GB
    Browser
    Chrome
    Other Info
    Trackpad has never worked properly since day 1. The same with the new replacement one as well. 2/3 of left side becomes sluggish and then unresponsive and the left button also becomes unresponsive. Lots of people with problem but HP won't acknowledge or fix it.
Also to be on the safe side, run this shell command in Powershell as admin: Set-ExecutionPolicy RemoteSigned -Scope LocalMachine
 

My Computer

System One

  • OS
    Win11
In this video, i will show you how to use a powerful application like Autoruns to manage your Windows start up programs, processes and other entries.
 

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
A powershell window? Strange. What antivirus do you use? Run a scan to be safe.
Standard Windows 11 anti-virus. The normal quick scans that it runs shows nothing, but I'll plug the laptop in and run a full scan.
Also to be on the safe side, run this shell command in Powershell as admin: Set-ExecutionPolicy RemoteSigned -Scope LocalMachine
What exactly will this achieve? I've Googled the command, but what is the desired result? Do you think something remote is running, and by changing it to LocalMachine will stop it? If so, how do I still identify 'what' that process is?

BTW I went into a PowerShell window, and mine has a black background, the same as a Command Prompt window.
In this video, i will show you how to use a powerful application like Autoruns to manage your Windows start up programs, processes and other entries.
Thanks. I've just run it, and looked through the various tabs. The various drivers and processes all have names associated with the hardware and software I have e.g. HP, Mediatek, Nvidia, Adobe, Macrium, Google, Microsoft, etc.

I also looked in the Task Scheduler, and there are a few items there, but all familiar names: MSEdge update, GoogleUpdate, NvidiaCrashReport: and a couple of Omen custom events for Event IDs 9995 & 9997.

I'll also use the Snip tool to record the screen whilst it's running a full virus scan, in the hope that it might pop up.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Omen 16
    CPU
    AMD Ryzen 7 5800H
    Memory
    2 x 8GB Samsung 3200MHz
    Graphics Card(s)
    AMD Radeon RX 6600M
    Screen Resolution
    2560 x 1440
    Hard Drives
    WD Blue 1TB
    Micron 2300 512GB
    Browser
    Chrome
    Other Info
    Trackpad has never worked properly since day 1. The same with the new replacement one as well. 2/3 of left side becomes sluggish and then unresponsive and the left button also becomes unresponsive. Lots of people with problem but HP won't acknowledge or fix it.
Standard Windows 11 anti-virus. The normal quick scans that it runs shows nothing, but I'll plug the laptop in and run a full scan.

What exactly will this achieve? I've Googled the command, but what is the desired result? Do you think something remote is running, and by changing it to LocalMachine will stop it? If so, how do I still identify 'what' that process is?

BTW I went into a PowerShell window, and mine has a black background, the same as a Command Prompt window.

Thanks. I've just run it, and looked through the various tabs. The various drivers and processes all have names associated with the hardware and software I have e.g. HP, Mediatek, Nvidia, Adobe, Macrium, Google, Microsoft, etc.

I also looked in the Task Scheduler, and there are a few items there, but all familiar names: MSEdge update, GoogleUpdate, NvidiaCrashReport: and a couple of Omen custom events for Event IDs 9995 & 9997.

I'll also use the Snip tool to record the screen whilst it's running a full virus scan, in the hope that it might pop up.
My command just sets up the ExecutionPolicy of powershell scripts. You will be able to run scripts you write locally, and scripts that you didn't write yourself but only if they are signed by a trusted publisher. So random scripts can't just run on your systems.
 

My Computer

System One

  • OS
    Win11
With the Snip tool running, I ran a full scan whilst plugged into the mains, and left the laptop for 30 minutes. In typical fashion, the issue didn't surface. If I remember, I'll start the Snip tool first thing tomorrow and use the laptop as normal, and hope it appears.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Omen 16
    CPU
    AMD Ryzen 7 5800H
    Memory
    2 x 8GB Samsung 3200MHz
    Graphics Card(s)
    AMD Radeon RX 6600M
    Screen Resolution
    2560 x 1440
    Hard Drives
    WD Blue 1TB
    Micron 2300 512GB
    Browser
    Chrome
    Other Info
    Trackpad has never worked properly since day 1. The same with the new replacement one as well. 2/3 of left side becomes sluggish and then unresponsive and the left button also becomes unresponsive. Lots of people with problem but HP won't acknowledge or fix it.
I have seen that on my Win11 HP laptop too. Looking forward to an answer
 

My Computer

System One

  • OS
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion x360 Convertible 15-er0xxx
I went through a similar trial - the pop-up was occurring on 10 minute intervals - and there is quite a long thread here on that instance, in which several members contributed their diligence. Sort version; after a lot of effort there was no clear resolution. I subsequently removed and reinstalled my screen saver and the issue mostly disappeared. Every now and again it still happens though, apparently at random, sometimes many days apart.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 7 7700X
    Motherboard
    Gigabyte B-650 Aorus Elite AX
    Memory
    32GB DDR5 G.Skill
    Graphics Card(s)
    RTX 4060
    Sound Card
    On-board
    Monitor(s) Displays
    Dell U2518 Dell U3223
    Screen Resolution
    3840x2160
    Hard Drives
    1TB M.2 AData, Samsung 860 EVO, WD 5000AADS, WD10EZEX
    PSU
    EVGA 850
    Cooling
    AK400
    Keyboard
    Logi MXKeys
    Mouse
    Logi MX Master 3
    Internet Speed
    Sad. Just sad.
    Browser
    Firefox, Vivaldi, Brave
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
I went through a similar trial - the pop-up was occurring on 10 minute intervals - and there is quite a long thread here on that instance, in which several members contributed their diligence. Sort version; after a lot of effort there was no clear resolution. I subsequently removed and reinstalled my screen saver and the issue mostly disappeared. Every now and again it still happens though, apparently at random, sometimes many days apart.
I tried searching for similar instances before posting, but couldn't find anything. Would you have a link to that particular thread?

I don't have any screensaver set, so I can eliminate that.
OneDrive does this when it updates
I did see a couple of entries in the Task Scheduler for OneDrive, and since I don't use it, I might try disabling them.

In true fashion, I forgot to start the Snip tool to record the screen, so will have to try again.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Omen 16
    CPU
    AMD Ryzen 7 5800H
    Memory
    2 x 8GB Samsung 3200MHz
    Graphics Card(s)
    AMD Radeon RX 6600M
    Screen Resolution
    2560 x 1440
    Hard Drives
    WD Blue 1TB
    Micron 2300 512GB
    Browser
    Chrome
    Other Info
    Trackpad has never worked properly since day 1. The same with the new replacement one as well. 2/3 of left side becomes sluggish and then unresponsive and the left button also becomes unresponsive. Lots of people with problem but HP won't acknowledge or fix it.
I tried searching for similar instances before posting, but couldn't find anything. Would you have a link to that particular thread?
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 7 7700X
    Motherboard
    Gigabyte B-650 Aorus Elite AX
    Memory
    32GB DDR5 G.Skill
    Graphics Card(s)
    RTX 4060
    Sound Card
    On-board
    Monitor(s) Displays
    Dell U2518 Dell U3223
    Screen Resolution
    3840x2160
    Hard Drives
    1TB M.2 AData, Samsung 860 EVO, WD 5000AADS, WD10EZEX
    PSU
    EVGA 850
    Cooling
    AK400
    Keyboard
    Logi MXKeys
    Mouse
    Logi MX Master 3
    Internet Speed
    Sad. Just sad.
    Browser
    Firefox, Vivaldi, Brave
I see it happen at times, usually 3 flashes, but have never seen it as blue, always black which is how, by default, Command Prompt and PowerShell/Terminal open unless custom settings have been applied.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
I'm currently only using the laptop for a couple of hours in the morning, and sometimes a hour in the evening, but occasionally a windows command window (blue background) pops up and disappears again. It's on the screen for a fraction of a second, and I've never managed to spot any text in the window or the window title.
I have seen that on my Win11 HP laptop too. Looking forward to an answer
My HP Laptop is powered on 24 hours a day and is opened early in the morning. Almost every day at 8:00 am a command window flashes for a second. There have been some occasions when the PC was turned off that the command window appears some time after it was booted.

I originally thought that it may be iTunes but suspect that it is OneDrive which I use. There is not scheduled task for any such event. As this has been happening for over a year with no apparent consequence I just ignore it, but would like to know/stop it.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP / Spectre x360 Convertible 13
    CPU
    i5-8250U
    Motherboard
    83B9 56.50
    Memory
    8GB
    Graphics Card(s)
    Intel(R) UHD Graphics 620
    Sound Card
    Realtek High Definition Audio(SST)
    Screen Resolution
    1920 x 1080
    Hard Drives
    Toshiba 256GB SSD
    Internet Speed
    500Mbps
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender
My HP Laptop is powered on 24 hours a day and is opened early in the morning. Almost every day at 8:00 am a command window flashes for a second. There have been some occasions when the PC was turned off that the command window appears some time after it was booted.

I originally thought that it may be iTunes but suspect that it is OneDrive which I use. There is not scheduled task for any such event. As this has been happening for over a year with no apparent consequence I just ignore it, but would like to know/stop it.
As you say 'no apparent consequence', but it would be nice to know what is causing it, just in case.

I used the laptop for nearly three hours straight yesterday, with the Snip tool recording everything. Never noticed a pop-up whilst working, and nothing appeared in the recorded clips. Will try again.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Omen 16
    CPU
    AMD Ryzen 7 5800H
    Memory
    2 x 8GB Samsung 3200MHz
    Graphics Card(s)
    AMD Radeon RX 6600M
    Screen Resolution
    2560 x 1440
    Hard Drives
    WD Blue 1TB
    Micron 2300 512GB
    Browser
    Chrome
    Other Info
    Trackpad has never worked properly since day 1. The same with the new replacement one as well. 2/3 of left side becomes sluggish and then unresponsive and the left button also becomes unresponsive. Lots of people with problem but HP won't acknowledge or fix it.

Latest Support Threads

Back
Top Bottom