This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

NPF Driver fails to start

0
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\JOURIS SIMBOLON>sc qc npf [SC] QueryServiceConfig SUCCESS

SERVICE_NAME: npf TYPE : 1 KERNEL_DRIVER START_TYPE : 3 DEMAND_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : system32\drivers\NPF.sys LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : WinPcap Packet Driver (NPF) DEPENDENCIES : SERVICE_START_NAME :

C:\Users\JOURIS SIMBOLON>sc start npf [SC] StartService: OpenService FAILED 5:

Access is denied.

C:\Users\JOURIS SIMBOLON>

See my own… I don’t know what happened with my computer…

Maybe, you have suggestion what should I do to fix it.. Thanks before.. GBU

asked 15 May ‘12, 00:46

Simbolon's gravatar image

Simbolon
1111
accept rate: 0%

converted to question 15 May ‘12, 01:18

grahamb's gravatar image

grahamb ♦
19.8k330206


4 Answers:

0

You need Administrator privilege to start a service. Open your command prompt by right clicking the icon and selecting "Run as administrator".

answered 15 May '12, 01:21

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

0

Error Nr. 5 means: NO ACCESS. Please start the service as administrator using either of these ways:

Elevated DOS prompt

  1. Click the Start button
  2. In the Search box, type command prompt.
  3. In the list of results, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

Within that DOS/CMD box run this command

sc start npf

runas
Use runas to start the service in any DOS box.

runas /user:administrator sc start npf

Regards
Kurt

answered 15 May '12, 01:27

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 15 May '12, 01:34

0

You can refer to this method https://ask.wireshark.org/questions/4843/the-npf-driver-isnt-running?page=1&focusedAnswerId=38691#38691 to make your NPF driver start normally.

answered 20 Jan '15, 18:57

OliviaLewis's gravatar image

OliviaLewis
4113
accept rate: 0%

0

run command prompt in administrator mode it will start.

enter code: net start npf

answered 01 Nov '16, 10:09

karan9537's gravatar image

karan9537
11225
accept rate: 0%