Quantcast
Channel: autospinstaller Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1245

Edited Issue: ULS Logging [20922]

$
0
0
Hi,

In addition to this topic, i would suggest to add also the farm account itself to Performance Log Users to prevent from following error:

http://social.technet.microsoft.com/Forums/sharepoint/en-US/f7adf4d7-ab92-43cd-8616-2b079e86378b/session-officesearch14healthsession-failed-to-start-with-the-following-error-0xc0000022?forum=sharepointgeneralprevious

this may happened if we remove later the farm account from local administrators group. I modified the script's ConfigureTracing function by adding:


$farmAcct = $xmlinput.Configuration.Farm.Account.Username
Write-Host -ForegroundColor White " - Adding $farmAcct to Performance Log Users" -NoNewline
$farmAcctDomain,$farmAcctUser = $farmAcct -Split "\\"
Try
{
([ADSI]"WinNT://$env:COMPUTERNAME/Performance Log Users,group").Add("WinNT://$farmAcctDomain/$farmAcctUser")
If (-not $?) {Throw}
}
Catch {Write-Host -ForegroundColor White " - $farmAcct is already a member of `Performance Log Users`."}

Before updating process identity.

Viewing all articles
Browse latest Browse all 1245

Trending Articles