Two command line windows open and close quickly at startup


  1. Posts : 241
    Windows 10 Pro
       #1

    Two command line windows open and close quickly at startup


    Hello,

    Is there a way to tell which program is responsible for two command line windows that open one after the other and then close one after the other quickly at startup?

    All I see is 2 black windows that open and close very fast but that's it

    What can it be?

    Thanks
      My Computer

  2. Samuria's Avatar
    Posts : 6,197
    windows 10
       #2

    It's OneDrive doing an update happens often
      My Computer

  3. Try3's Avatar
    Posts : 8,359
    Windows 10 Home x64 Version 21H1 Build 19043.1052
       #3

    Identifying all start-up items is awkward since they are not all in the same place:
    Start-up - All users "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
    Start-up - CurrentUser "%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
    Task manager, Startup tab
    Autoruns for Windows - MSDocs
    You can also try videoing your screen with, say, your phone. I have identified unknown items by doing this.
    - Having time displayed in seconds can do wonders for tracking things down. So change the clock display to show seconds Hide or Show Seconds on Taskbar Clock - TenForumsTutorials

    Best of luck,
    Denis
    Last edited by Try3; 09 Feb 2021 at 02:43.
      My Computer

  4. dekayd's Avatar
    Posts : 45
    Windows 10 Pro 64-bit Version 21H1 Build 19043.985
       #4

    Open Task Manager then Startup. Afterwards post a screenshot or Snip to post here so someone can verify which one is loading.
      My Computers

  5. Samuria's Avatar
    Posts : 6,197
    windows 10
       #5

    You won't find anything as OneDrive only runs when it's update first come deletes. All folders second make new folder and runs OneDrive set-up silent
      My Computer

  6. ricardobohner's Avatar
    Posts : 325
    Windows 10
       #6

    See if that helps, open a command prompt and type the following:

    wmic startup get caption,command,location /value |more
      My Computer

  7. Steve C's Avatar
    Posts : 6,520
    Windows 10 Pro 64 bit
       #7

    It's OneDrive. You can sometimes see the pending command using Autoruns.
      My Computers

  8. jimbo45's Avatar
    Posts : 10,742
    Windows / Linux : Arch Linux
       #8

    Steve C said:
    It's OneDrive. You can sometimes see the pending command using Autoruns.
    Hi there
    I'm not sure that it can be one drive at least not in every case-- I've uninstalled it on my system

    Is there some sort of "debugging" mode one can start windows in -- I think W7 and earlier had "Start in Safe mode and had a prompt for drivers so as things loaded you had to type y or n if you wanted the drivers / service to load / start.

    I'm sure people who develop Windows at Ms must have this type of tool available -- would be nice to let it out to wider public,

    Cheers
    jimbo
      My Computer

  9.   My Computer

  10. Samuria's Avatar
    Posts : 6,197
    windows 10
       #10

    It's OneDrive end of if you install winpatrol it will ask you if you want it to run and show the cmds
      My Computer


 

  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 18:00.
Find Us




Windows 10 Forums