I’ve ever written a kernel mode driver to set host IP address/mask before system fully started. The mechanism is modify registry value related to specific NIC under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip.. in a boot driver. It works well in W2k/Wxp/W2k3, however it fails in Windows Vista.
So my questions are:
- Does this mechanism still work in Vista? Or it is totally infeasible?
- I am thinking about to use NDIS Filter driver to hook some OID request to achieve same goal, is it possible?
Any other ideas, please kind let me know, thanks a lot.