1
Vote

AutoSPInstaller aborts after SPTraceV4

description

I'm running v3.0.3 of autosp. The script aborts at the end of the Function ConfigureTracing section. Any idea wat the problem might be?
 
    Write-Host -ForegroundColor White " - Updating service account..."
    $SPTraceV4.ProcessIdentity.CurrentIdentityType = "SpecificUser"
    $SPTraceV4.ProcessIdentity.ManagedAccount = $ManagedAccountGen
    $SPTraceV4.ProcessIdentity.Update()
    $SPTraceV4.ProcessIdentity.Deploy()
    $SPTraceV4.Update()
    Write-Host -ForegroundColor White " - Restarting service SPTraceV4..."
    Restart-Service -Name "SPTraceV4"
    Write-Host -ForegroundColor White " - Done."
 
****Script aborts here
 
}
Catch
{
    $_
    Write-Warning " - An error occurred updating the service account for service SPTraceV4."
}
WriteLine
}

EndRegion

comments