Installation

WinpkFilter setup script will automatically configure your system and install required helper drivers. However, if your license allows driver redistribution, and you plan to install helper drivers within your setup script you should do the following:

NDIS Hooking Filter Driver on Windows 9x/ME

Copy ndisrd.vxd to the \WINDOWS\SYSTEM directory and create the following registry key to start helper driver on system boot:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\NDISRD

Under this key, you should create the following REG_SZ value:

"StaticVxD"="NDISRD.VxD"

NDIS Hooking Filter Driver on Windows NT 4.0

Copy ndisrd.sys to the \WINNT\SYSTEM32\DRIVERS directory and create the following registry key to start helper driver on system boot:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NDISRD

Under this key, you should create the following values:

"Type"=0x00000001 (REG_DWORD)
"Group"="Network" (REG_SZ)
"Start"=0x00000001 (REG_DWORD)
"Error Control"=0x00000001 (REG_DWORD)

NDIS Hooking Filter Driver on Windows 2000/XP/2003 32-bit

Copy ndisrd.sys to the \WINNT\SYSTEM32\DRIVERS directory and create the following registry key to start helper driver on system boot:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NDISRD

Under this key, you should create the following values:

"Type"=0x00000001 (REG_DWORD)
"Group"="Streams Drivers" (REG_SZ)
"Start"=0x00000001 (REG_DWORD)
"Error Control"=0x00000001 (REG_DWORD)

NDIS 5 Intermediate Filter Driver on Windows XP/2003 x64, Vista/2008

Manual installation

Prepare a floppy disk (or installation directory) that contains these files: ndisrd.inf, ndisrd_m.inf and ndisrd.sys. On the desktop, right-click the My Network Places icon and choose Properties. Right-click on the relevant Local Area Connection icon and choose Properties. Click Install, then Service, then Add, then Have Disk. Browse to the drive/directory containing the files listed above. Click OK. This should show “WinpkFilter Driver” in a list of Network Services. Highlight this and click OK. This should install the WinpkFilter driver. Click OK or Yes, each time, the system prompts with a warning regarding installation of unsigned files. This is necessary because binaries generated via the DDK build environment are not signed. Two .INF files are needed rather than one because WinpkFilter is installed both as a protocol and a miniport.

Automatic installation

WinpkFilter package contains a modified version of snetcfg tool (the original version of which can be found in the DDK) which allows automatic installation of WinpkFilter drivers.
The command line below will install WinpkFilter driver automatically (snetcfg.exe, ndisrd.inf, ndisrd_m.inf and ndisrd.sys should be in the same folder):

snetcfg.exe -v -l ndisrd.inf -m ndisrd_m.inf -c s -i nt_ndisrd

Next command uninstalls WinpkFilter driver:

snetcfg.exe -v -u nt_ndisrd

Important note:

For Windows Vista and later versions of the Windows family of operating systems, kernel-mode software must have a digital signature to load on x64-based computer systems.

NDIS 6.x Lightweight Filter Driver on Windows Vista/2008/7/2008R2/8/2012/8.1/2012R2/10/2016/2019/11/2022

These operating systems are supported by WinpkFilter driver based on NDIS Lightweight Filter driver.

Manual installation

Prepare a floppy disk (or installation directory) that contains these files: ndisrd_lwf.inf and ndisrd.sys. On the desktop, right-click the My Network Places icon and choose Properties. Right-click on the relevant Local Area Connection icon and choose Properties. Click Install, then Service, then Add, then Have Disk. Browse to the drive/directory containing the files listed above. Click OK. This should show “WinpkFilter Lightweight Filter Driver” in a list of Network Services. Highlight this and click OK. This should install the WinpkFilter driver. Click OK or Yes, each time the system prompts with a warning regarding installation of unsigned files. This is necessary because binaries generated via the DDK build environment are not signed.

Automatic installation

Unlike NDIS 5 Intermediate Filter Driver, NDIS 6 Lightweight Filter Driver can be installed using standard netcfg.exe utility available in Windows Vista and later
The command line below will install WinpkFilter driver automatically (ndisrd_lwf.inf and ndisrd.sys should be in the same folder):

netcfg.exe -v -l ndisrd_lwf.inf -c s -i nt_ndisrd

Next command uninstalls WinpkFilter driver:

netcfg.exe -v -u nt_ndisrd

Important note:

For Windows Vista and later versions of the Windows family of operating systems, kernel-mode software must have a digital signature to load on x64-based computer systems.