t-Path -Path $regPath1) -and (Test-Path -Path $regPath2))
{
    $rootCauseDetected = $false
}

Update-DiagRootCause -Id $rootCauseId -Detected $rootCauseDetected

return $rootCauseDetected