usually,i like to got the net packet in the windows service.the code is almost from your sample code. but when i stop the service, and start the service, the windows is disconnect from my mstsc.exe. so bad.
why? so server are ok, but some work are abnormality.
It is rather some kid of problem in your packet processing code. Probably you miss proper cleanup when packet processing thread is stopped.
i will stop all the traffica atfer install the drivers.
Note to reboot after drivers installation. Although you are right, MS support of NDIS IM drivers under Windows 7 is not perfect and I do plan to release a new version this summer.