Page tree
Skip to end of metadata
Go to start of metadata

Sysprep functions

The sysprep category contains functions create and manipulate settings in the Windows MiniSetup answer files.
These functions works transparently on both sysprep.inf and unattend.xml, giving a uniform way for setting values regardless of operating system version.

Unattend Files

UNATTEND FILE

OPERATING SYSTEMS

FILE LOCATION

Unattend.xml

Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008R2

C:\Windows\Panther\

Sysprep.inf

Windows 2000, Windows XP, Windows Server 2003, Windows Server 2003 R2

C:\Sysprep\

Remarks

When working with unattend.xml, the unattend.xml file must exist, and the root component tags must exist as shown in the example below. All elements in the components tag will be inserted or deleted by the functions.

Example

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-UnattendedJoin" ...>
        </component>
    </settings>
</unattend>

Functions

  • No labels