.INF

INF File

Windows Setup Information File
Ask a question
QUICK ANSWER

An INF file is a plain-text Windows Setup Information script that tells Windows how to install a device driver - which files to copy, which registry keys to add, which hardware IDs to match. To read it, open it in Notepad or Notepad++. To install a driver, right-click and choose Install, or use Device Manager. Only install one from a trusted, signed source.

Developer: Microsoft Corporation Category: Settings Files MIME: text/plain
OPENS ON Windows macOS Linux
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Jul 29, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the INF file format?

.inf is a configuration file that stores data in plain text using an INI-style structure. .inf files contain information about a given driver or application - such as manufacturer name, installation method (full installation or update), and destination paths. They can also include various default settings and a list of files the installer needs to copy.

.inf files are read by the Windows Setup engine and contain installer directives rather than content useful to end users directly. The presence of an .inf is not mandatory for all installers, but it is the standard format for device-driver packages: Windows matches hardware IDs listed in the file to detected hardware, then copies binaries, configures services, and writes registry values. Drivers can be installed manually via right-click → Install or the pnputil command-line tool.

The format also powers autorun.inf, which once allowed CD and USB media to launch programs automatically. Starting with Windows 7, AutoRun from removable drives was disabled by default because malware had targeted autorun.inf as an infection vector. Driver .inf files remain fully supported in Windows 10 and 11, where modern packages follow DCH-compliant "Universal INF" rules.

Security & safety

RISK: MEDIUM

Reading an .inf in a text editor is safe - it doesn't run by being opened. The risk is on INSTALL: an INF can copy files, add registry keys and install a kernel-mode driver (.sys), so a malicious driver INF can compromise the system. Only install INFs from trusted, signed driver packages (modern 64-bit Windows enforces driver signing), and be wary of unsigned 'drivers' from random sites. autorun.inf historically auto-ran malware from USB/CD (Conficker), which is why Windows now ignores autorun.inf on most media - treat an unexpected autorun.inf on a USB stick as suspicious. The companion signed .cat catalog is what establishes a driver INF's trust.

Format details

in a nutshell
FULL NAMEWindows Setup Information Fileaka Windows installation script file, Setup Information file
DEVELOPERMicrosoft Corporationsince Windows 3.x / Windows 95 era (1990s); central to Plug-and-Play driver setup
MIME TYPEtext/plain
TYPEPlain-text INI-style configuration / installation script
This extension is also used by…
  • Autorun.inf (CD/USB autostart) - A small INF on removable media telling older Windows what to run/icon to show on insertion; heavily restricted since the Conficker era for security.
  • Generic application info / config file - Some programs reuse .inf for their own INI-style info or installation data, unrelated to Windows driver setup.

Programs that open INF files

Windows4 apps
Windows Notepad Built-in Double-clicking an .inf may offer Install; to just read it, open Notepad first and choose the file. Built into Windows.
Notepad Open-source Open the .inf as text to read or edit sections (handles ANSI and UTF-16 INFs cleanly).
Microsoft Windows (right-click > Install) Built-in Right-click a driver .inf (one with a [DefaultInstall] section) and choose 'Install', or use Device Manager > Update driver > Browse and point it at the folder containing the .inf.
pnputil (built-in) Built-in Add a driver package to the driver store from the command line: 'pnputil /add-driver path\driver.inf /install'. The supported way to stage driver INFs.
macOS1 app
BBEdit / any text editor Freemium Open the .inf to read it as text. (An INF only INSTALLS on Windows; on macOS you can only view/edit it.)
Linux1 app
Any text editor (gedit, Vim) Open-source Open the .inf to read its INI-style sections; it cannot install anything on Linux.

Technical details

deep spec
File typePlain-text INI-style installation and configuration script
MIME typetext/plain (also application/inf, application/x-setupscript)
EncodingANSI (legacy) or UTF-16 LE with BOM (modern driver INFs)
StructureBracketed [Section] blocks with key=value pairs; [Version] section is mandatory
Primary useWindows Plug-and-Play (PnP) device-driver installation and component setup
Key directivesCopyFiles, AddReg, DelReg, SourceDisksFiles, DestinationDirs, Manufacturer
Integrity mechanismCompanion signed .cat catalog file; the .inf itself carries no internal checksum or signature
Installation methodsWindows Device Manager, PnP manager, right-click Install, or pnputil command-line tool
File identificationNo magic bytes; identified by [Version] section with Signature="$Windows NT$" or "$CHICAGO$"
Typical file size1 KB - 200 KB
Modern complianceWindows 10/11 requires DCH-compliant "Universal INF" rules - no OS-specific or co-installer sections
Hardware matching[Manufacturer] and Models sections list hardware IDs (VID/PID) matched by the PnP manager
Related package filesPackaged with .sys (driver binary), .cat (signed catalog), and optionally .dll files
Notable variantautorun.inf - same format used for CD/USB autostart; AutoRun from removable drives disabled since Windows 7
DeveloperMicrosoft Corporation
ReleasedWindows 3.x / Windows 95 era (1990s); central to Plug-and-Play driver setup
Latest versionN/A (the INF format evolves with Windows; modern 'universal/DCH' INF rules on Windows 10/11)
Specificationlearn.microsoft.com

INF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with INF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about INF files.

Frequently asked questions

What is an .inf file?
A Windows Setup Information file - a plain-text, INI-style script that tells Windows how to install something, most often a device driver. It lists which files to copy and registry keys to add; it isn't the driver binary itself.
How do I install a driver from an .inf file?
Right-click the .inf and choose 'Install' (works if it has a [DefaultInstall] section), or in Device Manager pick 'Update driver > Browse' and point at the folder with the .inf. From a command line, use 'pnputil /add-driver driver.inf /install'.
How do I open an .inf file to read it?
Open it in any text editor - Notepad, Notepad++ or VS Code. It's plain text in [Sections] with key=value lines. Opening it to read won't install anything.
Why won't my .inf install?
Common reasons: it has no [DefaultInstall]/installable section, its referenced files or signed .cat catalog are missing, or it's unsigned / not 'universal'-compliant, which modern Windows rejects. Use the full driver package, not the lone .inf.
Is an .inf file a virus?
Not inherently - it's a text script. But installing a malicious driver INF can harm your system, and autorun.inf was historically abused to auto-run USB/CD malware (Conficker). Only install signed INFs from trusted sources; treat unexpected autorun.inf on removable media with suspicion.
What's the difference between .inf and .sys?
The .inf is the install script (instructions); the .sys is the actual compiled driver binary it installs. They are companion files - the INF tells Windows how and where to put the .sys and register it.

References

1Microsoft - Overview of INF Fileslearn.microsoft.com
2Microsoft - Using INF DefaultInstall / installing via INFlearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z