Sunday, May 11, 2014

Error: Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPSolutionDeploymentJobDefinition

When I'm trying to deploy a custom SharePoint 2013 solution to my Test Farm using a PowerShell script I received the Folowing error :
Access denied.  Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPSolutionDeploymentJobDefinition, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=.....

Access denied.  Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPSolutionDeploymentJobDefinition


To fix this issue in Windows Server 2012 : you need to turn off UAC (User Account Control) via registry by changing the DWORD "EnableLUA" from 1 to 0 in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system".

User Account Control

 You will get a notification that a reboot is required. After the reboot, UAC is disabled.

The error is fixed.
Read about UAC in TechNet.

No comments:

Post a Comment