Yes, it is. Just use the NET STOP command to stop the service (e.g., NET STOP SERVICENAME) and NET START to start the service when the backup is completed. If you're going to use the service's long name (e.g., a service name with a space in it) instead of its short name, be sure to put quotes around the command (e.g., NET STOP ?MY SERVICE?).
Related Q&A from SearchExchange Staff
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.