Forum Replies Created
-
AuthorPosts
-
December 26, 2012 at 7:44 am in reply to: If i chnaged NetCfgInstanceId in inf file , ping not works #7108
Hi,
After installing winpk filter, i have to install my filter driver and previously it gives a problem , then you suggest me to change netcfgInstanceId in INF file.
I have generated the new netcfgInstanceId , change it in my inf file and my filter driver is properly installed but it is connected with another machine and not able to communicate with each other.
I tried to ping another machine, it fails.
And when i change this NetcfgInstanceId and add characteristics value as 0x4410 instead of 0x40000 , it works fine.
So, please suggest me the required solution.
Thanks & Regards,
VikashDecember 14, 2012 at 8:19 am in reply to: Problem in inf file characteristics value with winpk filter #7105Hi,
Please also let me know ,whether NetCfgInstanceId is also used for changing parameter in registry .
NetCfgInstanceId is responsible for changing any parameters in registry or not.
Thanks,
Vikash
December 13, 2012 at 6:38 am in reply to: Problem in inf file characteristics value with winpk filter #7104As per my understanding GUID and NetCfgInstanceId are same .
Now, i am able to generate a new GUID using tool and also changed this value in my code .
One more question i want to ask i.e.:
When i install my services using INF file via LAN properties, it properly installed and value is also updated in registry.
But when i prepare a uncertifed installer using my .sys, .pdb and changed .inf file, it installed on my system but all registry parameters is not updated in registry.These parameters are updated using my code .sys file.
So, i want to ask is there in any difference if we installed same file using LAN properties and using installer.Also is there any difference in certified build and insatllation of uncertifed build through disable driver signature enforcement.
Regards,
VikashDecember 12, 2012 at 1:20 pm in reply to: Problem in inf file characteristics value with winpk filter #7102Again Thanks a lot for your quick reply but i have one more question i.e. mentioned below:
1)How generate new GUID .
2)How to change it in winpk filter after generating a new GUID :
#define FILTER_UNIQUE_NAME L”{5cbf81bd-5055-47cd-9055-a76b2b4e3697}” //unique name, quid name
Because we are using a winpk filter installer and source code is not available for compilation after doing these changes.
December 11, 2012 at 1:21 pm in reply to: Problem in inf file characteristics value with winpk filter #7100Thanks SerpentFly……
Please find my comments mentioned below:
From your post it is not clear what kind of driver do you try to install along with WinpkFilter. Is it NDIS LWF, NDIS IM or protocol driver?
>>I am trying to install NDIS LWF.
Characteristics to use in INF depend on the type of your driver. For Windows Vista and higher WinpkFilter installs NDIS LWF filter driver and corresponding Characteristics value is NCF_LW_FILTER = 0x40000.
>>it’s ok but when i try to install my driver after installing winpk filter driver, it creates a problem and my driver is not visible using Characteristics value is NCF_LW_FILTER = 0x4000
when i change this Characteristics value to 0x4410, my driver is installed properly and it is visble in services list.
So, i have no idea why it gives an error using Characteristics value is NCF_LW_FILTER = 0x4000.
If you are trying to create the custom build of WinpkFilter NDIS LWF then besides changing driver name please note to generate new GUID to be used in common.h and in INF file (NetCfgInstanceId). This value uniquely identifies filter driver instance.
>>NetCfgInstanceId present in my INF file is NetCfgInstanceId=”{5cbf81bd-5055-47cd-9055-a76b2b4e3697}”
But i am not able to find GUID value inside common.h .i found only NetCfgInstanceId value inside common.h which is mentioned as :#define FILTER_UNIQUE_NAME L”{5cbf81bd-5055-47cd-9055-a76b2b4e3697}” //unique name, quid name
So, please specify me i am wrong.
My major concern is Characteristics value because :
1)if winpk filter is not installed , my driver is installed properly with Characteristics value is 0x40000.2)If if winpk filter is installed , my driver is not installed properly with Characteristics value is 0x40000.
3)if winpk filter is installed , my driver is installed properly with Characteristics value is 0x4410.
Thanks,
Vikash -
AuthorPosts