Ask Your Question
0

How To Start NPF Driver In Safe Mode?

asked 2018-07-02 06:00:02 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

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!

edit retag flag offensive close merge delete

Comments

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

Jaap gravatar imageJaap ( 2018-07-02 08:49:33 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-09 20:04:36 +0000

Eddi gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-02 06:00:02 +0000

Seen: 907 times

Last updated: Jul 09 '18