Loading

SharePoint 2010 AutoSPInstaller Manage Account creation error

Error

Command cannot be executed due to the error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
At G:DeploymentSP2010AutoSPInstallerAutoSPInstallerFunctions.ps1:1012 char:
18
+ Start-Process <<<< -FilePath "$env:SYSTEMROOTSystem32cmd.e
xe" -ArgumentList "/C" -LoadUserProfile -NoNewWindow -Credential $credAccount
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOp
erationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.C
ommands.StartProcessCommand.
WARNING: - Could not create local user profile for XXXXXXXXXXXXXX

Resolution

 Log on to the computer as Administrator, or log on as a user who has administrative permissions.

  1. Right-click the My Computer icon, and then click Manage.
  2. In Computer Management, expand the Services and Applications node, and then click Services.
  3. In the details pane, right-click the Secondary Logon service, and then click Properties.
  4. In the Properties dialog box, set Startup type to Automatic, and then click Start.
  5. After the computer starts the service, click OK to close the Properties dialog box, and then close Computer Management.

Leave a Reply

Your email address will not be published. Required fields are marked *