PC Review


Reply
Thread Tools Rate Thread

cmd.exe repeats when typed

 
 
ChapBell
Guest
Posts: n/a
 
      23rd May 2009
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?
 
Reply With Quote
 
 
 
 
Tim Meddick
Guest
Posts: n/a
 
      23rd May 2009
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. :-)


"ChapBell" <(E-Mail Removed)> wrote in message
news:8BFFE274-049D-438E-86FB-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Jose
Guest
Posts: n/a
 
      23rd May 2009
On May 22, 11:45*pm, ChapBell <ChapB...@discussions.microsoft.com>
wrote:
> HELP! when I go to run cmd.exe the window opens and then the command runsand
> 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

 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      24th Jul 2009
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. :-)




"\" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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
>
>



 
Reply With Quote
 
ChapBell
Guest
Posts: n/a
 
      24th Jul 2009
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. :-)
>
>
>
>
> "\" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > 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
> >
> >

>
>
>

 
Reply With Quote
 
ChapBell
Guest
Posts: n/a
 
      24th Jul 2009

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
>
>
>

 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      24th Jul 2009
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. :-)




"ChapBell" <(E-Mail Removed)> wrote in message
news:F4F1247E-5AB3-4265-AFD0-(E-Mail Removed)...
> 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
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy and paste VBA repeats and repeats Marilyn Microsoft Excel Misc 4 7th Jun 2009 03:49 PM
what is meant by typed/untyped/strongly typed datasets? Rachana Microsoft VB .NET 4 14th Nov 2007 07:11 PM
How can I get rid of an email message that repeats and repeats =?Utf-8?B?TmFuYSBGYXk=?= Microsoft Outlook Discussion 0 31st Oct 2006 02:21 PM
How do I assign a typed DataTable to its typed DataSet? A.M-SG Microsoft ADO .NET 6 1st Feb 2006 06:13 AM
WXP Update Repeats...and Repeats.... Dick Moser Windows XP General 2 11th Jun 2004 06:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:44 PM.