Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Created Unassigned: Issue with SPTraceV4 and Managed Account automatic password changes [22453]

$
0
0
Brian,

Thank You for AutoSPInstaller - it makes deployment of SharePoint 2016 very simple.

There is an issue with how AutoSPInstaller is handling the SPTraceV4 service when provissioned. The ProcessIdentity for IsCredentialUpdateEnabled is set to False so once the password changes the service will not start, stating incorrect password. There seems to be an Event ID 5767, that happens once, in Event Viewer. Here is the event:
```
Level: Error
Source: SharePoint Foundation
Event ID: 5767
Task Category: Topology
General: Error updating the account password for process identity Id (GUID), please fix manually. The type initializer for 'System.Management.Automation.SessionStateScope' threw an exception.
```
I have run this PowerShell script to fix the issue in my environments.
```
Add-PSSnapin Microsoft.SharePoint.PowerShell

$SPService = "SPTraceV4"
$SPFarm = Get-SPFarm
$SPTimerv4 = $SPFarm.Services | Where {$_.Name -eq $SPService}
$SPTimerv4.ProcessIdentity.IsCredentialUpdateEnabled = $true
$SPTimerv4.ProcessIdentity.Update()
$SPTimerv4.ProcessIdentity
```
If the password is now generated from SharePoint the password in Services, for SPTraceV4, will get changed and the service will start normally.

Please contact me if you would like the MS case number.

Thank you,
Noral

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>