cmd is not a valid win32 application

By krals
Jul 3, 2006
  1. Hi,
    everytime i go to start->Run and type cmd or regedit i get the error message:
    "cmd is not a valid win32 application".
    I have ALREADY scan my PC with Mcafee,online virus scanners (e.g Panda),download removal tools...but nothing AT ALL.

    but when i write cmd.exe the window open!!

    Can anybody knows whats that ?

    i am running WInXP with SP2.
  2. howard_hopkinso

    howard_hopkinso TS Rookie Posts: 24,177   +19

    Go and read this thread HERE.

    Then, post a HJT log into this thread.

    If it turns out you have a spyware/virus problem, I will move this thread to our security and the web forum.

    Regards Howard :)
  3. krals

    krals TS Rookie Topic Starter Posts: 25

    Well,i forgot to tell you that there is no or in my system32 directory.

    i will post the resaults from the scan log later.
  4. krals

    krals TS Rookie Topic Starter Posts: 25

    this is the report

    Attached Files:

  5. howard_hopkinso

    howard_hopkinso TS Rookie Posts: 24,177   +19

    You most deffinitely have a virus/spyware problem.

    When you ran Ewido, did you tell the programme to clean any infections it found? See HERE.

    Go HERE and follow the instructions exactly.

    Post a fresh HJT log into this thread, only after doing the above.

    Regards Howard :)
  6. krals

    krals TS Rookie Topic Starter Posts: 25


    here is the reports from Kasperky,hijackthis and ewido.

    Do u see anything strange?

    I have deleted everything what Kaspersky found.
  7. howard_hopkinso

    howard_hopkinso TS Rookie Posts: 24,177   +19

    You might want to copy and paste these instructions into a notepad file. Then you can have the file open in safe mode, so you can follow the instructions easier.

    Boot into safe mode. See how HERE.

    Turn off system restore.(XP/ME only) See how HERE.

    In Windows Explorer, turn on "Show all files and folders, including hidden and system". See how HERE.

    Open your task manager, by holding down the ctrl and alt keys and pressing the delete key.

    Click on the processes tab and end process for(if there).


    Close task manager.

    Run HJT with no other programmes open(except notepad).Click the scan button. Have HJT fix the following, by placing a tick in the little box next to(if there).

    R3 - Default URLSearchHook is missing

    O3 - Toolbar: (no name) - {E0E899AB-F487-11D5-8D29-0050BA6940E3} - (no file)

    O15 - Trusted Zone:
    O15 - Trusted Zone:

    O16 - DPF: {15AD6789-CDB4-47E1-A9DA-992EE8E6BAD6} -

    O16 - DPF: {31B7EB4E-8B4B-11D1-A789-00A0CC6651A8} (Cult3D ActiveX Player) -

    O16 - DPF: {49232000-16E4-426C-A231-62846947304B} -

    O16 - DPF: {DB893839-10F0-4AF9-92FA-B23528F530AF} -

    O16 - DPF: {E7DBFB6C-113A-47CF-B278-F5C6AF4DE1BD} -

    O16 - DPF: {F9F3920B-2F24-437A-A224-D49F0004A172} -

    O17 - HKLM\System\CCS\Services\Tcpip\..\{9194E7D4-4748-4D71-A5E9-8EEE1BEEA445}: NameServer =<Only fix this, if it doesn`t belong to your ISP.

    O18 - Protocol: msnim - {828030A1-22C1-4009-854F-8E305202313F} - "C:\PROGRA~1\MSNMES~1\msgrapp.dll" (file missing)

    Click on the fix checked button.

    Close HJT.

    Reboot into normal mode and turn system restore back on.

    Regards Howard :)
  8. krals

    krals TS Rookie Topic Starter Posts: 25

    ok i did what you told me, but still i get the same error again when i run cmd from STart->Run.

    is there anything else??
  9. Peddant

    Peddant TS Rookie Posts: 1,446

    I read that someone solved that problem by going to the system32 folder and renaming

    As an experiment,you could try that.
  10. krals

    krals TS Rookie Topic Starter Posts: 25

    Hey i found the solution.
    I unchecked ""Hide extensions for known files types" and also uncheck the "hide protected operating system files".
    Then i found the CMD.COM and and i just deleted!

    thats all.

    Is this ok?

    Now i can go to STart-Ran-cmd and the window opens properly.

    Is there anything else i have to check ?
  11. Peddant

    Peddant TS Rookie Posts: 1,446

    Deleting those files would had the same effect as renaming them.
    I didn`t want you to do anything to dramatic though.:)

    If regedit and cmd work still work,then no problem.

    Have you restarted the computer.? Sometimes deleted files creep back.
  12. krals

    krals TS Rookie Topic Starter Posts: 25

    Yes, i have restarted my PC since then.
    Everything seems to be normal now.

    Thanks a lot for the support :)

Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.