What is the command to restart the service? The service can be stopped using the command—net stop [service name] and started again using net start [service name]. This will restart the service.