WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

cmd.exe repeats when typed

 
   Home -> Windows -> General Discussion RSS
Next:  How can I stop Windows Moviemaker trying to open ..  
Author Message
ChapBell

External


Since: May 22, 2009
Posts: 3



(Msg. 1) Posted: Fri May 22, 2009 8:45 pm
Post subject: cmd.exe repeats when typed
Archived from groups: microsoft>public>windowsxp>general (more info?)

HELP! when I go to run cmd.exe the window opens and then the command runs and
repeats 120 times as if I've typed it repeatedly. At the top of the window it
shows the command C:\Windows\System32\cmd.exe - C:\Windows\System32\cmd.exe -
(repeated).

Inside the window it shows: <C> Copyright 1985-2001 Microsoft Corp.
Microsoft Windows XP [Version
5.1.2600]
and this is what repeats 120 times.

I have run Malware and NOrton Anti-Virus and neither shows any malware or
virus or spyware.

If I go to the file and click on it, the same thing happens.

Can anyone help?
Back to top
Login to vote
Jose

External


Since: Jun 28, 2008
Posts: 138



(Msg. 2) Posted: Sat May 23, 2009 8:29 am
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On May 22, 11:45 pm, ChapBell <ChapB....DeleteThis@discussions.microsoft.com>
wrote:
> HELP! when I go to run cmd.exe the window opens and then the command runs and
> repeats 120 times as if I've typed it repeatedly. At the top of the window it
> shows the command C:\Windows\System32\cmd.exe - C:\Windows\System32\cmd.exe -
> (repeated).
>
> Inside the window it shows: <C> Copyright 1985-2001 Microsoft Corp.
>                                          Microsoft Windows XP [Version
> 5.1.2600]
> and this is what repeats 120 times.
>
> I have run Malware and NOrton Anti-Virus and neither shows any malware or
> virus or spyware.
>
> If I go to the file and click on it, the same thing happens.
>
> Can anyone help?

Has it ever worked properly?

First, run these detection programs. One program won't detect
everything so here are some good/better ones:

Download, install, update and do a full scan with these three free
malware detection programs:

Malwarebytes (MBAM): http://malwarebytes.org/
SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
AVG (AVG): http://free.avg.com/

After all the scanning, if you still have a problem:

Notice we are adding the .exe part...

What happens if you try to Start, Run, cmd.exe <enter>

What happens if you try Start, Run, c:\windows\system32\cmd.exe
<enter>

Jose
Back to top
Login to vote
Tim Meddick

External


Since: Jan 30, 2009
Posts: 104



(Msg. 3) Posted: Sat May 23, 2009 11:05 am
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you type:

cmd /d

....into the "Run" box on the 'Start Menu', does it still show the same
symptoms

==


Cheers, Tim Meddick, Peckham, London. Smile


"ChapBell" <ChapBell.DeleteThis@discussions.microsoft.com> wrote in message
news:8BFFE274-049D-438E-86FB-628B7A139460@microsoft.com...
> HELP! when I go to run cmd.exe the window opens and then the command runs
> and
> repeats 120 times as if I've typed it repeatedly. At the top of the window
> it
> shows the command C:\Windows\System32\cmd.exe -
> C:\Windows\System32\cmd.exe -
> (repeated).
>
> Inside the window it shows: <C> Copyright 1985-2001 Microsoft Corp.
> Microsoft Windows XP [Version
> 5.1.2600]
> and this is what repeats 120 times.
>
> I have run Malware and NOrton Anti-Virus and neither shows any malware or
> virus or spyware.
>
> If I go to the file and click on it, the same thing happens.
>
> Can anyone help?
Back to top
Login to vote
kkocks

External


Since: Jul 23, 2009
Posts: 1



(Msg. 4) Posted: Thu Jul 23, 2009 4:04 pm
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Does your registry key

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun have
something in it?

Mine is blank. I had a coworker with a similiar problem and he had
c:\Windows\System32\cmd.exe
Back to top
Login to vote
ChapBell

External


Since: May 22, 2009
Posts: 3



(Msg. 5) Posted: Fri Jul 24, 2009 8:59 am
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

YES, that was the line (See reply to TIM MEDDICk below). That was the line
that had it running 256 times, I believe...and I changed or deleted...its
been so long I don't remember which...but now it works.

Thanks.

"kkocks" wrote:

>
> Does your registry key
>
> HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun have
> something in it?
>
> Mine is blank. I had a coworker with a similiar problem and he had
> c:\Windows\System32\cmd.exe
>
>
>
Back to top
Login to vote
Tim Meddick

External


Since: Jan 30, 2009
Posts: 104



(Msg. 6) Posted: Fri Jul 24, 2009 12:05 pm
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If the OP tested starting 'cmd.exe' from the "Run" box with the '/d'
switch thus :

cmd.exe /d

....this would disable any 'AutoRun' (registry) commands PLUS would also
prevent commands written into AUTOEXEC.NT and CONFIG.NT from executing.

This was the advice I gave in my first post in this thread.

If the symptoms STILL persisted while starting 'cmd.exe' in this way,
then the problem must be elsewhere.

Since the OP has not re-posted, we will probably never know anyway...


==

Cheers, Tim Meddick, Peckham, London. Smile




"\" <kkocks.3vtwxm.DeleteThis@no.email.invalid> wrote in message
news:kkocks.3vtwxm@no.email.invalid...
>
> Does your registry key
>
> HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun have
> something in it?
>
> Mine is blank. I had a coworker with a similiar problem and he had
> c:\Windows\System32\cmd.exe
>
>
Back to top
Login to vote
ChapBell

External


Since: May 22, 2009
Posts: 3



(Msg. 7) Posted: Fri Jul 24, 2009 12:05 pm
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry,
For some reason i wasn't getting any emails that anyone had responded. I
didn't try the "cmd.exe /d" because I didn't know to.

But I did trace it. In the regedit I discovered there was a line in it on my
laptop that told the command to repeat 256 times.

I'm sorry to say, i don't remember where it was. I only found it by taking a
computer without the problem and searching its registry and when I found that
the two entries weren't the same I changed the one on the corrupt machine to
be like the good machine and I've had no problems since.

I'm guessing a spyware or malware did that, but why it wasn't caught is
beyond me. But, thankfully it is fixed now. Sorry for the length in reply and
thanks for those who tried to help.

"Tim Meddick" wrote:

> If the OP tested starting 'cmd.exe' from the "Run" box with the '/d'
> switch thus :
>
> cmd.exe /d
>
> ....this would disable any 'AutoRun' (registry) commands PLUS would also
> prevent commands written into AUTOEXEC.NT and CONFIG.NT from executing.
>
> This was the advice I gave in my first post in this thread.
>
> If the symptoms STILL persisted while starting 'cmd.exe' in this way,
> then the problem must be elsewhere.
>
> Since the OP has not re-posted, we will probably never know anyway...
>
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. Smile
>
>
>
>
> "\" <kkocks.3vtwxm.RemoveThis@no.email.invalid> wrote in message
> news:kkocks.3vtwxm@no.email.invalid...
> >
> > Does your registry key
> >
> > HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun have
> > something in it?
> >
> > Mine is blank. I had a coworker with a similiar problem and he had
> > c:\Windows\System32\cmd.exe
> >
> >
>
>
>
Back to top
Login to vote
Tim Meddick

External


Since: Jan 30, 2009
Posts: 104



(Msg. 8) Posted: Fri Jul 24, 2009 1:05 pm
Post subject: Re: cmd.exe repeats when typed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chap,
I'm sincerely glad that you have solved the problem.

Replies to posts appear in the group you made the original post to in
the first place - and NOT to your "inbox" (unless the reply *was* sent
to you directly which is not encouraged).

Thusly, you have to keep checking your post to see if any replies have
joined to it making it into a "thread".

I would just like to add to the information pointed out by "kkocks"
(totally unfortunate name) that in addition to the key :

[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
"AutoRun"=


....there is a similar key in the current user section :


[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"AutoRun"=


....finally, there are two files in your "C:\WINDOWS\system32" folder,
called :

AUTOEXEC.NT
CONFIG.NT

....that function in a similar way to the Autoexec.bat & Config.sys files
of the old days of DOS.

Any commands typed into the first of these (AUTOEXEC.NT) will be
executed automatically every time 'cmd.exe' is started. The other file
(CONFIG.NT) is slightly different as only commands specific it are read,
such as the one to load a 'device driver' e.g. :

device=c:\windows\system32\ansi.sys

....would load the driver 'ansi.sys'

It is useful to know what configures the 'Command Prompt', to both save
time by knowing where to place commands that you will need to run in
every 'cmd.exe' window, and to track down problems like the one you have
had recently.

==

Cheers, Tim Meddick, Peckham, London. Smile




"ChapBell" <ChapBell DeleteThis @discussions.microsoft.com> wrote in message
news:F4F1247E-5AB3-4265-AFD0-0762571F7D39@microsoft.com...
> YES, that was the line (See reply to TIM MEDDICk below). That was the
> line
> that had it running 256 times, I believe...and I changed or
> deleted...its
> been so long I don't remember which...but now it works.
>
> Thanks.
>
> "kkocks" wrote:
>
>>
>> Does your registry key
>>
>> HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun have
>> something in it?
>>
>> Mine is blank. I had a coworker with a similiar problem and he had
>> c:\Windows\System32\cmd.exe
>>
>>
>>
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows -> General Discussion All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
  Windows XP
 Windows Vista
 Windows Other
 Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support