Microsoft KB Archive/324767

= Error message when you install or start an MS-DOS or 16-bit Windows-based program =

Article ID: 324767

Article Last Modified on 11/7/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q324767



SYMPTOMS
If you try to start or install an MS-DOS-based or a 16-bit Windows-based program on your Windows XP-based computer, you may receive an error message that is similar to one of the following:

16-bit MS-DOS Subsystem

C:\Winnt\System32\config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.

16-bit MS-DOS Subsystem

config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.

16-bit MS-DOS Subsystem

C:\Windows\System32\Autoexec.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.

Although you may be prompted to quit the program or ignore the error message, either selection makes the program quit.



CAUSE
This issue may occur if one or more of the following files are missing or damaged:
 * Config.nt
 * Autoexec.nt
 * Command.com



RESOLUTION
To resolve this issue, use one of the following methods.

Method 1
 Insert the CD into the CD drive or DVD drive. Click Start, and then click Run. In the Open box, type cmd, and then click OK. At the command prompt, type the following commands, pressing ENTER after each command:

expand :\i386\config.nt_ c:\windows\system32\config.nt

expand :\i386\autoexec.nt_ c:\windows\system32\autoexec.nt

expand :\i386\command.co_ c:\windows\system32\command.com

exit

 Start or install the program. If the issue is resolved, do not complete the remaining steps. If the issue is not resolved, go to the next step. Note: The Command.com file is not edited or created in the following process. Because of this, you may have to expand it from your Windows XP CD-ROM.

Start Notepad.</li>  In Notepad, type the following entries: <pre class="fixed_text">  dos=high, umb device=%SYSTEMROOT%\system32\himem.sys files=40 </li> On the File menu, click Save As.</li> In the File Name box, type Config.nt, and then click Save. Close the Config.nt file.</li> On the File menu, click New.</li>  In the new blank document, type the following entries: <pre class="fixed_text">@echo off lh %SYSTEMROOT%\system32\mscdexnt.exe lh %SYSTEMROOT%\system32\redir lh %SYSTEMROOT%\system32\dosx SET BLASTER=A220 I5 D1 P330 T3 </li> On the File menu, click Save As.</li> In the File Name box, type Autoexec.nt, and then click Save. Close the Autoexec.nt file.</li> Start Windows Explorer. Locate the Config.nt file, right-click the Config.nt file, and then click Copy.</li> Right-click the %SYSTEMROOT%\System32 folder, and then click Paste.</li> Locate the Autoexec.nt file, right-click the Autoexec.nt file, and then click Copy.</li> Right-click the %SYSTEMROOT%\System32 folder, and then click Paste.</li> Locate the Command.com file, right-click the expanded Command.com file, and then click Copy.</li> Right-click the %SYSTEMROOT%\System32 folder, and then click Paste. Restart your computer.</li></ol>

If the issue continues to occur, copy the Autoexec.nt and Config.nt files from the Repair folder in Windows to the System folder. To do so, follow these steps:
 * 1) Click Start, click Run, type c:\windows\repair, and then click OK.
 * 2) Right-click Autoexec.nt, and then click Copy.
 * 3) Click Start, click Run, type c:\windows\system32, and then click OK.
 * 4) Right-click anywhere in that folder, and then click Paste.
 * 5) Right-click the Autoexec.nt file that you just copied, and then click Properties.
 * 6) Click to select Read-Only, and then click OK.
 * 7) Repeat steps 1 through 6 to copy the Config.nt file.

Note You must enable Read-Only permissions or the files will be removed after you restart Windows.

Method 2

 * 1) Click Start, click Run, type C:\windows\repair, and then click OK.
 * 2) Right-click the Autoexec.nt file, and then click Copy.
 * 3) Click Start, click Run, type %windir%\system32, and then click OK.
 * 4) In the System32 folder, press Ctrl + V to paste the Autoexec.nt file in this folder.

<div class="moreinformation_section">

MORE INFORMATION
For more information about MS-DOS-based programs in Windows, click the following article numbers to view the articles in the Microsoft Knowledge Base:

305521 &quot;16-bit MS-DOS Subsystem&quot; error message when you run an MS-DOS or 16-Bit Windows program in Windows Server 2003 or Windows 2000 Server

314106 Troubleshooting MS-DOS-based programs in Windows XP

Keywords: kberrmsg kbprb KB324767

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.