Installation or Reconfigure is failing to create schedule tasks and items associated with scheduled tasks

book

Article ID: 169630

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

The installation or reconfigure completes, but shared schedules are missing and purging maintenance won't load. 

During the configuration the following error will repeat in the logs for each scheduled task it tries to create: 

Unable to create Scheduled Task: NS.Task_Name {GUID.EN_US} 

Access is Denied

 

Resolution

Even if if you are able to create scheduled tasks manually while logged in as the App ID, we can still access denied messages during reconfiguration if it does not have proper permissiosn on C:\Windows\Tasks. Use the following command to give the built in adminisitrator group full control over the tasks directory.

CACLS C:\Windows\TASKS /E /G builtin\administrators:F

Check that Administrators have full control on the tasks folder and then run the reconfigure again.