I have a peculiar issue with task scheduler in Windows 7. I have programatically added a task specifying certain parameters ( set the parameters using ITask::SetParameters ()). Then I modified the parameters again with new value.When I changed the parameters using ITask::SetParameters (), It returns S_OK, I save it using IPersistFile::Save(). It is also returning S_OK.
But, when I open 'Task Scheduler', I see the task is still holding the old parameters!!.
I am confused with this behavior. This problem does not happen with Windows XP.
Need your help.