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 own setup script you should do the following:

NDIS Hooking VxD Filter Driver

Windows 9x/ME

Copy ndisrd.vxd to the \WINDOWS\SYSTEM directory and create the following registry key in order 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

Windows NT 4.0

Copy ndisrd.sys to the \WINNT\SYSTEM32\DRIVERS directory and create the following registry key in order 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

Windows 2000/XP/2003 (32 bit OS)

Copy ndisrd.sys to the \WINNT\SYSTEM32\DRIVERS directory and create the following registry key in order 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

Windows XP/2003 x64
Windows Vista
Windows Server 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 (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 Light Weight Filter Driver

Windows Vista
Windows Server 2008
Windows 7
Windows Server
2008 R2
Windows 8
Windows Server 2012
Windows 10
Windows Server 2016

These operating systems are supported by WinpkFilter driver based on NDIS Light Weight 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 Light Weight 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 Light Weight 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.