Unable to load TDI Driver due Tdx.sys on Vista

Hi,
On one of the Vista machine I am having problem in loading my TDI driver due to the TDX.sys.
TDI driver needs to open TCP and UDP device objects created by TDX.sys. What I observed that on problem Vista machine TDX driver loads after my TDI driver that is why it is unable to open the device objects (Device\Tcp and Device\Udp) created by TDX. My TDI driver is a syatem start driver and belongs to PNP_TDI Group. My TDi drivr and TDX both has dependency on TCPIP service.
Please note that on XP (pre Vista OS) TCP and UDP device objects were getting created by TCPIP.sys so my TDI driver always used to load.
I already tried changing dependency of my TDI driver to TDX but it still did not fix the problem.
Any help will be highly appreciated.

Thanks,
-Abhay


Got a little couch potato?
Check out fun summer activities for kids.

I am afraid the best thing to do here is just to rewrite your driver as a Packet Filtering callout module - otherwise, it looks like you TDI filter is going to be a piece of dead code. AFAIK, AFD.SYS does not submit its request to TDX.SYS, and, instead, talks directly to TCPIP.SYS as a kernel socket client -it does not use \Device\Tcp and friends any more, so that all TCPIP-related network activity is going to bypass your filter . Although there is a flag that allows you to request routing packets via TDI, in my experience, it does not really solve the problem - I had to rewrite my TDI filter as WFP callout module in order to make it work under Vista…

Anton Bassov