Share via


Distribution Shares and Configuration Sets Overview

Applies To: Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

A distribution share is an optional set of folders that contain custom scripts, images, branding, applications, drivers, and other files. These files can be copied to Windows® during installation through an answer file (Unattend.xml).

During installation, Windows connects to the path of the server share by using the credentials that you specify in an answer file. Only the files that you specify in the answer file are copied to the Windows installation.

If you are installing Windows in an environment that does not have a network share or server share, you can copy the necessary files from the distribution share to a configuration set. A configuration set is a subset of the files in a distribution share. You can copy a configuration set to external storage, such as a USB flash drive or an external hard disk, to use during installation.

Folders in a Distribution Share

When you create a distribution share by using Windows System Image Manager (Windows SIM), three folders are created automatically. The folders are named $OEM$ Folders, Out-of-Box Drivers, and Packages. If you create your own distribution share, it must contain at least one of these folders for Windows SIM to recognize it as a valid distribution share.

$OEM$ Folders

You can use the $OEM$ Folders folder and subfolders only when you are creating configuration sets. You can use $OEM$ Folders to include logos for branding and to add applications and other files that customize the unattended installation.

As a general rule, to add new files and resources to Windows, use a data image. For more information, see How to Create a Data Image.

For more information about how to use $OEM$ Folders, see How to Manage Files and Folders in a Distribution Share.

Important

Do not overwrite existing files that are carried and serviced by the operating system. Using $OEM$ Folders to update or overwrite these files can cause the operating system to behave unpredictably and cause serious issues.

The following table describes the support for $OEM$ Folders and its subfolders.

Folder Definition Supported

$OEM$ Folders

Contains all supplemental folders and files for an automated or customized installation.

Yes

$OEM$ Folders\Textmode

Contains updated mass-storage drivers and hardware abstraction layer (HAL) files that the text-mode part of Setup requires.

No

$OEM$ Folders\$$

Contains files that Windows Setup copies to the %WINDIR% folder (for example, C:\Windows) during installation.

Yes

$OEM$ Folders\$$\Help

Contains custom Help files that Windows Setup copies to the %WINDIR%\Help folder during installation.

No

$OEM$ Folders\$$\System32

Contains files that Windows Setup copies to the %WINDIR%\System32 folder during installation.

Yes

$OEM$ Folders\$1

Represents the root of the drive on which you installed Windows (also called the boot partition), and contains files that Windows Setup copies to the boot partition during installation.

Yes

$OEM$ Folders\$1\Pnpdrivers

Contains new or updated Plug and Play (PnP) drivers. You specify the folder name in the Unattend.xml file for unattended installations. For example, you might name this folder $OEM$ Folders\$1\Pnpdrvs.

Yes

$OEM$ Folders\$1\SysPrep

Contains files that are used for Sysprep-based installation.

No

$OEM$ Folders\$Docs

Contains files that Windows Setup copies to %DOCUMENTS_AND_SETTINGS% during installation.

No

$OEM$ Folders\$Progs

Contains programs that Windows Setup copies to the %PROGRAM_FILES% folder during installation.

No

$OEM$ Folders\$Progs\Internet Explorer

Contains the settings file to customize Windows Internet Explorer®.

No

$OEM$ Folders\drive_letter\subfolder

A subfolder of the drive that contains files that Windows Setup copies to the subfolder during installation. Multiple instances of this type of folder can exist under the $OEM$ Folders\drive_letter folder, for example, $OEM$ Folders\D\MyFolder.

Yes

Out-of-Box Drivers

Drivers are a type of software that enables hardware or devices to function.

The Out-of-Box Drivers folder includes additional device drivers that you install during Windows Setup by using Windows SIM. Windows Setup uses the following types of drivers:

  • In-box drivers.

    Windows Setup handles in-box drivers the same way that it handles packages.

  • Out-of-box drivers.

    By using Windows SIM, you can add out-of-box device drivers that are based on .inf files. Typically, these out-of-box drivers are processed during the auditSystem configuration pass. Your .inf-based out-of-box drivers must be in a distribution-share subfolder that is called Out-of-Box Drivers. For more information, see How to Manage Files and Folders in a Distribution Share.

  • In-box drivers that are installed via a .msi file.

    In-box drivers that require a .msi file are added the same way that applications are added.

Note

By using the Microsoft-Windows-PnpCustomizationsWinPE component, you must add boot-critical device drivers that are required for installation during the windowsPE configuration pass. For more information, see How to Add Device Drivers by Using Windows Setup. You can also add device drivers to an offline image by using Deployment Image Servicing and Management (DISM). For more information, see How to Add and Remove Drivers Offline.

Packages

The Packages folder is a location for Windows software updates. Package types include service packs, security updates, language packs, and other packages that Microsoft issues. You must use Windows SIM to import packages to a distribution share. After a package is imported and available in the Distribution Share pane, you can add the package to the answer file. For more information, see How to Add Packages to a Distribution Share.

Configuration Sets

After an answer file (Unattend.xml) has been validated and saved, you can create a configuration set. A configuration set is a subset of a distribution share that you can create by using Windows SIM. Configuration sets are useful when a network share is not available. You can store configuration sets on removable media and use them in the field. Creating a configuration set exports binaries that are referenced in the answer file and puts them together in a self-contained file set that can be accessed from the Unattend.xml file.

Contents of a Configuration Set

A configuration set contains a complete collection of files, drivers, applications, patches, and answer files that are used to customize Windows installations. A configuration set contains all the required binaries, which are packaged with an associated answer file (Unattend.xml).

Benefits of Configuration Sets

Using configuration sets for unattended installations provides the following benefits:

  • A configuration set is a smaller and more portable version of a distribution share, which can have a size of several gigabytes. You can use configuration sets to install Windows operating systems while you are in the field.

  • Configuration sets are completely self-contained and have no references outside the file set.

  • You can duplicate a configuration set and then edit it for each computer model that you manufacture and release.

Important

If a configuration set is used during Windows Setup, all the contents at the root of the media where the answer file exists are copied to the Windows installation. Having many files and folders at the same level as the answer file might slow down installation. In some cases, you might run out of disk space.

Security Considerations for Distribution Shares and Configuration Sets

Your distribution shares and configuration sets contain private data. The following are recommendations for improving security for distribution shares and configuration sets:

  • Restrict access to the contents of distribution shares. Depending on your environment, you can change the access control lists (ACLs) or permissions on a distribution share. Only approved accounts should have access to distribution shares.

  • Keep applications and device drivers updated with the latest fixes and patches.

See Also

Other Resources

How to Create or Open a Distribution Share
How to Manage Files and Folders in a Distribution Share
How to Add Packages to a Distribution Share
Windows SIM Technical Reference