Skip to main content

Win Agent doesnt unregister with uninstall

Thread needs solution

Hi,
im trying to unregister the windows agent with the uninstall from the System.

Win 10 1809
Acronis Backup 12.5

Following Steps to reproduce the situation
----------------------------------------
Using unattend Installation:
msiexec.exe /i {Netshare}\AB64.msi /qn ADDLOCAL=AgentsCoreComponents,BackupAndRecoveryAgent,TrayMonitor TARGETDIR="C:\Program Files\Acronis" REBOOT=ReallySuppress CURRENT_LANGUAGE=de ACEP_AGREEMENT=1 MMS_CREATE_NEW_ACCOUNT=1 MANAGEMENT_SERVER_ADDRESS="{BackupSrv}" MMS_SERVICE_USERNAME=xxx MMS_SERVICE_PASSWORD=xxx TENANT="{TenantID}"

{BackupSrv} & {TenantID} are variables i am using.
MMS Service User is local Administrator on the Windows client and member of the Acronis Centralized User.

Unattend installation works without any problems. (Agent registered itself on the Backup Server. Agent is installed on the Client)
----------------------------------------
Using unattend uninstall:
"C:\Program Files\Acronis\RegisterAgentTool\register_agent.exe" -s mms -a {BackupSrv} -o unregister >C:\temp\uninstall.log
msiexec.exe /x {Netshare}\AB64.msi /qn

If I execute those 2 commands without rebooting after the unattend install it works. (Agent is deregistered on the Backup Server. Agent is deinstalled on the Client)
If I execute those 2 commands with reboots after the install (Doesnt matter if its 1,2 or 20) I get following error code for the first command (second wont execute after an error code):
Instant execute: #2 -> Acronis Managed Machine Service not running. See uninstall2.log
Execute with delay: #3 -> See uninstall3.log
-----------------------------------------
Using msiexec.exe /x {Netshare}\AB64.msi /qn only works.
The software is deinstalled after the execution but the client is still registered on the Backup Server. (Same if I deinstall the program using the control panel.)

Attachment Size
uninstall2.log 575 bytes
uninstall3.log 2.53 KB
0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 0
Comments: 2016

Hello Alexander,

welcome to Acronis forums!

The root of the issue here is that Acronis Managed Machine Service is not started after reboot. Please note that Acronis Managed Machine Service has Delayed Start Startup Type which means that he waits for other services to be started at first. Thus, please wait till it is started before proceeding with unattended uninstallation (check whether the service been started by running Start ->services.msc ).

If there are some issues with starting Acronis Managed Machine Service after reboot, please contact Acronis Support Team for this issue investigation. 

Thank you for your answer.
I already noticed the delayed start. That's why I uploaded two different logfiles.
I'll contact your Support Team.