<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>packet monitor Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/packet-monitor/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 15 Jun 2020 19:45:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>What is and how to use the Windows 10 sniffer</title>
		<link>https://www.osradar.com/what-is-and-how-to-use-the-windows-10-sniffer/</link>
					<comments>https://www.osradar.com/what-is-and-how-to-use-the-windows-10-sniffer/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Mon, 15 Jun 2020 19:45:42 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[packet monitor]]></category>
		<category><![CDATA[ptkmon]]></category>
		<category><![CDATA[sniffer]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21131</guid>

					<description><![CDATA[<p>Hi! Microsoft wants Windows 10 to be the best version of their operating systems. In fact, updates incorporate new features that boost performance. However, there are features already included and little-publicized. Sometimes, these features are very useful and interesting for the user. In this case, we will talk about sniffer, an addition present since the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-and-how-to-use-the-windows-10-sniffer/">What is and how to use the Windows 10 sniffer</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi! <a href="https://www.microsoft.com/en-us/" target="_blank" rel="noreferrer noopener">Microsoft</a> wants Windows 10 to be the best version of their operating systems. In fact, updates incorporate new features that boost performance. However, there are features already included and little-publicized. Sometimes, these features are very useful and interesting for the user. In this case, we will talk about <strong>sniffer</strong>, an addition present since the October 2018 update, and very little known. Specifically, this is not a setting that modifies any aspect of the desktop. On the contrary, it is a tool to control the activity and latency of the network connection. Well, in this post we will see what is it and how to use the Windows 10 sniffer.</p>



<h2>What is the Windows 10 sniffer?</h2>



<p>This is a function to control or monitor the propagation of data packets. Consequently, it is possible to detect certain problems in the network. For example, an increase in latency and affected applications. It is very likely that you have looked for third-party apps to monitor the network without knowing that the system includes its own sniffer. The main function of these sniffers is to detect possible network failures.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="614" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/network-3357642_1280-1024x614.jpg" alt="" class="wp-image-21133" srcset="https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280-1024x614.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280-300x180.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280-768x461.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280-696x418.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280-1068x641.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/06/network-3357642_1280.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>As far as Windows 10 is concerned it is a command-line based tool called Packet Monitor. Therefore, to use it it is necessary to manage it from PowerShell.</p>



<h2>How to use Package Monitor in Windows 10</h2>



<p>As mentioned, to use Packet Monitor you need to launch a PowerShell with administrator privileges. With this intention, please press the Win+X combination, and from there select the option.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="399" height="913" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/sni.png" alt="Launch a PowerShell with administrator privileges." class="wp-image-21134" srcset="https://www.osradar.com/wp-content/uploads/2020/06/sni.png 399w, https://www.osradar.com/wp-content/uploads/2020/06/sni-131x300.png 131w" sizes="(max-width: 399px) 100vw, 399px" /><figcaption>Launch a PowerShell with administrator privileges.</figcaption></figure>



<p>The correct syntax of PktMon is:</p>



<pre class="wp-block-preformatted">pktmon { filter | comp | reset | start | stop } [OPTIONS | help]</pre>



<p>Below, I show you the available commands:</p>



<ul><li><strong>filter</strong>: Manages packet filters</li><li><strong>comp: </strong>Manages the registered components.</li><li><strong>reset</strong>: Resets the counters to zero</li><li><strong>start</strong>: Starts package monitoring</li><li><strong>stop: </strong>Stop monitoring.</li><li><strong>format</strong>: Converts the log file to text</li><li><strong>unload:</strong> Download the PktMon controller</li></ul>



<p>If we need more help on a specific command, then we can use the following command:</p>



<pre class="wp-block-preformatted">Pktmon <em>commando</em> help.</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="544" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/sni2-1024x544.png" alt="PowerShell running the Pktmon start help command" class="wp-image-21136" srcset="https://www.osradar.com/wp-content/uploads/2020/06/sni2-1024x544.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/sni2-300x159.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/sni2-768x408.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/sni2-1536x816.png 1536w, https://www.osradar.com/wp-content/uploads/2020/06/sni2-696x370.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/sni2-1068x567.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/sni2.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>PowerShell running the Pktmon start help command</figcaption></figure>



<p>Executing this instruction will display information about the syntax and possible commands to be used. This is the available syntax and command:</p>



<pre class="wp-block-preformatted">pktmon start { list | add | remove } [OPTIONS | help]</pre>



<p>Commandos:</p>



<ul><li><strong>list</strong>: Shows the active packet filters.</li><li><strong>add</strong>: Adds a filter to control which packets are notified.</li><li><strong>remove</strong>: Remove all filters</li></ul>



<pre class="wp-block-preformatted">pktmon comp { list | counters } [OPTIONS | help]</pre>



<p>Commands:</p>



<ul><li><strong>list: </strong>Lists all active components.</li><li><strong>counters: </strong>Shows the current counters per component</li></ul>



<h2>Other useful commands</h2>



<pre class="wp-block-preformatted">pktmon reset[-counters]</pre>



<p>Resets all component counters to zero.</p>



<pre class="wp-block-preformatted">pktmon start [-c { all | nics | [ids…] }] [-d] [–etw [-p size] [-k keywords]]  [-f] [-s] [-r] [-m]</pre>



<p>Start package monitoring.</p>



<ul><li><strong>c, –components:</strong> Select the components to be monitored. This can be all components, only NICs, or a list of component IDs. The default is all.</li><li><strong>-d, –drop-only:</strong> Only report discarded packages. Additionally, by default, the correct propagation of packets is also reported.</li></ul>



<p><strong>ETW Registry</strong></p>



<ul><li><strong>–etw:</strong> Logs in for packet capture.</li><li><strong>p, –packet-size</strong>: Number of bytes to be recorded from each packet. On the other hand, to always register the entire package, please set the value to 0.</li><li><strong>k, –keywords:</strong> Hexadecimal bit mask that controls which events are recorded. That is the sum of the following marks. By default, all events are logged.</li><li><strong>f, –file-name</strong>: Log file .etl. In addition, the default value is PktMon.etl.</li><li><strong>-s, –file-size: </strong>Maximum log file size in megabytes Additionally, the default value is 512 MB.</li></ul>



<p><strong>Registration mode</strong></p>



<ul><li><strong>r, –circular:</strong> New events overwrite older ones when the maximum file size is reached.</li><li><strong>m, –multi-file: </strong>A new file is created when the maximum file size is reached.</li></ul>



<p><strong>pktmon stop</strong></p>



<p>Stops the package monitoring and displays the results.</p>



<p><strong>pktmon format log.etl [-o log.txt]</strong></p>



<p>Converts the log file to text format.</p>



<p><strong>pktmon unload</strong></p>



<p>Stop the PktMon driver service and download PktMon.sys. Equivalent to <strong><em>sc.exe stop PktMon.</em></strong></p>



<h2>Conclusion</h2>



<p>Ultimately we have seen what it is and how to use sniffer in Windows 10. In addition, this Windows function is very useful for monitoring the network. Similarly, there is no need to use third-party apps. Before saying goodbye, I invite you to see our post about changing the <a rel="noreferrer noopener" href="https://www.osradar.com/how-to-change-language-in-windows-server-2019/" target="_blank">language </a>in Windows Server. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-and-how-to-use-the-windows-10-sniffer/">What is and how to use the Windows 10 sniffer</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/what-is-and-how-to-use-the-windows-10-sniffer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
