Solution:
1. Save as changeaccounts_sptracev4.ps1 and run
# Get the Tracing Service. $ farm = Get-spfarm $ tracingservice = $ farm. Services | where {$ _. Name-EQ " Sptracev4 " } # Get " Svc_sp_services " Managed account. $ managedaccount = Get-spmanagedaccount " * *** \ Defaservice Service " # Set the Tracing Service to run under the managed account. $ tracingservice. processidentity. currentidentitytype = " Specificuser " $ Tracingservice. processidentity. managedaccount = $ managedaccount $ tracingservice. processidentity. Update () # This actually changes " Run " Account of the Windows service. $ tracingservice. processidentity. Deploy ()
2. Add "**** \ defaultservice" to the performance log users of the Local Group.
3. Restart the sptracev4 service.
Reference: http://blog.octavie.nl/index.php/2010/11/12/using-a-domain-account-for-sptracev4-service/
Solution:
1. Save as changeaccounts_sptracev4.ps1 and run
# Get the Tracing Service. $ farm = Get-spfarm $ tracingservice = $ farm. Services | where {$ _. Name-EQ " Sptracev4 " } # Get " Svc_sp_services " Managed account. $ managedaccount = Get-spmanagedaccount " * *** \ Defaservice Service " # Set the Tracing Service to run under the managed account. $ tracingservice. processidentity. currentidentitytype = " Specificuser " $ Tracingservice. processidentity. managedaccount = $ managedaccount $ tracingservice. processidentity. Update () # This actually changes " Run " Account of the Windows service. $ tracingservice. processidentity. Deploy ()
2. Add "**** \ defaultservice" to the performance log users of the Local Group.
3. Restart the sptracev4 service.
Reference: http://blog.octavie.nl/index.php/2010/11/12/using-a-domain-account-for-sptracev4-service/