Avoiding Warning dialog of unsigned drivers.

Hi,
I want to avoid the unsigned driver dialog programmatically I know the
manual way of going in Driver Signing and changing it to ignore. I want to
do it programmatically. I found some entries in registry but that did not
worked too.like
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
This gets updated too after changing from warn to ingonre. But if I change
manually only in registry to these entries then still it warns.There must
something else too in registry from which it reads current warning status.
Is there any specific entry that installer reads accordingly shows prompt
which get updated when we change from windows’ provided “driver signing”
from *warn to *ignore. Does anyone has any idea about this ?


…Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama Hare Rama Rama Rama Hare Hare ||

Well, you could sign your drivers…

Otherwise, I don’t you believe that you can stop this warning, at least on later versions of the os.

mm

swapnil kamble wrote:

Hi,
I want to avoid the unsigned driver dialog programmatically I know
the manual way of going in Driver Signing and changing it to ignore. I
want to do it programmatically. I found some entries in registry but
that did not worked too.like
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
This gets updated too after changing from warn to ingonre. But if I
change manually only in registry to these entries then still it
warns.There must something else too in registry from which it reads
current warning status.
Is there any specific entry that installer reads accordingly shows
prompt which get updated when we change from windows’ provided “driver
signing” from *warn to *ignore. Does anyone has any idea about this ?


…Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama Hare Rama Rama Rama Hare Hare ||

Be aware that firms are suing companies that do this, I know of one large
firm in my area that got quite a nice payment (more than the cost of the
products they had bought from the idiots who did this) in an out of court
settlement because the company that did it realized they could not afford
the public trial and follow on suits.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

“swapnil kamble” wrote in message
news:xxxxx@ntdev…
> Hi,
> I want to avoid the unsigned driver dialog programmatically I know the
> manual way of going in Driver Signing and changing it to ignore. I want to
> do it programmatically. I found some entries in registry but that did not
> worked too.like
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
> This gets updated too after changing from warn to ingonre. But if I change
> manually only in registry to these entries then still it warns.There must
> something else too in registry from which it reads current warning status.
> Is there any specific entry that installer reads accordingly shows prompt
> which get updated when we change from windows’ provided “driver signing”
> from *warn to *ignore. Does anyone has any idea about this ?
>
>
> –
> …Swapnil
>
> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
> || Hare Rama Hare Rama Rama Rama Hare Hare ||
>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4013 (20090416)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>

Information from ESET NOD32 Antivirus, version of virus signature database 4013 (20090416)

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

swapnil kamble wrote:

Hi,
I want to avoid the unsigned driver dialog programmatically I know
the manual way of going in Driver Signing and changing it to ignore. I
want to do it programmatically. I found some entries in registry but
that did not worked too.like
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
This gets updated too after changing from warn to ingonre. But if I
change manually only in registry to these entries then still it
warns.There must something else too in registry from which it reads
current warning status.
Is there any specific entry that installer reads accordingly shows
prompt which get updated when we change from windows’ provided “driver
signing” from *warn to *ignore. Does anyone has any idea about this ?


…Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama Hare Rama Rama Rama Hare Hare ||

Sign your drivers sign’em sign’em, sign your drivers!
Sign your drivers sign’em sign’em, sign your drivers!

– pa

Ok Thanks. Actually I saw a virtual audio driver XXX which does this for XP.
Its driver is not signed but still does not prompt warning too. But anyway,
I will do this by simplest way, by getting my driver signed rather than
doing any hook around it.

Thanks and Regards,

On Thu, Apr 16, 2009 at 6:26 PM, Pavel A. wrote:

> swapnil kamble wrote:
>
>> Hi,
>> I want to avoid the unsigned driver dialog programmatically I know the
>> manual way of going in Driver Signing and changing it to ignore. I want to
>> do it programmatically. I found some entries in registry but that did not
>> worked too.like
>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
>> This gets updated too after changing from warn to ingonre. But if I change
>> manually only in registry to these entries then still it warns.There must
>> something else too in registry from which it reads current warning status.
>> Is there any specific entry that installer reads accordingly shows prompt
>> which get updated when we change from windows’ provided “driver signing”
>> from *warn to *ignore. Does anyone has any idea about this ?
>>
>>
>> –
>> …Swapnil
>>
>> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
>> || Hare Rama Hare Rama Rama Rama Hare Hare ||
>>
>
> Sign your drivers sign’em sign’em, sign your drivers!
> Sign your drivers sign’em sign’em, sign your drivers!
>
> – pa
>
>
> —
> 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
>


…Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama Hare Rama Rama Rama Hare Hare ||

The fact that this tries to be resistant to programmatic tampering should perhaps be a hint that you should not be doing that.

Just do the right thing and get your drivers signed instead of trying to explicitly subvert the user’s choices, which is poor form.

  • S

From: swapnil kamble
Sent: Thursday, April 16, 2009 05:46
To: Windows System Software Devs Interest List
Subject: [ntdev] Avoiding Warning dialog of unsigned drivers.

Hi,
I want to avoid the unsigned driver dialog programmatically I know the manual way of going in Driver Signing and changing it to ignore. I want to do it programmatically. I found some entries in registry but that did not worked too.like
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing\ Policy
This gets updated too after changing from warn to ingonre. But if I change manually only in registry to these entries then still it warns.There must something else too in registry from which it reads current warning status.
Is there any specific entry that installer reads accordingly shows prompt which get updated when we change from windows’ provided “driver signing” from *warn to *ignore. Does anyone has any idea about this ?


…Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama Hare Rama Rama Rama Hare Hare ||
— 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