When does the error: "Flag FLG_ADDREG_TYPE_SZ must be specified for this registry key. " is given b

The following line under ClassInstall32 section of my 64-bit inf file gives error when I run
chkinf tool on the same:

HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},0x00000010,

Error mesg.
; (E22.1.1112) Flag FLG_ADDREG_TYPE_SZ must be specified for this registry key.

When I change it as follows, the error mesg disappears.
HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},

chkinf does not give error when I specify flag value of 0x00000010 if I run it on 32-bit inf file.

Whats the problem and why chkinf gives error only incase of 32-bit inf file?

Thanks,
-Praveen

Praveen Kumar Amritaluru wrote:

The following line under ClassInstall32 section of my 64-bit inf file
gives error when I run
chkinf tool on the same:

HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},0x00000010,

Error mesg.
*; (E22.1.1112) Flag FLG_ADDREG_TYPE_SZ must be specified for this
registry key.
*

When I change it as follows, the error mesg disappears.
HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},

chkinf does not give error when I specify flag value of 0x00000010 if
I run it on 32-bit inf file.

Whats the problem and why chkinf gives error only incase of 32-bit
inf file?

Apparently, the SafeBoot key really wants you to provide a default value
for the key, which 0x00000010 does not do.

HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},“My
Driver”


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

It works even with:
HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},

i.e without value.

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> Praveen Kumar Amritaluru wrote:
>
>> The following line under ClassInstall32 section of my 64-bit inf file
>> gives error when I run
>> chkinf tool on the same:
>>
>> HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},0x00000010,
>>
>> Error mesg.
>> *; (E22.1.1112) Flag FLG_ADDREG_TYPE_SZ must be specified for this
>> registry key.
>> *
>>
>> When I change it as follows, the error mesg disappears.
>> HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},
>>
>> chkinf does not give error when I specify flag value of 0x00000010 if
>> I run it on 32-bit inf file.
>>
>> Whats the problem and why chkinf gives error only incase of 32-bit
>> inf file?
>
>
> Apparently, the SafeBoot key really wants you to provide a default value
> for the key, which 0x00000010 does not do.
>
>
> HKLM,SYSTEM\CurrentControlSet\Control\SafeBoot\Network{1a3e09be-1e45-494b-9174-d7385b45bbf5},“My
> Driver”
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>