configured SCOM 2007 R2 ScriptTrace Log

1.%programfiles%\system center opereations manager 2007\tools\scripttracecontrol stop
2.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd start ALL
3.once we have the next error run...

Please perform these steps and waiting a short time.
1. Stop the MOM Health Service on the agent server.
2. Delete all files in C:\Program Files\System Center Operations Manager 2007\Health Service State\
3. Start the MOM Health Service.
4. Check C:\Program Files\System Center Operations Manager 2007\Health Service State\ to verify the files were recreated.

waiting a short time

5.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd stop
6.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd format

Then verify that the %windir%\temp\OpsMgrTrace\TracingGUIDsScript.log has some data in it.