Upon installing or starting a VM Backup service, you're getting the following error:
"Windows cannot start the VM BackUp Hyper-V Host Agent - N1 service on local computer. Error 2 - the system cannot find the file specified"
In fact, checking the Services, you'll see a lingering service after uninstalling VM Backup, with "
A lingering service on the left on the machine after uninstalling the product.
On the machine you're experiencing the issue, carry out the following:
- Uninstall VM Backup
- Open services.msc and check which service has been left behind
- Open CMD with elevated permissions and enter the following command, depending on which service is left behind:
sc delete "service name"
You can find the full list of services and their service name below.
The above command will delete the service and CMD should return a SUCCESS message.
Once you have successfully removed the lingering services, download the latest VM Backup build and attempt the installation once more
Services and their pertaining service names:
DISPLAY_NAME: Altaro Offsite Server 6
DISPLAY_NAME: Altaro VM Backup Engine
DISPLAY_NAME: Altaro VM Backup Hyper-V Host Agent - N1
DISPLAY_NAME: Altaro VM Backup Hyper-V Host Agent - N2
DISPLAY_NAME: Altaro VM Backup Deduplication Service
DISPLAY_NAME: Altaro Offsite Server 8
DISPLAY_NAME: Altaro Offsite Server 8 Controller
DISPLAY_NAME: Altaro VM Backup Controller