• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2702
  • Last Modified:

Command Prompt window opens ans closes immediately, i think its a virus


  Few days back my windows was running smoothly. I then received an email , in which there was a attached zip file.
  The email body contained the message that your password has been changed successfully.I tried opening the zip file attached and there was a password.scr file in it. I think i clicked it as far as i can remember.So as a result now when i try
to open command prompt the windows opens for a second and closes.I have tried running it from start->run->cmd as well but no use. Also i have tried it running from start->accessories as wel but same problem.
 Same is the problem with task manager ,regedit
and msconfig. Also my firewall was automatically disabled. I tried going to macafee website to find a solution and downlaoded the stinger application. Tried running it and it showed me that im infected with Qhost.apd trojan and it repiared the file as well. But i have ran the scan like 10 times every time it shows me and repairs it but the problem still persist. I have downlaoded Avg, Microsoft windows Beta Defender and other Anitviruses as well but no use.
Please help with this as anyone can take advantage of it as im not firewall protected at the moment and cant even open the anitvirus that was installed originally in my machine due to some reason that i dont know. The antivirus is Sygate that i was running but it appears to be disabled now.

Please help with this asap and get the 500 points you deserve if you can find a soultion for it.

1 Solution
I suggest two things:

Download and run Ewido from: http://www.ewido.net/en/
and see if it will remove the problem.

If it does not (or even if it does), download and run HijackThis from http://www.hijackthis.de/
Post the resulting log back to that same web site.
Click on the "Analyze" button, and on the next page click on "Save Analysis"
Post the address of the final saved page here
(don't post the entire log here)

That will help us narrow it down and see what might still be ailing your system.
You have infected yourself with a virus.
First, disable system restore to delete protected files.
Run some scans. Bitdefender is good:


Run ewido in safe mode;
Delete all temp. files and cookies.
Install a new firewall. Zonealarm is good and it is free:


Google the name of your virus and see if anyone has worked out a removal strategy. There is a removal proceedure here:


It doesn't look too complicated.

Good luck!
check the \shell\open\ registry keys...

HKLM, Software\CLASSES\comfile\shell\open\command

right click default go to modify
make sure the default key is set to...

 "%1" %*

copy it exactly!
make sure also that the type is a REG_SZ

you may also want to check the following keys:

HKLM, Software\CLASSES\batfile\shell\open\command
HKLM, Software\CLASSES\comfile\shell\open\command
HKLM, Software\CLASSES\exefile\shell\open\command
HKLM, Software\CLASSES\piffile\shell\open\command
HKLM, Software\CLASSES\scrfile\shell\open\command

if you can't open the registry...lol...post again and I will show you what to do

you can remote the registry from another machine if its 2000 or better

hope this helps!
ammartahir1978Author Commented:
cheers guys

r k solution was the one that helped me to remove the virus using "hijack this".
Pc was infected with  W32/Mytob virus .

thans again for all your help it took me 3 days of nonstop pain to get rid of this issue
Thanks, and glad things are working better.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now