I have a Windows Server 2012 Standard, named DC. This server is a Domain Controller. I have Sharepoint 2013.
The domain is DEVRSG.COM. I log on in DC machine using DEVRSG\Administrator, is Domain Administrator.
The user for execute powershell that I use is DEVRSG\svcwss.
The user DEVRSG\svcwss:
- belongs to WSS_ADMIN_WPG group
- belongs to Administrators group (devrsg.com/Builtin)
- belongs to Active Directory - Domain Users
- is a Farm Administrator
- is SPShellAdmin (I use command Get-SPShellAdmin)
- has permissions on Sharepoint_Config and Sharepoint_AdminContent_{GUID} databases.
Note:
I try add the user to the local administrator group but the server is Domain Controller.
Thuan Nguyen SharePoint MVP @nnthuan says
"You CAN'T create a local account on the domain controller."
Run the Sharepoint 2013 Management Shell as the user DEVRSG\svcwss.
I try to execute a powershell script for deploy a WSP (Add SPSolution, features, etc).
I get "Access denied." error
WriteTraceErrorException : Message: Access denied.. StackTrace: at
Microsoft.SharePoint.Administration.SPSolution.EnsureSolutionOperationPermission()
at Microsoft.SharePoint.Administration.SPSolutionCollection.Add(String path, String name, UInt32 lcid, Boolean
isRestore)
at Microsoft.SharePoint.Administration.SPSolutionCollection.Add(String path, UInt32 lcid)
at Microsoft.SharePoint.PowerShell.SPNewCmdletBase1.InternalProcessRecord()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
At C:\Temporal\Instalacion_DeploySharepointEscritorio_Pub\common.ps1:282 char:3
+ WriteTraceErrorException($_.Exception)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,WriteTraceErrorException
any suggestions?