To exclude the files needed to support for MS-DOS and Windows 16-bit applications, you must modify the INITIAL.INF file, commenting out the routine that modifies the Registry key for MS-DOS and Windows 16-bit support.If the supporting files are excluded but this routine is not commented out, Setup will report an error. Lines should be commented out using the semicolon (;) as shown in the following example:
;vdmconfig =+
;    shell "subroutn.inf" PushBillboard STATUSDLG $(Billboard5)
;    Debug-Output "SETUP.INF: Configuring the DOS Subsystem."
;    ifstr(i) $(!STF_WIN31UPGRADE) == NO
;        shell "registry.inf" AppendToSystemPath "%SystemRoot%"
;    endif
;    read-syms ConfigSysAppend
;    read-syms AutoexecBatAppend
;    LibraryProcedure STATUS,$(!LIBHANDLE),VdmFixup $(AddOnConfig) $(AddOnBatch)
;    ifstr(i) $(STATUS) == ERROR
;        shell "subroutn.inf" PopBillboard
;        EndWait
;        read-syms NonFatalError2$(!STF_LANGUAGE)
;        shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) NONFATAL $(NonFatal)
;        StartWait
;    endif
;    ifstr(i) $(!STF_PLATFORM) == $(!PlatformID_Mips)
;        set wowfile = krnl286
;    else
;        set wowfile = krnl386
;    endif
;    shell "registry.inf" MakeWOWEntry $(wowfile)Next, comment out the following files from the TXTSETUP.SIF, INITIAL.INF and DOSNET.INF files so the files that support MS-DOS and Windows 16-bit applications will not be installed. If you are upgrading from an earlier version of Windows NT in which MS-DOS and Windows 16-bit applications were used, list these same files in the [Files.DeleteOnUpgrade] section of the TXTSETUP.SIF file. Lines in this section use the following format:
file, dir
where file is the filename and dir is the code number that is assigned (in the [WinntDirectories] section) to the directory in which the file is found.
| _DEFAULT.PIF | ANSI.SYS | APP850.FON | 
| APPEND.EXE | ATTRIB.EXE | AUTOEXEC.NT | 
| BIOS1.ROM | BIOS2.ROM | BLACK16.SCR | 
| CGA40850.FON | CGA40WOA.FON | CGA80850.FON | 
| CGA80WOA.FON | CHCP.COM | CHKDSK.EXE | 
| CMOS.RAM | COMM.DRV | COMMAND.COM | 
| COMMDLG.DLL1 | COMP.EXE | CONFIG.NT | 
| COUNTRY.SYS | DDEML.DLL | DEBUG.EXE | 
| DISKCOMP.COM | DISKCOPY.COM | DOSAPP.FON | 
| DOSKEY.EXE | DOSX.EXE | DRWATSON.EXE | 
| EDIT.COM | EDIT.HLP | EDLIN.EXE | 
| EGA.CPI | EGA40850.FON | EGA40WOA.FON | 
| EGA80850.FON | EGA80WOA.FON | EXE2BIN.EXE | 
| EXPAND.EXE | FASTOPEN.EXE | FC.EXE | 
| FIND.EXE | FINDSTR.EXE | FORCEDOS.EXE | 
| FORMAT.COM | GDI.EXE | GRAFTABL.COM | 
| GRAPHICS.COM | GRAPHICS.PRO | HELP.EXE | 
| HIMEM.SYS | KB16.COM | KEYB.COM | 
| KEYBOARD.DRV | KEYBOARD.SYS | KRNL386.EXE | 
| LABEL.EXE | LANMAN.DRV | LOADFIX.COM | 
| MAPI.DLL | MCIOLE16.DLL | MEM.EXE | 
| MMSYSTEM.DLL1 | MMTASK.TSK1 | MODE.COM | 
| MORE.COM | MOUSE.DRV | NTCMDS.HLP | 
| NTCMDS.IND | NTDOS.SYS | NTIO.SYS | 
| NTVDM.DLL | NTVDM.EXE | OLECLI.DLL | 
| OLESVR.DLL1 | PIFEDIT.EXE | QBASIC.EXE | 
| RECOVER.EXE | REDIR.EXE | REGEDIT.EXE | 
| REGEDIT.HLP | REMLINE.BAS | REPLACE.EXE | 
| RESTORE.EXE | SETUP16.INF | SETVER.EXE | 
| SHARE.EXE | SHELL.DLL1 | SORT.EXE | 
| SOUND.DRV | SUBST.EXE | SYSEDIT.EXE | 
| SYSTEM.DRV | SYSTEM.INI | TOOLHELP.DLL | 
| TREE.COM | V7VGA.ROM | VDMDBG.DLL | 
| VDMREDIR.DLL | VER.DLL1 | VGA.DRV | 
| WFWNET.DRV | WIN.COM | WIN.INI | 
| WIN87EM.DLL | WINFILE.INI | WINHELP.EXE | 
| WOW32.DLL | WOWDEB.EXE | WOWEXEC.EXE | 
| WRITE.EXE | XCOPY.EXE | 
1 These files are listed twice in the INITIAL.INF file. Be sure to remove both occurrences of each to avoid receiving an error message from Setup.