;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    vdrvroot.inf
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
PnpLockdown=1
DriverVer = 06/21/2006,10.0.20348.2849

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
vdrvroot.sys       = 3426

[DestinationDirs]
DefaultDestDir = 12                ; DIRID_DRIVERS

[ControlFlags]
BasicDriverOk=*
ExcludeFromSelect=*

[Manufacturer]
%MSFT%=vdrvroot_device,NTamd64

[vdrvroot_device.NTamd64]
%VDRVROOT.DeviceDesc%	= VDRVROOT, Root\VDRVROOT     ; Virtual Drive Enumerator

;
; General installation section
;

[VDRVROOT]
CopyFiles=VDRVROOT_CopyFiles

[VDRVROOT_CopyFiles]
vdrvroot.sys,,,0x100 ; COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

;
; Service Installation
;

[VDRVROOT.Services]
AddService=vdrvroot, %SPSVCINST_ASSOCSERVICE%, VDRVROOT_Service

[VDRVROOT.HW]
AddReg=VDRVROOT_HW.AddReg

[VDRVROOT_Service]
DisplayName    = %vdrvroot_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_CRITICAL%
ServiceBinary  = %12%\vdrvroot.sys
LoadOrderGroup = "Boot Bus Extender"

[VDRVROOT_HW.AddReg]
HKR,VirtualDriveSupport,VHD,0x10001,1

;.
; Allow generic-all access to Built-in administrators, Local system, generic-read/write to everyone and the VmWorkerProcess capability, and generic-read to restricted code.
;
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGW;;;WD)(A;NP;GRGW;;;S-1-15-3-1024-2268835264-3721307629-241982045-173645152-1490879176-104643441-2915960892-1612460704)(A;;GR;;;RC)"

[Strings]

;
; Non-Localizable
;

MSFT = "Microsoft"

SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_CRITICAL = 3

;
; Localizable
;

VDRVROOT.DeviceDesc = "Microsoft Virtual Drive Enumerator"
vdrvroot_svcdesc = "Microsoft Virtual Drive Enumerator"
