Since I have a large environment, doing this procedure manually on a lot of hosts was a bit of a pain, so I wrote some PowerShell to do it
I hard-coded the server names. If anyone wants to go a step further and update the script o pull the server list from Veeam, feel free
Code: Select all
$servers = `
"sofs1","sofs2","sofs3",`
"hyperv1","hyperv2","hyperv3","hyperv4"
foreach($s in $servers)
{
Write-Output "Clearing CBT on " $s
Invoke-Command -ComputerName $s -ScriptBlock {
Stop-Service VeeamFCT
if(Test-Path "C:\veeamctdb.reg")
{
Remove-Item "C:\veeamctdb.reg" -Confirm:$false
}
reg export "HKLM\SYSTEM\CurrentControlSet\Services\VeeamFCT\Parameters\CTDB" C:\veeamctdb.reg
Remove-Item -Path "HKLM:SYSTEM\CurrentControlSet\Services\VeeamFCT\Parameters\CTDB" -Recurse -Confirm:$false
Start-Service VeeamFCT
}
}