KNOWLEDGE BASE
BackupAssist Backup Software > Knowledge Base > StartingAndStoppingWindowsServices

Starting and Stopping Windows Services with BackupAssist

BackupAssist allows you to write scripts that enable you to start and stop windows services before and after your scheduled backup jobs.

Procedure

In the Advanced tab of BackupAssist, you will see the facility to run command line scripts before and after the backup job. This is where you can enter in the commands to stop and start windows services.

Stopping Services

To stop a service, in the pre or post-backup script, type:

net stop <service name>

eg. net stop spooler

Starting Services

To start a service, in the pre or post-backup script, type:

net start <service name>

eg. net start spooler

Finding the name of your services

To find the name of your service go to Control Panel > Administrative Tools > Services, and locate the service in the right hand pane. Double-click your desired service to display its properties. The service name is given at the top, next to the "Service name:" label.

Page last modified on March 16, 2005, at 07:48 PM