Missing some of the default Scheduled Tasks on the Notification Server
Last Updated March 23, 2007
For some reason, some of the default Scheduled Tasks (under Control Panel > Scheduled Tasks), such as Notification Server.Always Refresh Collection Update Schedule or NS.Collection Delta Update Schedule, are missing.
If I check on the Altiris database for the GUID associated to the Scheduled Task, I am able to find references of it in the database:
select * from item where guid = '7838ff56-a02b-465e-9c32-0307e32f0a47'
This can be caused by a
GPO preventing the creation of Scheduled Tasks.
It is possible that during the installation or repair of the Notification Server that the Scheduled Tasks were not created and added to the C:\Windows\Tasks folder.
NOTE:: Be sure to check for Group Policy Objects that might restrict the creation of Windows Scheduled Tasks. If Scheduled Tasks can not be created manually, the following solution will not work.
Copy the two C# scripts in the attached ZIP to the \Program Files\Altiris\Notification Server\bin folder.
Copy the tasks in theC:\Windows\Tasks folder to a temporary location.
Delete all the tasks in the Tasks folder.
Go to the \Program Files\Altiris\Notification Server\bin folder. Drag and drop the reimportscheds.cs onto NScript.exe
Repeat step c using the refreshschedules.cs file.
Note: If by dragging and dropping the .cs files, you get error messages saying that you can run those scripts, do the following:
Try opening Run prompt (Start > Run) and pull the nscript.exe file from the \Notification Server\bin directory down into the Start > Run dialog.
Put your cursor from this Run prompt command at the end of the path of the nscript.exe file.
Pull the reimportscheds.cs file to the Run prompt. The path of the reimportscheds.cs should be after the path to the nscript.exe file with a space in between the paths. It should like this: