Share via


Example Exclusion List in a Wimscript.ini File (Standard 7 SP1)

7/8/2014

When ImageX is capturing an image, it operates on files and folders. If ImageX tries to capture a locked file or folder, it will fail and stop the capture operation. To keep ImageX from stopping before a capture is done, you can provide a list of files and folders that ImageX should exclude from the capture operation. An ImageX exclusion list is a text file listing the files and folders that ImageX should exclude. The text file must be named Wimscript.ini and it must reside in the same directory as the ImageX tool.

The following is an example of an exclusion list in a Wimscript.ini file:

[ExclusionList]
ntfs.log
hiberfile.sys
pagefile.sys
"System Volume Information"
RECYCLER
Windows\CSC

[CompressionExclusionList]
*.mp3
*.zip
*.cab
\WINDOWS\inf\*.pnf

You can add files and folders that may become locked in the [ExclusionList] section.

See Also

Tasks

Gather Optional Files for a Bootable Disk