To remove the Rubrik agent:
++++++++++++++++++++++++++++++
Use PowerShell (administrative mode)

powershell "& Get-WmiObject -Class Win32_Product -Filter \"Name='Rubrik Backup Service'\" | ForEach-Object { $_.Uninstall() }"

Remove the following directory and sub directories:

C:\ProgramData\Rubrik\Rubrik Backup Service\*

After removing the Rubrik SQL agent, please make sure the following registry key has been removed, and if not please remove it

'HKEY_LOCAL_MACHINE\SOFTWARE\Rubrik Inc.\Backup Service\Backup Agent ID'

When reinstalling the agent use the following steps:
+++++++++++++++++++++++++++++++++++++++++++++++++++++

Download the agent from the following link:

https://<cluster-address>/connector/RubrikBackupService.zip.

To install the agent please perform the following from powershell as Administrator:

Execute as Administrator:

msiexec /i C:\Rubrik_Windows\RubrikBackupService.msi /qn