MSDOS.SYS

System file (DOS kernel) in MS-DOS and configuration file in Windows 9x


title: "MSDOS.SYS" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["dos-kernel", "dos-files", "dos-configuration-files"] description: "System file (DOS kernel) in MS-DOS and configuration file in Windows 9x" topic_path: "general/dos-kernel" source: "https://en.wikipedia.org/wiki/MSDOS.SYS" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary System file (DOS kernel) in MS-DOS and configuration file in Windows 9x ::

**** is a system file in MS-DOS and Windows 9x operating systems. In versions of MS-DOS from 1.1x through 6.22, the file comprises the MS-DOS kernel and is responsible for file access and program management. MSDOS.SYS is loaded by the DOS BIOS [IO.SYS](io-sys) as part of the boot procedure. In some OEM versions of MS-DOS, the file is named MSDOS.COM.

In Windows 95 (MS-DOS 7.0) through Windows ME (MS-DOS 8.0), the DOS kernel has been combined with the DOS BIOS into a single file, IO.SYS (aka WINBOOT.SYS), while MSDOS.SYS became a plain text file containing boot configuration directives instead. If a WINBOOT.INI file exists, the system will retrieve these configuration directives from WINBOOT.INI rather than from MSDOS.SYS. When Windows 9x is installed over a preexisting DOS install, the Windows file may be temporarily named MSDOS.W40 for as long as Windows' dual-boot feature has booted the previous OS. Likewise, the MSDOS.SYS of the older system is named MSDOS.DOS for as long as Windows 9x is active.

Some DOS utilities expect the MSDOS.SYS file to have a minimal file size of at least 1 KB. This is the reason why a large dummy comment is typically found in the MSDOS.SYS configuration file since Windows 95.

By default, the file is located in the root directory of the bootable drive/partition (normally C:\ for hard disks) and has the hidden, read-only, and system file attributes set.

The MS-DOS derivative (DCP) by the former East-German VEB Robotron used a filename instead.

IBM PC DOS as well as DR-DOS since 5.0 (with the exception of DR-DOS 7.06) used the file [IBMDOS.COM](ibmdos-com) for the same purpose, whereas DR DOS 3.31 to 3.41 used [DRBDOS.SYS](drbdos-sys) instead. FreeDOS uses the file KERNEL.SYS for the same purpose.

Windows NT-based operating systems (NT 3.1–4, 2000, XP, and 2003) use the NTLDR file and NT 6+ operating systems (Vista, Server 2008, 2012, 2016, 2019, 2022, 2025, 7, 8, 8.1, 10 and 11) use bootmgr instead, as they have a different boot sequence.

Notes

References

References

  1. (1991). "Mastering DOS 5". [[Sybex]].
  2. (2013-10-24). "Windows Does Not Start Normally With Bootgui{{=}}1 in the Msdos.sys". [[Microsoft]].
  3. (2007-01-19). "Contents of the Windows MSDOS.SYS file". [[Microsoft]].
  4. (2004-12-21). "How to create an MSDOS.SYS file larger than 1024 bytes". [[Microsoft]].
  5. (2016-11-29). "Betriebssystem DCP".
  6. (1997-10-02). "Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM - README.TXT and BOOT.TXT - A short description of how OpenDOS is booted".
  7. (1996-09-24). "BootOpt Gives You Start-Up Control - A GUI interface makes it easier to set Windows 95's startup options".
  8. (1988-01-29). "Anwenderdokumentation - Anleitung für den Systemprogrammierer - MOS DCP 1700". [[VEB Robotron-Projekt Dresden]].

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

dos-kerneldos-filesdos-configuration-files