Aidan Garnish

Collaboration Not Competition

SharePoint 2010 SPTimer job won't activate

...and the error you see in ULS viewer is "The SPPersistedObject, XXXXXXXXXXX, could not be updated because the current user is not a Farm Administrator"

Solution can be found here - - cheers Paul!

Script to turn off remote administration security is:

# AUTHOR: Paul Kotlyar
# DESCRIPTION: sets an option on content web service that allows updating of SP Administration objects such as SPJobDefinition from content web applications
function Set-RemoteAdministratorAccessDenied-False()
 # load sharepoint api libs
 [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > $null
 [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration") > $null

  # get content web service
 $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
  # turn off remote administration security
 $contentService.RemoteAdministratorAccessDenied = $false
  # update the web service