Command Prompt Window Keeps Flashing


  1. Posts : 21
    Windows 10 Build 1511
       #1

    Command Prompt Window Keeps Flashing


    I have two computers of mine that keep running "system32\schtasks.exe" in a command prompt. It will appear but go away in a fraction of a second; only by capturing the frame at the right time was I able to get a screenshot of it. It launches that exe file and says "ERROR: Access is denied" even though the account is an administrator. It comes up completely randomly and I haven't been able to find out what has been causing it to run. I've tried looking for it in event viewer but with the number of tasks it has and not knowing which logs to look for I tried narrowing it down to the minute it happened, but event viewer can't load the logs cause I'm giving it to many to show at once. Is their a way I can figure out why schtasks is being launched and be able to stop it?
      My Computer


  2. Posts : 42,982
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    This is what it is:
    Schtasks.exe (Windows)

    You can try a capture with Sysinternals procmon (free, just search and download it).

    As you're looking for a particular process, you can search the (extensive) capture quite easily. Hopefully it will give you a clue.

    If I run it from a normal command prompt (I'm logged in as admin) I get a long listing, the first part being this:
    Command Prompt Window Keeps Flashing-snap-2016-05-26-14.16.43.jpg

    - you could try that and see what happens.

    Shorter is
    schtasks.exe /?

    If it's not able to run, you may have some sort of permissions error or other corruption.

    event viewer can't load the logs cause I'm giving it to many to show at once
    - I'm surprised...
      My Computers


 

  Related Discussions
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 11:45.
Find Us




Windows 10 Forums