cmd.exe Window

T

tb

I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens
up for just a few seconds and then disappears. I would like to know
what causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what
launches this cmd.exe window I'd be curious to know too.
 
C

charlie

I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens
up for just a few seconds and then disappears. I would like to know
what causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what
launches this cmd.exe window I'd be curious to know too.
Look in C:\Windows\winsxs\ for folder(s) containing commandprompt in the
folder name to locate cmd.exe

Some apps load a resident portion using cmd.exe
 
D

Dave-UK

tb said:
I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens
up for just a few seconds and then disappears. I would like to know
what causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what
launches this cmd.exe window I'd be curious to know too.
Try running Autoruns to see what's opening at start up.
http://technet.microsoft.com/en-us/sysinternals/bb963902
To make the display a bit easier to read set the
'Hide Windows Entries' under options and rescan.
 
S

Seth

tb said:
I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens up
for just a few seconds and then disappears. I would like to know what
causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what launches
this cmd.exe window I'd be curious to know too.
If it was just cmd.exe then it would stay open without automatically
closing. it is being opened by some other startup function and closing
automatically when done.

you listed the path to a user StartUp folder. There is also the common (all
users) StartUp folder as well as 2 locations in the registry, HKLM for all
users and HKCU for the current user where an item can auto launch from.
 
G

G. Morgan

tb said:
I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens
up for just a few seconds and then disappears. I would like to know
what causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what
launches this cmd.exe window I'd be curious to know too.

It's a startup program that opens the window, executes command(s), then
closes when complete. Someone mentioned Autoruns, that is good. See
also Winpatrol, it has many tweaks for Windows and makes it dead-stupid
easy to spot and disable or remove startup programs. If you let it run
when Windows starts it will monitor the system for any *new* items that
an installer added and gives you an option to *not* auto-run it. It
catches stuff for me all the time that I don't want to run when Windows
boots, and the software author gave no option in the setup program for
me to choose that or not.

http://www.winpatrol.com/download.html
 
L

Leala

I am using Windows 7 Home Edition SP1, 64-bit.

Every time that I boot up Windows, a cmd.exe window automatically opens
up for just a few seconds and then disappears. I would like to know
what causes that...

These is no cmd.exe in
c:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup, so if anyone knows how to track down what
launches this cmd.exe window I'd be curious to know too.
Do you have an ATI/AMD graphic card?
If yes, that's what the cmd.exe is at startup.
 
B

BillW50

In Char Jackson typed:
I think you left out a few too many details.
Hi Leala! CMD window pops up for anything that won't run under a GUI
window. Things like some applications, scripts, batch files, etc. And
the default is to close the CMD window once whenever is running is done.

Also the Startup folder doesn't show all startups. As there are also
places in the Windows registry which will run things at bootup too. So
you are not seeing everything from the Startup folder alone. Also you
won't likely find CMD.EXE in any of these places. As Windows knows by
the file extension that CMD.EXE needs to be loaded to run whatever that
is.
 
L

Leala

I think you left out a few too many details.
I have an ATI Radeon HD 4600 Series card on my system and at startup the
cmd.exe box "which is called from the accelerated video" appears:

HKLM:Run AMD AVT Microsoft Corporation Cmd.exe /c start "AMD Accelerated
Video Transcoding device initialization" /min "C:\Program Files
(x86)\AMD AVT\bin\kdbsync.exe" aml

That's why I asked if the OP has an AMD/ATI card, if yes that's probably
what the OP is seeing.
 
W

...winston

Other possibilities..
If it didn't occur in the past and only started to appear recently it could
also be an incomplete Windows update installation (e.g. .NET update)

--
....winston
msft mvp mail

"BillW50" wrote in message
Hi Leala! CMD window pops up for anything that won't run under a GUI
window. Things like some applications, scripts, batch files, etc. And
the default is to close the CMD window once whenever is running is done.

Also the Startup folder doesn't show all startups. As there are also
places in the Windows registry which will run things at bootup too. So
you are not seeing everything from the Startup folder alone. Also you
won't likely find CMD.EXE in any of these places. As Windows knows by
the file extension that CMD.EXE needs to be loaded to run whatever that
is.
 
T

tb

Do you have an ATI/AMD graphic card?
If yes, that's what the cmd.exe is at startup.
Well I have a Radeon HD 4850 card, so you could be right...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top