How to Automate Network Captures with Network Monitor

This article was previously published under Q158744
This article has been archived. It is offered "as is" and will no longer be updated.
Network Monitor gives you the ability to automatically start capturingnetwork information upon starting the program. This is completed by usingcommand-line parameters that can be passed to the program.
You can use this feature, for example, in conjunction with the AT commandto start Network Monitor when a backup operation begins. To do this, putthe command to AUTOSTART Network Monitor in the batch file just before thebackup operation starts, as in the following example batch file:
@echo off
Start Netmon /AUTOSTART
NTBACKUP backup C:\<directory path> /B /L "C:\BACKUP.LOG"
The rest of this article describes the command line options for runningNetwork Monitor. For more information, see the Network Monitor Help filein the Systems Management Server Administrator's Guide.

/REMOTE <remote_name>

Starts Network Monitor with a connection to the Network Monitor Agentspecified.

/NET <number>

Starts Network Monitor with a connection to the network number specified. Use the numbers 1 to N+1 where N is the number of Network cards present in the computer. The one additional interface is the RAS/VPN interface.


Starts Network Monitor with a specific capture filter loaded.


Starts Network Monitor with a specific display filter loaded.

/BUFFERSIZE <number>

Starts Network Monitor with the buffers size preset to the number of bytesspecified.

/QUICKFILTER <type>, <address>

Begins capturing as soon as Network Monitor is started, and filters on theaddress specified.


Begins capturing immediately upon starting.


Stops the Network Monitor capture file when the buffer is full.


Starts Network Monitor with the buffer size preset to the number of megabytes specified (Network Monitor 2.0).
prodnt netmon sms

Article ID: 158744 - Last Review: 02/28/2014 08:05:12 - Revision: 2.1

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbhowto KB158744