Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Performance Monitor (NPM) > Schedule NPM services to stop or start from the command line with Task Scheduler

Schedule NPM services to stop or start from the command line with Task Scheduler

Table of contents

Updated June 16, 2017

Overview

This article describes how to schedule Network Performance Monitor (NPM) services to stop or start from the command line with Task Scheduler.

Environment

  • NPM 11.5 and later
  • Windows Server 2008 and later

Steps

Create two .bat files:

  1. Open Notepad.
  2. Copy and paste the following:
    net stop SolarWindsAlertingEngine
    net stop SWCollectorDataProcessorSvc
    net stop SWCollectorManagementAgentSvc
    net stop SWCollectorPollingControllerSvc
    net stop SWInfoServiceSvc
    net stop SWInfoServiceSvcV3
    net stop SWJobEngineSvc
    net stop SWJobEngineSvc2
    net stop SWJobSchedulerSvc
    net stop "SolarWinds Orion NCM Caching Service"
    net stop "SolarWinds Orion NCM TFTP Server"
    net stop NetFlowService
    net stop OrionModuleEngine
    net stop "SolarWinds SFTP Server"
    net stop "SolarWindsAlertingServiceV2"
    net stop "SolarWindsTrapService"
    net stop "SolarWindsSyslogService"
    net stop "SWCollectorService"
    net stop "SolarWindsAgent64"
  3. Click File > Save As.
  4. Assign a name. For example, SWStop.bat.
  5. Set the Save as type field to All Files. The .bat on the file name will enable the machine to open it as a batch file.
  6. Click Save.
  7. Open a new Notepad file.
  8. Copy and paste the following:
    net start SolarWindsAlertingEngine
    net start SWCollectorDataProcessorSvc
    net start SWCollectorManagementAgentSvc
    net start SWCollectorPollingControllerSvc
    net start SWInfoServiceSvc
    net start SWInfoServiceSvcV3
    net start SWJobEngineSvc
    net start SWJobEngineSvc2
    net start SWJobSchedulerSvc
    net start "SolarWinds Orion NCM Caching Service"
    net start "SolarWinds Orion NCM TFTP Server"
    net start NetFlowService
    net start OrionModuleEngine
    net start "SolarWinds SFTP Server"
    net start "SolarWindsAlertingServiceV2"
    net start "SolarWindsTrapService"
    net start "SolarWindsSyslogService"
    net start "SWCollectorService"
    net start "SolarWindsAgent64"
  9. Click File > Save As.
  10. Assign a name. For example, SWStart.bat.
  11. Set the Save as type field to All Files.
  12. Click Save.


Set up a scheduled task to run SWStop.bat and SWStart.bat at your preferred time. See the steps to create a task by using the Windows interface in Schedule a Task (© 2017 Microsoft, available at https://technet.microsoft.com/, obtained on June 15, 2017).

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third-party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified
18:52, 15 Jun 2017

Tags

Classifications

Public