ERROR 1168 : Element not found.

Hi All,

I’m writing an Intermediate driver for Win2K3 server OS.
Im facing an issue when I tried to create a Virtual Adapter which is getting
failed.
By looking at the setupapi.log it shows the below error.

Can anybody help in root causing the issue?
FYI, The driver is already test signed

@ 12:43:04.718 #V011 Installing section [MYIMM.ndi.Interfaces] from
“c:\windows\inf\oem19.inf”.

@ 12:43:04.750 #V054 Interfaces installed.

@ 12:43:04.765 #T205 Install Device: Verifying catalogs/INFs.

*@ 12:43:04.796 #E358 An unsigned, incorrectly signed, or Authenticode™
signed file “c:\windows\inf\oem19.inf” for driver “MyVirtual Miniport
Driver” blocked (server install). Error 1168: Element not found.*

*@ 12:43:04.828 #T206 Install Device: Verifying catalogs/INFs completed.*

*@ 12:43:04.875 #T224 Install Device: Cleaning up failed device.*

*@ 12:43:04.890 #E122 Device install failed. Error 1168: Element not found.*

*@ 12:43:04.921 #T201 Install Device: End.*

*@ 12:43:04.937 #E157 Default installer failed. Error 1168: Element not
found.*

*@ 12:43:04.968 #V166 Device install function: DIF_REMOVE.*

*@ 12:43:05.000 #T152 Executing class installer.*

*@ 12:43:05.031 #I289 Removing device “ROOT\MY_IMM\0000”.*

*@ 12:43:10.531 #I048 Device removed.*

@ 12:43:11.875 #V153 Completed class installer.

@ 12:43:11.906 #V166 Device install function: DIF_DESTROYPRIVATEDATA.

@ 12:43:11.937 #T152 Executing class installer.

@ 12:43:11.968 #V153 Completed class installer.

Any help would be really appreciated

Thanks in Advance

Regards
Satheesh

> FYI, The driver is already test signed

@ 12:43:04.796 #E358 An unsigned, incorrectly signed, or Authenticode™ signed file “c:\windows\inf\oem19.inf” for driver “MyVirtual Miniport Driver” blocked (server install). Error 1168: Element not found.

Have you installed the WHQL test certificate?

Tim.

thanks for replying and the answer to your question. It is not WHQL signed
but it is TEST signed

Thanks
Satheesh

On Wed, Aug 12, 2009 at 11:26 PM, Tim Green wrote:

> > FYI, The driver is already test signed
>
> > @ 12:43:04.796 #E358 An unsigned, incorrectly signed, or Authenticode™
> signed file “c:\windows\inf\oem19.inf” for driver “MyVirtual Miniport
> Driver” blocked (server install). Error 1168: Element not found.
>
> Have you installed the WHQL test certificate?
>
> Tim.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Dont remember having to test sign for any os before Vista64. is the win2k3
ploicy set to allow only signed drivers ? is your certificate added to the
trusted root in local system ? if driver sign is the problem try installing
without this ploicy and check.

-rtshiva

On Thu, Aug 13, 2009 at 12:01 PM, SatheeshBabu Muthupandi <
xxxxx@gmail.com> wrote:

thanks for replying and the answer to your question. It is not WHQL signed
but it is TEST signed

Thanks
Satheesh

On Wed, Aug 12, 2009 at 11:26 PM, Tim Green wrote:
>
>> > FYI, The driver is already test signed
>>
>> > @ 12:43:04.796 #E358 An unsigned, incorrectly signed, or
>> Authenticode™ signed file “c:\windows\inf\oem19.inf” for driver
>> “MyVirtual Miniport Driver” blocked (server install). Error 1168: Element
>> not found.
>>
>> Have you installed the WHQL test certificate?
>>
>> Tim.
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Thanks for replying me.

Issue is when I tried to create thru my CLI application [say myapp.exe for
creating the virtual adapter] it is working fine.
Whereas when I create a JAVA based GUI application, I’m getting Error 1168.
No driver binaries got changed for these two applications. Both uses the
same driver binaries.

Also I have enabled the driver signing as “warn” so that it prompts for
driver signing warning while creating the Virtual adapter and it is
prompting, when I run the CLI application.
Whereas it is not giving any error but the setupapi shows the Error 1168
when I run the GUI application

Any idea?
Thanks in advance

regards
satheesh

On Thu, Aug 13, 2009 at 12:19 AM, sivakumar thulasimani
wrote:

> Dont remember having to test sign for any os before Vista64. is the win2k3
> ploicy set to allow only signed drivers ? is your certificate added to the
> trusted root in local system ? if driver sign is the problem try installing
> without this ploicy and check.
>
> -rtshiva
>
> On Thu, Aug 13, 2009 at 12:01 PM, SatheeshBabu Muthupandi <
> xxxxx@gmail.com> wrote:
>
>> thanks for replying and the answer to your question. It is not WHQL signed
>> but it is TEST signed
>>
>> Thanks
>> Satheesh
>>
>>
>> On Wed, Aug 12, 2009 at 11:26 PM, Tim Green wrote:
>>
>>> > FYI, The driver is already test signed
>>>
>>> > @ 12:43:04.796 #E358 An unsigned, incorrectly signed, or
>>> Authenticode™ signed file “c:\windows\inf\oem19.inf” for driver
>>> “MyVirtual Miniport Driver” blocked (server install). Error 1168: Element
>>> not found.
>>>
>>> Have you installed the WHQL test certificate?
>>>
>>> Tim.
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
>> the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Are you trying to create an installer ? or are you trying to access your
driver ?

It seems you are creating an installer, if so then whatever problem you are
having is not related to driver sigining, check your driver install fuctions
on what is actually failing.
-rtshiva
On Thu, Aug 13, 2009 at 2:05 PM, SatheeshBabu Muthupandi <
xxxxx@gmail.com> wrote:

Thanks for replying me.

Issue is when I tried to create thru my CLI application [say myapp.exe for
creating the virtual adapter] it is working fine.
Whereas when I create a JAVA based GUI application, I’m getting Error 1168.
No driver binaries got changed for these two applications. Both uses the
same driver binaries.

Also I have enabled the driver signing as “warn” so that it prompts for
driver signing warning while creating the Virtual adapter and it is
prompting, when I run the CLI application.
Whereas it is not giving any error but the setupapi shows the Error 1168
when I run the GUI application

Any idea?
Thanks in advance

regards
satheesh

On Thu, Aug 13, 2009 at 12:19 AM, sivakumar thulasimani <
xxxxx@gmail.com> wrote:

> Dont remember having to test sign for any os before Vista64. is the
> win2k3 ploicy set to allow only signed drivers ? is your certificate added
> to the trusted root in local system ? if driver sign is the problem try
> installing without this ploicy and check.
>
> -rtshiva
>
> On Thu, Aug 13, 2009 at 12:01 PM, SatheeshBabu Muthupandi <
> xxxxx@gmail.com> wrote:
>
>> thanks for replying and the answer to your question. It is not WHQL
>> signed but it is TEST signed
>>
>> Thanks
>> Satheesh
>>
>>
>> On Wed, Aug 12, 2009 at 11:26 PM, Tim Green wrote:
>>>
>>>> > FYI, The driver is already test signed
>>>>
>>>> > @ 12:43:04.796 #E358 An unsigned, incorrectly signed, or
>>>> Authenticode™ signed file “c:\windows\inf\oem19.inf” for driver
>>>> “MyVirtual Miniport Driver” blocked (server install). Error 1168: Element
>>>> not found.
>>>>
>>>> Have you installed the WHQL test certificate?
>>>>
>>>> Tim.
>>>>
>>>> —
>>>> NTDEV is sponsored by OSR
>>>>
>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>> http://www.osr.com/seminars
>>>>
>>>> To unsubscribe, visit the List Server section of OSR Online at
>>>> http://www.osronline.com/page.cfm?name=ListServer
>>>>
>>>
>>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>>> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
>>> the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
>> the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>