Hi,
It would be helpful to know what the task is? Is this a commercial app or program such as MS Word, or Photshop, or a program that you wrote? There are programming and script monitoring programs to help with debugging a program that is malfunctioning that you improperly coded versus one that your downloaded for free or purchased.
Also, system specs on your hardware would be helpful, such as Make/Model of computer, RAM size/specs, HDD make/model/size, etc. If you don't have these or cannot find them, we suggest you go to Link Removed and download the free SPECCY diagnostic. Run the program and then upload the resulting .txt file back here to this thread for further analysis.
You could use Windows7 built-in Task Manager to look at the services, and the Event Viewer log to troubleshoot further. Have you tried running the task in Safe Mode? Does the task start in Safe Mode? If it does, you could have too many programs launching in your Startup group, and you'll have to remove them one by one to find the offending one causing the delay. Safe Mode is a good way to test as it removes all but the most basic services and programs needed to run Windows such as system files to display the desktop, Internet, audio/video base resolution etc.
<<<BIGBEARJEDI>>>