Results 1 to 13 of 13

Thread: ntvdm.exe has encountered an illegal instruction

  1. #1
    Join Date
    Jun 2010
    Posts
    9

    ntvdm.exe has encountered an illegal instruction

    when i try to run old games such as dave i get this error..

    screenshot


    i cannot open my .bat c++ compiled programs either....when i try to click on the .bat file a black cmd window appears and goes...i ran a pc scan using eset antivirius 4 and there was no virus,i ran a scan using malware bytes antimalware no virus,i cleaned my registry using registry booster still no use.i have 32bit windows xp.plz help?

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: ntvdm.exe has encountered an illegal instruction

    This might seems to have the issue of the compatibility of the Old game with the new OS. First let us know about the system configuration which will help us to find the solution for you in better way. Also go to the .exe file of the game and then right click on it. Now select the compatibility and fix it to the older OS. Hope this will resolve your issue.

  3. #3
    Join Date
    May 2009
    Posts
    1,611

    Re: ntvdm.exe has encountered an illegal instruction

    There might potentially be a large number of stuffs causing this issue. The trouble may also not be only one of its kind to your system, and is possibly a problem that can be simulated on other systems through your same chipset, motherboard, CPU, graphics card, etc..

    For more info on the same, just go through these articles:
    NTVDM CPU has encountered an illegal instruction
    http://support.microsoft.com/?kbid=310560

  4. #4
    Join Date
    Jun 2010
    Posts
    9

    Re: ntvdm.exe has encountered an illegal instruction

    Quote Originally Posted by Devasis View Post
    This might seems to have the issue of the compatibility of the Old game with the new OS. First let us know about the system configuration which will help us to find the solution for you in better way. Also go to the .exe file of the game and then right click on it. Now select the compatibility and fix it to the older OS. Hope this will resolve your issue.
    i tried doing it but to no use..

  5. #5
    Join Date
    Dec 2007
    Posts
    2,291

    Re: ntvdm.exe has encountered an illegal instruction

    You have to Troubleshoot NTVDM Startup Errors in your pc:

    Check the Autoexec.nt and Config.nt for anything unusual or anything that can be commented out.
    Rename Autoexec.bat.
    Check for changes in Win.ini or System.ini, or replace by expanding the original files off of the installation media.
    Rename all other *.ini files if possible
    In the Config.nt file, allow only:
    Code:
    dos=high, umb
    device=%SystemRoot%\system32\himem.sys
    files=60
    shell=%SystemRoot%\system32\command.com /e:4096
    More information here.

  6. #6
    Join Date
    Nov 2009
    Posts
    687

    Re: ntvdm.exe has encountered an illegal instruction

    Process ntvdm.exe (Windows 16-bit Virtual Machine) is a Windows NT/2000/XP generic process to provide a 16-bit environment for old 16-bit applications. The NTVDM process is by no means a resident virus , a worm , a Trojan horse , a spyware or a AdWare . This is a critical system process which can not be stopped. There is tip for that. Open any folder click Tools > Folder Options > Click on the tab View. In advanced setting uncheck Hide extensions.

  7. #7
    Join Date
    Jun 2010
    Posts
    9

    Re: ntvdm.exe has encountered an illegal instruction

    my exentions are not hidden..i have already done that ago..so i can already see the .bat and .exe files.

  8. #8
    Join Date
    Dec 2007
    Posts
    1,736

    Re: ntvdm.exe has encountered an illegal instruction

    It might be a virus/spyware issue on your pc, so try to scan your pc with some good antivirus software. Try to Perform a Clean Boot in Windows XP:

    Step 1: Start the System Configuration Utility

    1. Click Start, click Run, type msconfig, and then click OK.
    2. The System Configuration Utility dialog box is displayed.


    Step 2: Configure selective startup options
    1. In the System Configuration Utility dialog box, click the General tab, and then click Selective Startup.
    2. Click to clear the Process SYSTEM.INI File check box.
    3. Click to clear the Process WIN.INI File check box.
    4. Click to clear the Load Startup Items check box. Verify that Load System Services and Use Original BOOT.INI are checked.
    5. Click the Services tab.
    6. Click to select the Hide All Microsoft Services check box.
    7. Click Disable All, and then click OK.
    8. When you are prompted, click Restart to restart the computer.


    More information here.

  9. #9
    Join Date
    Jun 2010
    Posts
    9

    Re: ntvdm.exe has encountered an illegal instruction

    Quote Originally Posted by james_911 View Post
    It might be a virus/spyware issue on your pc, so try to scan your pc with some good antivirus software. Try to Perform a Clean Boot in Windows XP:

    Step 1: Start the System Configuration Utility

    1. Click Start, click Run, type msconfig, and then click OK.
    2. The System Configuration Utility dialog box is displayed.


    Step 2: Configure selective startup options
    1. In the System Configuration Utility dialog box, click the General tab, and then click Selective Startup.
    2. Click to clear the Process SYSTEM.INI File check box.
    3. Click to clear the Process WIN.INI File check box.
    4. Click to clear the Load Startup Items check box. Verify that Load System Services and Use Original BOOT.INI are checked.
    5. Click the Services tab.
    6. Click to select the Hide All Microsoft Services check box.
    7. Click Disable All, and then click OK.
    8. When you are prompted, click Restart to restart the computer.


    More information here.
    i tried that but still the problem occurs

  10. #10
    Join Date
    Apr 2008
    Posts
    3,522

    Re: ntvdm.exe has encountered an illegal instruction

    Process ntvdm.exe (Windows 16-bit Virtual Machine) is a Windows XP generic process to provide a 16-bit environment for old 16-bit applications. The NTVDM process is by no means a resident virus , a worm , a Trojan horse , a spyware or a AdWare . This is a critical system process which can not be stopped. I think you might need to re-install windows.

  11. #11
    Join Date
    Jun 2010
    Posts
    9

    Re: ntvdm.exe has encountered an illegal instruction

    i downloaded ntvdm.exe and wowexec.exe from the net but it didnt helped.

  12. #12
    Join Date
    May 2008
    Posts
    4,085

    Re: ntvdm.exe has encountered an illegal instruction

    I suppose that the application or the file you have downloaded is not proper and hence this is the reason you are not able to work well or sort the thing. All you need to do get it downloaded form other site and then check out for the conclusion. I hope this may help.

  13. #13
    Join Date
    Jun 2010
    Posts
    9

    smile Re: ntvdm.exe has encountered an illegal instruction

    this question about the ntvdm error seemed to be unsolved even futile efforts.
    but here's what i did ..i didnt solved the problem but atleast i can continue working..i downloaded dosbox and i ran the oldgames from there and it worked perfectly...then for the c++ programs i went to run-cmd
    i pasted my c++ programs into the system32 folder and then i typed in the cmd the name of my program..and they started

Similar Threads

  1. Replies: 3
    Last Post: 12-10-2011, 08:04 PM
  2. NTVDM CPU Has Encountered an Illegal Instruction
    By keerthi kumar in forum Operating Systems
    Replies: 1
    Last Post: 30-08-2011, 02:48 PM
  3. NTVDM CPU has encountered an illegal instruction
    By Nadhe in forum Windows XP Support
    Replies: 4
    Last Post: 02-08-2010, 04:27 PM
  4. Replies: 5
    Last Post: 09-01-2010, 06:07 PM
  5. Error : 16 bit MS-DOS subsystem NTVDM CPU illegal instruction
    By angmar67 in forum Networking & Security
    Replies: 2
    Last Post: 15-06-2009, 01:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,625,619.29824 seconds with 17 queries