Hello Nyein Chan Zaw,
Thank you for posting in Microsoft Community forum.
Does the Zabbix Agent 2 installation package has script in it? If so, it seems the script could not be run to complete.
You can try to install Zabbix Agent 2 on a server that you did not install it before and check if the installation package itself works fine.
If the installation package itself works fine (you can install it successfully on another Windows machine). It sounds like there may be remnants of the previous installation causing issues with the reinstall. Here are some steps you can take to resolve this issue:
1.Clean Up Residual Files:
Ensure that all files and folders related to the previous Zabbix Agent installation are deleted. Common directories to check include:
C:\Program Files\Zabbix Agent
C:\ProgramData\Zabbix
2.Registry Cleanup:
Sometimes, the uninstallation process leaves registry entries behind.
Open the Registry Editor (regedit.exe
) and search for any entries related to Zabbix under:
HKEY_LOCAL_MACHINE\Software\
HKEY_CURRENT_USER\Software\
Be cautious when modifying the registry.
Delete only the entries related to Zabbix Agent to avoid harming your system.
Note: Please back up the registry before you make changes on registry.
3.Clear MSI Installer Cache:
Windows Installer may have cached files from the previous installation. You can use tools such as the "MSI Cleanup Utility" (Windows Installer CleanUp Utility) to remove these entries.
4.Reboot the Server:
After performing the above steps, reboot your server to ensure all changes take effect.
5.Run the Installer with Admin Privileges:
When reinstalling Zabbix Agent, right-click on the installer and select "Run as administrator" to ensure it has the necessary permissions.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou