THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How To Start NPF Driver In Safe Mode?

I am using windows 7 in security mode with network I can not use common mode so I wanted to know how to start the driver in that mode somehow..adding key in the registry or something like that thanks!

asked 2018-07-02 06:00:02 +0000
This post is a wiki. Anyone with karma >750 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

How do you start it in normal mode? This question could give you a hint.

Jaap's avatar Jaap (2018-07-02 08:49:33 +0000) edit
add a comment see more comments

1 Answer

1

I am not sure, if this is possible at all. If you start NPF in safe mode it is IMHO an ugly hack.

The safest way (and possibly the only supported way) is to ask your administrator to install Wireshark. For me, it works great out of the box.

Details for the Curious Reader

Wireshark relies on the driver NPF.SYS. The driver is defined in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NPF

Each driver has a start type. Possible values and lot are documented by Microsoft. NPF has a start type 2, which is for a "Non-PnP driver that must be started by the service control manager."

Theoretically, you could tinker with the start type, so that NPF looks like an essential driver to Windows. Personally, I think this is a bad idea. It could leave your system unbootable to a point that you require a reinstallation.

In safe mode, Windows will only load very essential drivers. These drivers have only very small to no requirements.

NPF certainly requires a driver for the network card. There might be other dependencies, like NDIS or some mini driver. I don't know, if NPF has error handling for such harsh and unexpected conditions. One of the developers might be able to add a few details.

Dependencies boil down to the registry key HKLM\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder. Microsoft gives a nice overview over the driver load order on a dedicated web site.

Eddi's avatar
2.4k
Eddi
answered 2018-07-09 20:04:36 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer