SanPolicy

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

SanPolicy specifies the type of Storage Area Network (SAN) policy to apply to the computer. A SAN enables a server to mount disks and other storage devices automatically from other computers.

By configuring the SAN policy on a Windows® image, you can control whether disks are automatically mounted, which disks can be mounted, and you can disable disks from being mounted automatically.

Values

1

Mounts all available storage devices. This is the default value.

2

Mounts all storage devices except those on a shared bus.

Examples of shared buses are: SCSI, iSCSI, Fiber, and SAS.

3

Does not mount storage devices.

Valid Configuration Passes

offlineServicing

Parent Hierarchy

Microsoft-Windows-PartitionManager | SanPolicy

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-PartitionManager

XML Example

The following XML output shows how to configure the SAN policy to mount all available storage devices.

<SanPolicy>1</SanPolicy>

See Also

Concepts

Microsoft-Windows-PartitionManager