---
title: "Win7因为NPF不能正常使用Wireshark"
author: "Nonkr"
date: "2012-12-15T15:37:38Z"
tags: []
categories: ["非技术"]
slug: "win7-npf-wireshark"
draft: false
lastmod: "2012-12-15T15:37:38Z"
id: 1748407
url: "https://nonkr.iteye.com/blog/1748407"
---

Win7可能因为没有默认启动NPF而不能正常使用Wireshark抓包工具，虽然可以以管理员运行cmd，然后net start npf。但是这样每次要使用wireshark都需要这样手工执行一下命令，很不方便。事实上，可以设置开机默认启动NPF：

**sc config npf start= system**

注意，等号后面是有一个空格的。