1. Joined : Aug 2015
    Posts : 38
    Windows 10 64bit
       20 Jul 2016 #1

    Way to find out what activated my cmd window?

    I had just logged on to the Internet today and was getting ready to start "surfing" and my CMD window came up and closed before I could read what was activating it. Any way to see a log history of CMD windows? I want to know what it was. I don't like this.... could be innocent but maybe not.
      My System SpecsSystem Spec

  2. Joined : Jun 2016
    Los Angeles
    Posts : 533
    Windows 10 Pro
       20 Jul 2016 #2

    When you saw this, Did you log onto your computer or did you open a Browser? If you opened a browser, then you may have addons or extensions that are starting. It could be malware.
    What Browser are you using? Check your addons, plugins, and extensions for unknown programs: How to check and configure your browser plugins - TechRepublic
      My System SpecsSystem Spec

  3. Joined : Jul 2016
    Posts : 22
    Win 8.1 & 10 Home 64x
       21 Jul 2016 #3

    Maybe event viewer has some options for you: http://www.isunshare.com/windows-10/6-ways-to-open-event-viewer-in-windows-10.html

    Don't know if this actually works for viewing "system generated CMDs" as well but the Doskey cmd can recall the history of manually entered commands: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/doskey.mspx?mfr=true

      My System SpecsSystem Spec

  4. Joined : Oct 2014
    Posts : 654
    Windows 7
       21 Jul 2016 #4

    Doskey will show the history of commands entered in the current cmd window. But it won't tell you anything of when or why that window was opened. Windows does not maintain any log of when cmd windows are opened. Event viewer may reveal the cause indirectly but that is a long shot. Typically cmd windows come and go without leaving any traces.
      My System SpecsSystem Spec

  5. Joined : Aug 2015
    Posts : 38
    Windows 10 64bit
       22 Jul 2016 #5

    I cant remember if I was bringing CyberFox up or not when this happened. I did take a photo shot of my Admin Event Viewer on the day it happened. I guess not really telling a whole lot. A "CMD history" addition to Windows would be nice, so when this happens we could go back and see what it was.
    Attached Thumbnails Attached Thumbnails log.PNG  
      My System SpecsSystem Spec

  6. Joined : Jul 2016
    Posts : 22
    Win 8.1 & 10 Home 64x
       22 Jul 2016 #6

    I could never make much sense of event viewer myself but then again- I never really needed it nor was I curious about it. As @LMiller7 ruled out the Doskey option I have no idea how to investigate further, other than indeed checking logs and digging into it.

    You could however also "tackle" this from another angle. I suppose your main concern is an infection. If you run a couple of Antivirus /Malware scans or use Hijackthis you can rule out that scenario.
      My System SpecsSystem Spec

  7. Joined : Oct 2014
    Posts : 654
    Windows 7
       22 Jul 2016 #7

    I doubt that looking in the event logs will tell you much. It would require a detailed analysis of many entries and there likely is nothing relevant there anyway.

    It is true that a log of cmd window openings could be useful. But how useful is questionable.

    Microsoft receives huge numbers of feature requests. Many, for various reasons, could not be reasonably implemented. Many others would be of little general value. But there are still large numbers of features that would be of genuine value and could be reasonably implemented. But the sheer number of them is a problem. Implement even a small fraction of them and Windows would become a monstrosity that nobody would want to use. As a result Microsoft must carefully consider the value of a proposed feature against the costs, and this is far more than just time and money. Many useful features just don't make the cut. Maybe they will appear in a later version, or not.

    If you are concerned about malware be aware that modern malware is very good at hiding it's tracks. It is fully capable of deleting log entries that might reveal it's presence, of preventing them from entering the log in the first place, or even falsifying it's contents. Considering the other things that malware does this isn't particularly difficult. Malware authors are experts on Windows internal workings, knowing far more than is in the official documentation.
      My System SpecsSystem Spec

  8. Joined : Aug 2015
    Posts : 129
    windows 10
       22 Jul 2016 #8

    This was something you shouldnt even bother about.. In order to check what it was .. go to task scheduler and check what was the scheduled task at that time.
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Active window changes unexpectedly when more than one window open.
Whenever I have more than one window open the active window seems to change unexpectedly without me even clicking in the window to activate it. For example I'll have one half of my screen streaming a Netflix video and the other half will be another...
General Support
Network see only after Ping test window 10 tablet to window 7 desktops
Hi All - Thankyou in Advance My issue is all the network can see each other but when u send or transfer to or from the tablet win 10 - It cannot send through wireless network even through you can tend to see all networks name on the network...
Network and Sharing
Solved Window 10 could not access Other Window 10 shared drives, - Solved
My Windows 10 Home upgraded from Windows 8.1 could not see other Windows 10 Machines on my home network from Windows Explorer. It could see Windows 7 machines but not Windows 10. I tried various suggestion from this forum and others with no success....
Network and Sharing
Unable to Find Minimized app in window 10 preview
I have updated my window 10 to window 10 preview 14316. after that if i minimize any window app like groove music or music and video, it won't show up in task bar, even if i check it with window + tab key or alt + tab it running but i cant find that...
General Support
Window becomes really slow when opening a save as window.
I am not sure how to explain this, Up until last week, whenever I download something and save as to a folder, it becomes really slow and my brower freezes for 1 minute ish. I checked my processor and ntoskrnl.exe is the program thats taking most of...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:13.
Find Us
Twitter Facebook Google+

Windows 10 Forums