SharePoint 2013 Central Administration – View Health Analyser Issue
Script to fix above issue:
# Get the tracing service.
$farm = Get-SPFarm
$tracingService = $farm.Services | where {$_.Name -eq “c2wts”}
# Get the “service” managed account.
$managedAccount = Get-SPManagedAccount “domain\serviceaccount”
# Set the tracing service to run under the managed account.
$tracingService.ProcessIdentity.CurrentIdentityType = “SpecificUser”
$tracingService.ProcessIdentity.ManagedAccount = $managedAccount
$tracingService.ProcessIdentity.Update()
# This actually changes the “Run As” account of the Windows service.
$tracingService.ProcessIdentity.Deploy()
Recent Comments