Legal Information
PC Knowledge Base - Windows 9x System Files Contents of the Windows Msdos.sys File

Good Knowledge Is Good2Use

The Windows Setup program creates a file called Msdos.sys in the root folder and sets the file with the Read-Only, System, and Hidden attributes. Unlike the Msdos.sys file in MS-DOS, this file is a text file. It contains a [Paths] section that lists the locations for other Windows files (such as the registry) and an [Options] section that you can use to personalize the boot process.

The [Paths] section can contain the following settings:

The [Options] section can contain the following settings. You must manually insert these settings if you want to use them:

Extra Characters in the Msdos.sys File

The Msdos.sys file also contains a section that contains seemingly useless information. This information is necessary to support programs that expect the Msdos.sys file to be at least 1,024 bytes in length. For example, if an antivirus program detects that the Msdos.sys file is less than 1,024 bytes, it may assume that the Msdos.sys file is infected with a virus. If you delete the Msdos.sys file your computer will not start.

The following statement, followed by a series of "X"s, appears in the Msdos.sys file:

;The following lines are required for compatibility with other programs.
;Do not remove them (Msdos.sys needs to be > 1024 bytes).
Because each line begins with a semicolon (;), the lines are not read by Windows.

How to Edit the Msdos.sys File

If you want to change any of the values in the Msdos.sys file, follow these steps to edit the file:

  1. Click Start, point to Find, and then click Files Or Folders.
  2. In the Named box, type msdos.sys. In the Look In box, click your boot drive (usually drive C, or drive H if drive C is compressed). Click the Find Now button.
  3. Right-click the Msdos.sys file, and then click Properties.
  4. Click to clear the Read-Only and Hidden check boxes to remove these attributes from the Msdos.sys file, and then click OK.
  5. Right-click the Msdos.sys file, and then click Open With. In the Choose the program you want to use box, click WordPad, and then click OK.
  6. Make the changes you want to the Msdos.sys file. When you are done, save the file as a text document, and then quit WordPad.
  7. Right-click the Msdos.sys file, and then click Properties.
  8. Select the Read-Only and Hidden check boxes to set the attributes for the file, and then click OK. Close the Find window.
  9. Restart Windows.
For additional information about how to determine in which folder Windows is installed, click the article number below to view the article in the Microsoft Knowledge Base: 305792 How to Determine Which Folder Windows Is Installed In

The information in this article applies to:

Microsoft Windows Millennium Edition

Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE