Browse Definitions :

disk image

What is a disk image?

A disk image is a compressed file that contains a copy of the entire contents of a computer's hard drive or other storage media, such as optical discs or solid-state drives. The disk image represents the content exactly as it is on the original storage device, including both data and structure information.

A disk image is a byte-by-byte, sector-by-sector copy of the content on the original source drive. These images provide a single reference of a machine configured for an organization's computing environment.

Photo of various types of storage media, including a hard drive, compact discs and a USB flash drive.
Disk images are made of the contents of various types of computer storage media.

How does a disk image work?

A disk image includes files and file folders, boot files, directories, file allocation tables, operating system (OS) attributes, slack space and unused storage capacity. Disk imaging software is used to make an image of a completely configured system. Because of its large size, a disk image file is compressed and stored on a secondary storage device or in cloud storage. Hard drive disk images can be saved as a virtual hard disk.

A disk image provides a single, consistent source for all computers in a group or organization on which the information on it is installed. It also can be mounted so that users can view it on their desktop as though it were an external drive. Authorized users have access to all file folders within a mounted disk image.

For enhanced security, the contents of a disk file can be encrypted and password-protected, much like any other computer system drive or device. There are many file formats used for disk images, which are identified by specific three-letter file extensions.

How are disk images used?

Disk images serve a variety of use cases, including the following:

  • Computer forensics.
  • Copying CDs and DVDs.
  • Creating portable versions of a user's system.
  • Data protection.
  • Disaster recovery.
  • Disk cloning or ghost imaging.
  • Distribution of applications and OSes.
  • Large-scale OS deployment and system migration.
  • System backup.

Is a disk image the same thing as an ISO file?

Disk images and International Organization for Standardization (ISO) files are similar but have different origins. The disk image file format extension IMG originated to replicate images on floppy disks. IMG disk image files are still in use, but they are often converted to the ISO format as a way to archive the entire contents of optical media as a single file.

ISO is the generally accepted format for disk images and is recognized by most OSes, which typically include native tools for extracting and reading disk image files in ISO format. ISO files make it easier to distribute software for installation via the internet.

In an uncompressed form, there is no discernible difference between an IMG and ISO disk image file. Compressing a disk image conserves storage, but some devices might not be able to read the image. It's possible to convert IMG files to the ISO format and vice versa using special file-conversion software.

Since it represents the contents of a physical drive, a disk image can be safely deleted after its associated application is successfully installed.

How do disk images get mounted?

In Microsoft Windows, disk images are mounted and unmounted with the File Explorer tool or the Disc Image Tools tab on the Windows ribbon.

For systems running macOS, programs are distributed in the Apple Disk Image format, identified as DMG files. Variants of the open source Linux file system natively support mounting disk images as virtual disks.

Disk image vs. disk clone vs. golden image

A disk image, disk clone and golden image have similarities in that each produces a replica of all the contents on a drive. However, there are some differences:

  • A disk image is a compressed copy of a prepared application environment that allows a granular data restore to occur. Multiple images can be stored per disk and incrementally updated.
  • A disk clone is an uncompressed copy of a drive that can be immediately used in a production environment to replace a failing hard disk drive. Cloning is faster than creating a disk image, but only one clone per disk can be stored, and new data can't be added to a clone.
  • A golden image is a snapshot of a configured disk, server, system or virtual machine that is used to deploy new instances on a network. Master image and clone image are synonymous terms with golden image.

Disk imaging pros and cons

Having an available reference machine image makes it easier for organizations to upgrade their computer environment. All computing devices that have had the disk image installed will have uniform configuration settings and programs, saving time when upgrading computers and peripheral components.

On the other hand, a disk image represents a snapshot of a drive at a given point in time. If new machines are added to the environment after the disk image is made, those newer devices might not receive security patches or software updates, delaying their provisioning for production environments.

Learn what you need to know about snapshots vs. backup.

This was last updated in June 2023

Continue Reading About disk image

  • remote infrastructure management

    Remote infrastructure management, or RIM, is a comprehensive approach to handling and overseeing an organization's IT ...

  • port address translation (PAT)

    Port address translation (PAT) is a type of network address translation (NAT) that maps a network's private internal IPv4 ...

  • network fabric

    'Network fabric' is a general term used to describe underlying data network infrastructure as a whole.

  • principle of least privilege (POLP)

    The principle of least privilege (POLP) is a concept in computer security that limits users' access rights to only what is ...

  • DNS over HTTPS (DoH)

    DNS over HTTPS (DoH) is a relatively new protocol that encrypts domain name system traffic by passing DNS queries through a ...

  • governance, risk and compliance (GRC)

    Governance, risk and compliance (GRC) refers to an organization's strategy for handling the interdependencies among the following...

  • vertical SaaS (software as a service)

    Vertical SaaS describes a type of software as a service solution created for a specific industry, such as retail, financial ...

  • business process mapping

    Business process mapping is the visual display of the steps within a business process showing how it's done from start to finish.

  • digital platform

    A digital platform is a web-based structural software package that speeds and eases transactions among users.

  • employee onboarding and offboarding

    Employee onboarding involves all the steps needed to get a new employee successfully deployed and productive, while offboarding ...

  • skill-based learning

    Skill-based learning develops students through hands-on practice and real-world application.

  • gamification

    Gamification is a strategy that integrates entertaining and immersive gaming elements into nongame contexts to enhance engagement...

Customer Experience
  • Microsoft Dynamics 365

    Dynamics 365 is a cloud-based portfolio of business applications from Microsoft that are designed to help organizations improve ...

  • Salesforce Commerce Cloud

    Salesforce Commerce Cloud is a cloud-based suite of products that enable e-commerce businesses to set up e-commerce sites, drive ...

  • Salesforce DX

    Salesforce DX, or SFDX, is a set of software development tools that lets developers build, test and ship many kinds of ...