我最近在 Win 7 主机上安装了 Wireshark,但现在它不允许我启动 NPF 服务。我得到:
C:\Windows\system32>net start npf
System error 5 has occurred.
Access is denied.
这很奇怪,因为我在本地管理员组中,而“npf”服务的 SDDL 字符串显示内置管理员组允许 RP 和 WP 权限。
C:\Windows\system32>net localgroup
Aliases for \\DOC
-------------------------------------------------------------------------------
*Administrators
*Backup Operators
*Cryptographic Operators
*Distributed COM Users
*Event Log Readers
*Guests
*IIS_IUSRS
*Network Configuration Operators
*Offer Remote Assistance Helpers
*Performance Log Users
*Performance Monitor Users
*Power Users
*Remote Desktop Users
*Replicator
*Users
The command completed successfully.
C:\Windows\system32>sc sdshow npf
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCR
RC;;;IU)(A;;CCLCSWLOCRRC;;;SU)
显然我忽略了一些东西,但是什么呢?
答案1
听起来您没有从提升的命令提示符运行它。您可以从 GUI 运行它,click Start > Type cmd > right click > Run As Administrator
然后重试。
您可以从非提升的命令提示符执行runas /user:domain\user cmd