Automatic repair after install driver

Hi

I have a problem after I install driver. I want to install a driver on a PCI device, and I use update driver to change my hardware driver. After install driver, its working good. But when I restart my computer, it will enter automatic repair mode. My computer cannot start until I remove my driver I installed before.

I suspect there something wrong when scan my PCI device at boot time, So I remove my device, the computer restart normally. Then I power off my computer and insert my device again, the computer start normally!!! I have no idea for this problem

My OS is Windows server 2012, and my inf file as bellow

[version]
signature=“$Windows NT$”
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%IFT%
DriverVer=12/12/2013,1.0.0.0

;
; Source file information
;

[SourceDisksNames]
1 = %DiskDesc%,

[SourceDisksFiles]
ift_test.sys = 1

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer]
%IFT%=IFT,NTamd64

[IFT]

[IFT.NTamd64]
%DevDesc1% = LSI_U3_Inst, PCI\VEN_10B5&DEV_87B0

[ControlFlags]
ExcludeFromSelect = *

[LSI_U3_Inst]
CopyFiles = LSI_U3_CopyFiles

[LSI_U3_Inst.HW]
DelReg = LegacyScsiportValues

[LSI_U3_Inst.Services]
AddService = LSI_U3, %SPSVCINST_ASSOCSERVICE%, LSI_U3_Service_Inst, Miniport_EventLog_Inst

[LSI_U3_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\ift_test.sys
LoadOrderGroup = SCSI Miniport
AddReg = pnpsafe_pci_addreg
AddReg = bus_type_scsi

[LSI_U3_CopyFiles]
ift_test.sys,1

[LegacyScsiportValues]
HKR,Scsiport,BusNumber
HKR,Scsiport,LegacyInterfaceType
HKR,Scsiport,SlotNumber

[pnpsafe_pci_addreg]
HKR, “Parameters\PnpInterface”, “5”, 0x00010001, 0x00000001

[bus_type_scsi]
HKR, “Parameters”, “BusType”, 0x00010001, 0x00000001

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

[Miniport_EventLog_AddReg]
HKR,EventMessageFile,%REG_EXPAND_SZ%,“%%SystemRoot%%\System32\IoLogMsg.dll”
HKR,TypesSupported,%REG_DWORD%,7

[Strings]
;Localizable Strings needed for HBA naming in Windows UI
IFT = “IFT”
DevDesc1 = “IFT PCI”
DiskDesc = “IFT PCI Driver”

;*******************************************
;Non-Localizable strings
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START = 0
SERVICE_ERROR_NORMAL = 1
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001