my-server
← Wiki Redirected from .sys

Windows System File

<code>.sys</code> is a filename extension used in MS-DOS applications and Microsoft Windows operating systems. They are system files that contain device drivers or hardware configurations for the system.

Most DOS <code>.sys</code> files are real mode device drivers. Certain files using this extension are not, however:

  • <code>MSDOS.SYS</code> and IO.SYS<code>IO.SYS</code> are core operating system files in MS-DOS and Windows 9x.
  • <code>CONFIG.SYS</code> is a text file that contains various configuration options and specifies what device drivers will be loaded.
  • <code>COUNTRY.SYS</code> is a binary database containing country and codepage related information for use with the <code>CONFIG.SYS</code> COUNTRY directive and the NLSFUNC driver.
  • <code>KEYBOARD.SYS</code> is a binary database containing keyboard layout related information including short P-code sequences to be executed by an interpreter inside the KEYB keyboard driver.

System files are most commonly found within the Windows directory of a Windows installation. In particular, many SYS files are stored in the Windows\winsxs directory in later versions of Windows.

File location

In Windows Vista and its successors, the .sys files are mainly found under the following paths:

<code>C:\Windows\system32\drivers</code>
<code>C:\Windows\WinSxS</code>

In MS-DOS, the file named MSDOS.SYS is used to copy the system files from one drive to another, allowing the second drive to be bootable. MSDOS.SYS 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.

See also

References