Can you help us on, how to start the SQLSERVERAGENT and
how to know programatically is SQLSERVERAGENT is started or not in
This does not exactly answer your question, but might help.
To programmatically test to see if SQL Server Agent is running:
IF NOT EXISTS (
WHERE program_name = N'SQLAgent - Generic Refresher'
PRINT N'The SQL Server Agent process is not running.'
PRINT N'The SQL Server Agent process is running.'
This code works on both SQL Server 7 and SQL Server 2000. However, it is undocumented.