How to upgrade NDIS IM Drivers

Hi, I have an NDIS IM driver that loads and unloads fine. I am trying to upgrade the driver. I tried this through the device manager as well as simply running an installation (v2) over an existing install (v1), and although the command returns fine, I don’t see the newer driver loaded in place of the older driver. I verified this through some logs and also the driver version in the adapter properties.

I see the following in setupapi.dev when I try to upgrade the driver through the command line:

>> [SetupCopyOEMInf - C:\testim\testim.inf]
>> Section start 2017/03/25 13:09:26.424
cmd: C:\Windows\system32\netcfg.exe /v /l C:\testim\testim.inf /c p /i testim
sto: {Setup Import Driver Package: C:\testim\testim.inf} 13:09:26.751
inf: Opened INF: ‘C:\testim\testim.inf’ ([strings])
inf: Provider: TEST.
inf: Class GUID: {4D36E975-E325-11CE-BFC1-08002BE10318}
inf: Driver Version: 03/25/2017,13.6.45.973
inf: Catalog File: testim.cat
sto: {Copy Driver Package: C:\testim\testim.inf} 13:09:26.757
sto: Driver Package = C:\testim\testim.inf
sto: Flags = 0x00000007
sto: Destination = C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}
sto: Copying driver package files to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’.
inf: Opened INF: ‘C:\testim\testim.inf’ ([strings])
inf: Opened INF: ‘C:\testim\testim.inf’ ([strings])
inf: Opened INF: ‘C:\testim\testim_mp.inf’ ([strings])
inf: Opened INF: ‘C:\testim\testim_mp.inf’ ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim_mp.cat’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim_mp.inf’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim.cat’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim.dll’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim.inf’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\testim’
flq: SourceFilename - ‘testim.sys’
flq: TargetDirectory- ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue} 13:09:26.780
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=6
flq: {_commit_copy_subqueue}
flq: subqueue count=6
flq: source media:
flq: SourcePath - [C:\testim]
flq: SourceFile - [testim_mp.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim_mp.cat’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.cat’.
flq: CopyFile: ‘C:\testim\testim_mp.cat’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17CE.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17CE.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim_mp.inf’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’.
flq: CopyFile: ‘C:\testim\testim_mp.inf’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17DE.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17DE.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim.cat’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.cat’.
flq: CopyFile: ‘C:\testim\testim.cat’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17DF.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17DF.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim.dll’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.dll’.
flq: CopyFile: ‘C:\testim\testim.dll’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17E0.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17E0.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim.inf’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’.
flq: CopyFile: ‘C:\testim\testim.inf’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17E1.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17E1.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\testim\testim.sys’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.sys’.
flq: CopyFile: ‘C:\testim\testim.sys’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17F2.tmp’
flq: MoveFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\SET17F2.tmp’ to ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.sys’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK} 13:09:26.813
sto: Copied driver package. Time = 47 ms
sto: {Copy Driver Package: exit(0x00000000)} 13:09:26.813
pol: {Driver package policy check} 13:09:26.931
pol: {Driver package policy check - exit(0x00000000)} 13:09:26.933
sto: {Stage Driver Package: C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf} 13:09:26.933
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’ ([strings])
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’ ([strings])
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ ([strings])
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ ([strings])
inf: {Query Configurability: C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf} 13:09:26.958
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’ ([strings])
inf: Schema extension {4d36e975-e325-11ce-bfc1-08002be10318} not found.
inf: Driver package ‘testim.inf’ is configurable.
inf: {Query Configurability: exit(0x00000000)} 13:09:26.964
sto: Copying driver package files:
sto: Source Path = C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim.cat’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim.dll’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim.inf’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim.sys’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue} 13:09:26.979
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=4
flq: {_commit_copy_subqueue}
flq: subqueue count=4
flq: source media:
flq: SourcePath - [C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}]
flq: SourceFile - [testim.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.cat’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.cat’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.cat’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET1899.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET1899.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.dll’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.dll’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.dll’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18A9.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18A9.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.inf’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18AA.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18AA.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.sys’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.sys’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim.sys’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18BB.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\SET18BB.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.sys’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK} 13:09:27.015
sto: {DRIVERSTORE IMPORT VALIDATE} 13:09:27.017
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf’ ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 13:09:27.029
sig: Key = testim.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.cat
! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 13:09:27.047
sig: {_VERIFY_FILE_SIGNATURE} 13:09:27.047
sig: Key = testim.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.cat
! sig: Verifying file against specific Authenticode™ catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 13:09:27.048
sig: Code Integrity State: Test Signing
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf’ ([strings])
! sig: Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
sto: {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 13:09:30.529
sig: Signer Score = 0x80000000
sig: Signer Name =
sto: {DRIVERSTORE IMPORT BEGIN} 13:09:30.529
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}\testim.inf’ ([strings])
bak: Create system restore point:
bak: Description = Device Driver Package Install: TEST. Network Protocol
bak: Time = 0ms
bak: Status = 0x8007007E (FAILURE)
sto: {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 13:09:30.537
sto: Importing driver package files:
sto: Source Path = C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}
sto: Destination Path = C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c
cpy: {Copy Directory: C:\Windows\System32\DriverStore\Temp{5f9bedd7-761a-014b-8d36-105cabf4cd38}} 13:09:30.537
cpy: Target Path = C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c
cpy: {Copy Directory: exit(0x00000000)} 13:09:30.540
idb: {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf} 13:09:30.540
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf’ ([strings])
idb: Created driver package object ‘testim.inf_amd64_25a358488318ef0c’ in DRIVERS database node.
idb: Created driver INF file object ‘oem15.inf’ in DRIVERS database node.
idb: Registered driver package ‘testim.inf_amd64_25a358488318ef0c’ with ‘oem15.inf’.
idb: {Register Driver Package: exit(0x00000000)} 13:09:30.543
idb: {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf} 13:09:30.543
idb: Opened driver package object ‘testim.inf_amd64_25a358488318ef0c’ in DRIVERS database node.
idb: Opened driver INF file object ‘oem15.inf’ in DRIVERS database node.
idb: Activating driver package ‘testim.inf_amd64_25a358488318ef0c’.
cpy: Published ‘testim.inf_amd64_25a358488318ef0c\testim.inf’ to ‘oem15.inf’.
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf’ ([strings])
idb: Indexed 2 device IDs for ‘testim.inf_amd64_25a358488318ef0c’.
idb: {Publish Driver Package: exit(0x00000000)} 13:09:30.547
sto: {DRIVERSTORE IMPORT END} 13:09:30.547
sig: Installed catalog ‘testim.cat’ as ‘oem15.cat’.
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf’ ([strings])
sto: {DRIVERSTORE IMPORT END: exit(0x00000000)} 13:09:30.648
sto: Importing CopyINF driver package ‘testim_mp.inf’.
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ ([strings])
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ ([strings])
inf: {Query Configurability: C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf} 13:09:30.650
inf: Opened INF: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ ([strings])
inf: Driver package is fully isolated.
inf: Driver package ‘testim_mp.inf’ is configurable.
inf: {Query Configurability: exit(0x00000000)} 13:09:30.650
sto: Copying driver package files:
sto: Source Path = C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim_mp.cat’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}’
flq: SourceFilename - ‘testim_mp.inf’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue} 13:09:30.654
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=2
flq: {_commit_copy_subqueue}
flq: subqueue count=2
flq: source media:
flq: SourcePath - [C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}]
flq: SourceFile - [testim_mp.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.cat’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.cat’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.cat’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\SET26F5.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\SET26F5.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: Copying ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf’.
flq: CopyFile: ‘C:\cygwin64\tmp{74a58192-47bc-1447-b2a5-2d298755a82d}\testim_mp.inf’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\SET26F6.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\SET26F6.tmp’ to ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK} 13:09:30.660
sto: {DRIVERSTORE IMPORT VALIDATE} 13:09:30.662
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf’ ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 13:09:30.662
sig: Key = testim_mp.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.cat
! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 13:09:30.664
sig: {_VERIFY_FILE_SIGNATURE} 13:09:30.664
sig: Key = testim_mp.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.cat
! sig: Verifying file against specific Authenticode™ catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 13:09:30.668
sig: Code Integrity State: Test Signing
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}\testim_mp.inf’ ([strings])
! sig: Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
sto: {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 13:09:31.303
sig: Signer Score = 0x80000000
sig: Signer Name =
sto: {DRIVERSTORE IMPORT BEGIN} 13:09:31.305
bak: System restore point not required.
sto: {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 13:09:31.307
sto: Importing driver package files:
sto: Source Path = C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}
sto: Destination Path = C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02
cpy: {Copy Directory: C:\Windows\System32\DriverStore\Temp{08e923f2-9be6-7c4f-a4d4-0d71f4167025}} 13:09:31.307
cpy: Target Path = C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02
cpy: {Copy Directory: exit(0x00000000)} 13:09:31.309
idb: {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf} 13:09:31.309
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf’ ([strings])
idb: Created driver package object ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02’ in DRIVERS database node.
idb: Created driver INF file object ‘oem16.inf’ in DRIVERS database node.
idb: Registered driver package ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02’ with ‘oem16.inf’.
idb: {Register Driver Package: exit(0x00000000)} 13:09:31.313
idb: {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf} 13:09:31.313
idb: Opened driver package object ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02’ in DRIVERS database node.
idb: Opened driver INF file object ‘oem16.inf’ in DRIVERS database node.
idb: Activating driver package ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02’.
cpy: Published ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf’ to ‘oem16.inf’.
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf’ ([strings])
idb: Indexed 2 device IDs for ‘testim_mp.inf_amd64_ac8d1ea0acdd2e02’.
idb: {Publish Driver Package: exit(0x00000000)} 13:09:31.317
sto: {DRIVERSTORE IMPORT END} 13:09:31.319
sig: Installed catalog ‘testim_mp.cat’ as ‘oem16.cat’.
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\testim_mp.inf_amd64_ac8d1ea0acdd2e02\testim_mp.inf’ ([strings])
sto: {DRIVERSTORE IMPORT END: exit(0x00000000)} 13:09:31.345
sto: {Stage Driver Package: exit(0x00000000)} 13:09:31.345
ndv: Doing device matching lookup
sto: {Setup Import Driver Package - exit (0x00000000)} 13:09:31.355
inf: Opened INF: ‘C:\testim\testim.inf’ ([strings])
inf: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\testim.inf_amd64_25a358488318ef0c\testim.inf
inf: Published Inf Path: C:\Windows\INF\oem15.inf
<<< Section end 2017/03/25 13:09:31.359
<<< [Exit status: SUCCESS]

Why is my newer v2 driver not replacing the older v1 driver?
What is the correct way to update NDIS IM drivers through the command line?

Thanks!

Can I update an NDIS IM driver through netcfg? If not, how can I update the IM driver from v1 to v2 through command line?