y>
		</dependentAssembly>
	</dependency>
	<file destinationPath="$(runtime.system32)\" importPath="$(build.nttree)\" name="BdeHdCfg.exe" sourceName="BdeHdCfg.exe" sourcePath=".\"></file>
	<file destinationPath="$(runtime.system32)\" importPath="$(build.nttree)\" name="BdeHdCfgLib.dll" sourceName="BdeHdCfgLib.dll" sourcePath=".\"></file>
	<trustInfo>
		<security>
			<accessControl>
				<securityDescriptorDefinitions>
					<securityDescriptorDefinition name="WRP_REGKEY_DEFAULT_SDDL" sddl="O:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464G:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464D:P(A;CI;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;CI;GR;;;SY)(A;CI;GR;;;BA)(A;CI;GR;;;BU)(A;CI;GR;;;S-1-15-2-1)(A;CI;GR;;;S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681)"></securityDescriptorDefinition>
				</securityDescriptorDefinitions>
			</accessControl>
		</security>
	</trustInfo>
	<localization>
		<resources culture="en-US">
			<stringTable>
				<string id="BdeHdCfgProviderName" value="Microsoft-Windows-BitLocker-DrivePreparationTool"></string>
				<string id="BdeHdCfgAdminChannelName" value="Microsoft-Windows-BitLocker-DrivePreparationTool/Admin"></string>
				<string id="BdeHdCfgOpChannelName" value="Microsoft-Windows-BitLocker-DrivePreparationTool/Operational"></string>
				<string id="initOpcode" value="Initialization"></string>
				<string id="shrinkDriveOpcode" value="Shrink"></string>
				<string id="createDriveOpcode" value="Create"></string>
				<string id="prepareDriveOpcode" value="Prepare"></string>
				<string id="event_errorMessage" value="A problem occurred while running the BitLocker Drive Preparation Tool.%nError Code: %1%nError Text: %2"></string>
				<string id="event_warningMessage" value="Warning Code: %1%nWarning Text: %2"></string>
				<string id="event_operationComplete" value="The BitLocker Drive Configuration Tool successfully completed. The target hard disk is ready for BitLocker."></string>
				<string id="event_foundCandidate" value="Found a candidate volume for shrink or merge.%nShrinkable: %1%nCandidate Volume Name: %3"></string>
				<string id="event_foundUnallocatedExtent" value="Found an unallocated extent large enough for the requested size.%nOffset: %3%nSize: %4"></string>
				<string id="event_enumDiskExtent" value="Disk extent located on the hard disk containing the System Drive.%nOffset: %3%nSize: %4"></string>
				<string id="event_CommandLineParams" value="Command-line parameters for the BitLocker Drive Preparation Tool:%n   %1"></string>
				<string id="event_ShrinkAction" value="Drive will shrink and new active drive %6 will be created. %nVolume Name: %1%nShrink Size: %5 Bytes"></string>
				<string id="event_UnallocatedAction" value="New drive %3 will be created from unallocated space%nUnallocated extent offset: %1%nNew partition size: %2 Bytes"></string>
				<string id="event_MergeAction" value="Drive will be set as the new system drive%nVolume Name: %1"></string>
				<string id="event_DetectedWinRE" value="Detected Windows Recovery Environment volume%nVolume Path: %1"></string>
				<string id="event_FailedCheckTarget" value="A volume failed to meet the requirements for a target volume.%nVolume Name: %3%nReason: %2"></string>
			</stringTable>
		</resources>
	</localization>
	<registryKeys>
		<!-- This key is for AutoPlay cancellation -->
		<registryKey keyName="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\CLSID">
			<registryValue name="c87f39e0-fd44-41bc-8a81-38b2dab691ff" valueType="REG_SZ"></registryValue>
			<!-- This key is explicitly not protected with WRP_REGKEY_DEFAULT_SDDL
           because third-party applications need to write to it -->
		</registryKey>
		<!-- ... and AutoPlay cancellation requires an AppId entry -->
		<registryKey keyName="HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId\{d056ebce-e7e9-4994-a5e6-de59430306c1}">
			<registryValue name="RunAs" value="Interactive User" valueType="REG_SZ"></registryValue>
			<securityDescriptor name="WRP_REGKEY_DEFAULT_SDDL"></securityDescriptor>
		</registryKey>
		<registryKey keyName="HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId\BdeHdCfg.exe">
			<registryValue name="AppId" value="{d056ebce-e7e9-4994-a5e6-de59430306c1}" valueType="REG_SZ"></registryValue>
			<securityDescriptor name="WRP_REGKEY_DEFAULT_SDDL"></securityDescriptor>
		</registryKey>
	</registryKeys>
	<!-- Event logging -->
	<instrumentation xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events">
		<events xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:bdecfg="urn:Microsoft-Windows-SecureStartup-DrivePreparation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
			<!-- Publisher Info -->
			<provider guid="{632F767E-0EC3-47b9-BA1C-A0E62A74728A}" message="$(string.BdeHdCfgProviderName)" messageFileName="%SystemRoot%\system32\BdeHdCfgLib.dll" name="Microsoft-Windows-BitLocker-DrivePreparationTool" resourceFileName="%SystemRoot%\system32\BdeHdCfgLib.dll" symbol="BDECFG_EVENT_PROVIDER">
				<!-- Channels to which this publisher can publish -->
				<channels>
					<channel chid="AdminChannel" enabled="true" isolation="System" message="$(string.BdeHdCfgAdminChannelName)" name="Microsoft-Windows-BitLocker-DrivePreparationTool/Admin" symbol="BDECFG_EVT_CHANNEL_ADMIN" type="Admin"></channel>
					<channel chid="OperationalChannel" enabled="true" isolation="System" message="$(string.BdeHdCfgOpChannelName)" name="Microsoft-Windows-BitLocker-DrivePreparationTool/Operational" symbol="BDECFG_EVT_CHANNEL_OPERATIONAL" type="Operational"></channel>
				</channels>
				<opcodes>
					<opcode message="$(string.initOpcode)" name="bdecfg:Initialization" symbol="BDECFG_OPCODE_INIT" value="10"></opcode>
					<opcode message="$(string.shrinkDriveOpcode)" name="bdecfg:ShrinkDrive" symbol="BDECFG_OPCODE_SHRINK_DRIVE" value="11"></opcode>
					<opcode message="$(string.createDriveOpcode)" name="bdecfg:CreateDrive" symbol="BDECFG_OPCODE_CREATE_DRIVE" value="12"></opcode>
					<opcode message="$(string.prepareDriveOpcode)" name="bdecfg:PrepareDrive" symbol="BDECFG_OPCODE_PREPARE_DRIVE" value="13"></opcode>
				</opcodes>
				<templates>
					<!-- Template for logging the detected WinRE partition -->
					<template tid="T_BDECFG_WINRE">
						<data inType="win:UnicodeString" name="WinREVolumeName"></data>
						<data inType="win:UnicodeString" name="DriveLetter"></data>
						<data inType="win:UInt32" name="DiskNumber"></data>
						<data inType="win:UInt32" name="PartitionNumber"></data>
					</template>
					<!-- Template for logging a candidate volume. -->
					<template tid="T_BDECFG_CANDIDATE_DRIVE">
						<data inType="win:Boolean" name="Shrinkable"></data>
						<data inType="win:Boolean" name="ContainsWinRE"></data>
						<data inType="win:UnicodeString" name="VolumeName"></data>
						<data inType="win:UInt64" name="VolumeSize"></data>
						<data inType="win:UInt64" name="VolumeFreeSpace"></data>
						<data inType="win:UInt64" name="VolumeMaxShrinkSize"></data>
						<data inType="win:HexInt32" name="VolumeFlags"></data>
						<data inType="win:UnicodeString" name="DriveLetter"></data>
						<data inType="win:UInt32" name="DiskNumber"></data>
						<data inType="win:UInt32" name="PartitionNumber"></data>
					</template>
					<!--
                        Template for logging an extent on the disk (e.g., unallocated space extent).
                        This is based off of the VDS_DISK_EXTENT structure.
                     -->
					<template tid="T_BDECFG_DISK_EXTENT">
						<data inType="win:GUID" name="DiskId"></data>
						<data inType="win:HexInt32" name="Type"></data>
						<data inType="win:UInt64" name="Offset"></data>
						<data inType="win:UInt64" name="Size"></data>
						<data inType="win:GUID" name="VolumeId"></data>
					</template>
					<!-- Template for logging command-line parameters. -->
					<template tid="T_BDECFG_COMMAND_LINE_PARAMS">
						<data inType="win:UnicodeString" name="RawCommandLine"></data>
						<data inType="win:Boolean" name="ShowUsage"></data>
						<data inType="win:Boolean" name="DisplayDriveInfo"></data>
						<data inType="win:UnicodeString" name="TargetDriveLetter"></data>
						<data inType="win:UInt32" name="TargetAction"></data>
						<data inType="win:UnicodeString" name="NewSystemDriveLetter"></data>
						<data inType="win:Int64" name="ShrinkSize"></data>
						<data inType="win:Boolean" name="QuietMode"></data>
						<data inType="win:Boolean" name="AutoRestart"></data>
					</template>
					<!-- Template for logging shrink actions -->
					<template tid="T_BDECFG_ACTION_TYPE_SHRINK">
						<data inType="win:UnicodeString" name="VolumeName"></data>
						<data inType="win:UnicodeString" name="DriveLetter"></data>
						<data inType="win:UInt32" name="DiskNumber"></data>
						<data inType="win:UInt32" name="PartitionNumber"></data>
						<data inType="win:UInt64" name="ShrinkSize"></data>
						<data inType="win:UnicodeString" name="NewDriveLetter"></data>
					</template>
					<!-- Template for logging unallocated actions -->
					<template tid="T_BDECFG_ACTION_TYPE_UNALLOCATED">
						<data inType="win:UInt64" name="ExtentOffset"></data>
						<data inType="win:UInt64" name="NewPartitionSize"></data>
						<data inType="win:UnicodeString" name="NewDriveLetter"></data>
					</template>
					<!-- Template for logging merge actions -->
					<template tid="T_BDECFG_ACTION_TYPE_MERGE">
						<data inType="win:UnicodeString" name="VolumeName"></data>
						<data inType="win:UnicodeString" name="DriveLetter"></data>
						<data inType="win:UInt32" name="DiskNumber"></data>
						<data inType="win:UInt32" name="PartitionNumber"></data>
					</template>
					<!-- Template for logging generic errors, warnings, and informational messages -->
					<template tid="T_BDECFG_MESSAGE">
						<data inType="win:HexInt32" name="MessageCode"></data>
						<data inType="win:UnicodeString" name="MessageText"></data>
					</template>
					<!-- Template for logging drives that fail to validate as targets -->
					<template tid="T_BDECFG_FAILED_TARGET">
						<data inType="win:HexInt32" name="MessageCode"></data>
						<data inType="win:UnicodeString" name="MessageText"></data>
						<data inType="win:UnicodeString" name="VolumeName"></data>
						<data inType="win:UnicodeString" name="DriveLetter"></data>
						<data inType="win:UInt32" name="DiskNumber"></data>
						<data inType="win:UInt32" name="PartitionNumber"></data>
					</template>
					<!-- Template for logging messages with no associated data -->
					<template tid="T_BDECFG_SIMPLE"></template>
				</templates>
				<events>
					<!-- Error events, with opcodes that specify what stage the error came from -->
					<event channel="AdminChannel" level="win:Error" message="$(string.event_errorMessage)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_INIT_ERROR" template="T_BDECFG_MESSAGE" value="0x0001" version="1"></event>
					<event channel="AdminChannel" level="win:Error" message="$(string.event_errorMessage)" opcode="bdecfg:ShrinkDrive" symbol="BDECFG_EVT_SHRINK_DRIVE_ERROR" template="T_BDECFG_MESSAGE" value="0x0002" version="1"></event>
					<event channel="AdminChannel" level="win:Error" message="$(string.event_errorMessage)" opcode="bdecfg:CreateDrive" symbol="BDECFG_EVT_CREATE_DRIVE_ERROR" template="T_BDECFG_MESSAGE" value="0x0003" version="1"></event>
					<event channel="AdminChannel" level="win:Error" message="$(string.event_errorMessage)" opcode="bdecfg:PrepareDrive" symbol="BDECFG_EVT_PREPARE_DRIVE_ERROR" template="T_BDECFG_MESSAGE" value="0x0004" version="1"></event>
					<event channel="AdminChannel" level="win:Error" message="$(string.event_errorMessage)" symbol="BDECFG_EVT_TOOL_ERROR" template="T_BDECFG_MESSAGE" value="0x0005" version="1"></event>
					<!-- Warning events -->
					<event channel="AdminChannel" level="win:Warning" message="$(string.event_warningMessage)" symbol="BDECFG_EVT_WARNING" template="T_BDECFG_MESSAGE" value="0x0100" version="1"></event>
					<!-- Informational events -->
					<event channel="AdminChannel" level="win:Informational" message="$(string.event_operationComplete)" symbol="BDECFG_EVT_SUCCESS" template="T_BDECFG_SIMPLE" value="0x0200" version="1"></event>
					<!-- Operational events -->
					<event channel="OperationalChannel" level="win:Verbose" message="$(string.event_foundCandidate)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_FOUND_CANDIDATE_DRIVE" template="T_BDECFG_CANDIDATE_DRIVE" value="0x1000" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_foundUnallocatedExtent)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_FOUND_UNALLOCATED_EXTENT" template="T_BDECFG_DISK_EXTENT" value="0x1001" version="1"></event>
					<event channel="OperationalChannel" level="win:Verbose" message="$(string.event_enumDiskExtent)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_ENUM_DISK_EXTENT" template="T_BDECFG_DISK_EXTENT" value="0x1002" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_CommandLineParams)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_COMMAND_LINE_PARAMS" template="T_BDECFG_COMMAND_LINE_PARAMS" value="0x1003" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_ShrinkAction)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_SHRINK_ACTION" template="T_BDECFG_ACTION_TYPE_SHRINK" value="0x1004" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_UnallocatedAction)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_UNALLOCATED_ACTION" template="T_BDECFG_ACTION_TYPE_UNALLOCATED" value="0x1005" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_MergeAction)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_MERGE_ACTION" template="T_BDECFG_ACTION_TYPE_MERGE" value="0x1006" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_DetectedWinRE)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_WINRE_DETECTED" template="T_BDECFG_WINRE" value="0x1007" version="1"></event>
					<event channel="OperationalChannel" level="win:Informational" message="$(string.event_FailedCheckTarget)" opcode="bdecfg:Initialization" symbol="BDECFG_EVT_LOG_FAILED_CHECK_TARGET" template="T_BDECFG_FAILED_TARGET" value="0x1008" version="1"></event>
				</events>
			</provider>
		</events>
	</instrumentation>
	<cbb:debuggingInfo xmlns:cbb="urn:schemas-microsoft-com:asm.internal.v1">
		<cbb:sourceManifest sourcePath="%sdxmaproot%\base\ngscb\cornerstone\bdehdcfg\manifests\bitlockerdrivepreparation.man"></cbb:sourceManifest>
	</cbb:debuggingInfo>
</assembly>
