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

Cause: The error is due to the user that ran the script does not have machine administrator privileges.

Solution: Please find solutions below to resolve the issue.

Solution1: You will get the needed permissions as a Machine Administrator when you start the particular application with “Run As Administrator”.

Solution 2: Configure the UAC (UserAccountControl) in a way to always be Machine Administrator.

To do this you need to turn off UAC (User Account Control) via the registry by changing the DWORD "EnableLUA" from 1 to 0 in

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system".

Reboot the server once the update is done.


- See more at: http://expertsharepoint.blogspot.de/2014_09_17_archive.html#sthash.UFlr2oum.dpuf