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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
hvservice.sys = 3426

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%*hvobject.DeviceDesc% = hvservice_Inst,ROOT\hvservice

[hvservice_Inst.NT]
CopyFiles = hvservice_CopyFiles

[hvservice_CopyFiles]
hvservice.sys,,,0x100

[hvservice_Inst.NT.Services]
AddService = hvservice,%SPSVCINST_ASSOCSERVICE%,hvservice_Service_Inst,hvservice_EventLog_Inst

[hvservice_Service_Inst]
DisplayName    = %hvservice.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\hvservice.sys

[hvservice_EventLog_Inst]
AddReg=hvservice_EventLog_AddReg

[hvservice_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7

[hvservice_Inst.NT.HW]
AddReg=hvservice_RegSettings_Security

; This is SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R_RES_R from the MSDN docs on SDDL for device objects.
; Kernel and system have complete access. Admins have full permission except to change the ACL. Everyone
; else has only read permissions.
[hvservice_RegSettings_Security]
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GR;;;WD)"

[strings]
;Localizable
MSFT                  = "Microsoft"
*hvobject.DeviceDesc  = "Microsoft Hypervisor Service"
hvservice.SvcDesc     = "Microsoft Hypervisor Service Driver"

;Non-localizable
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_SYSTEM_START   = 1
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
SERVICE_ERROR_CRITICAL = 3
