# Administer the Network Agent on Windows

Related pages:

Results:
1 rates

Depending on how you installed and deployed the Network Agent, you may have more than one method to administer the Network Agent. AppDynamics provides both GUI and command-line tool for common operations, such as starting and stopping Network Agents and their services. See Managing Network Agents in the Controller.

This section describes how to administer the Network Agent using command-line tools for the Network Agent ZIP. The Network Agent can be managed using the following commands:

• install
• start
• status
• stop
• uninstall

Ensure that you run all the scripts using administrator privilege. If you run the scripts without administrator privilege, the scripts prompt for the privilege request after a 3 second timeout. You can start these scripts from Windows Explorer or from the command line. If you run the scripts from the command line, the installstart and stop scripts have a -quiet option. The -quiet option runs the scripts without prompts, messages, or dialog boxes.

OperationCommandNotes
Install agent\<network-agent-home>\install.bat

The install.bat installs the Network Visibility agent and starts the AppDynamics Network Visibility Service.

Start agent\<network-agent-home>\start.bat

If the agent starts successfully, the following message is displayed:

Starting the network agent service

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 7556
FLAGS :

Check agent status\<network-agent-home>\status.bat

This command shows if the agent is running or not.

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Stop agent\<network-agent-home>\stop.bat

If the agent stops successfully, the following message is displayed:

SERVICE_NAME: NetVizService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Uninstall agent\<network-agent-home>\uninstall.bat

If the agent uninstalls successfully, the following message is displayed:

Stopping service NetVizService.
NetVizService is stopped.
Service AppDynamics NetViz Service uninstalled.

## Managing Network Agent on Windows

You can start or stop the Network Agent using start.bat or stop.bat. You require admin privileges to start or stop the Network Agent.

You can view the services that are currently running on the system using AppDynamics NetViz Service.

• No labels