process performance counter problem

Hi all,

I have the following code:

Dim aa As New System.Diagnostics.Process()
If g_watchdog.ToUpper = "Y" Then
'myproc.EnableRaisingEvents = False
Try
myproc.Start(WatchDog_Path)
PAry = aa.GetProcesses
Dim p As Process
For Each p In PAry
If p.ProcessName = WatchDogName Then
WatchDog_ID = p.Id.ToString
Exit For
End If
Next
Catch exp As Exception
MsgBox(exp.ToString)
End Try
End If

When I test run on my machine, I don't have any problems.

However, when I run the above program in other machine,
system prompt the following message:
"Process performance counter is disabled, so the requested operation cannot be performed."

How can I solve this problem?

Thanks a lot
[1059 byte] By [SLOBA] at [2007-11-18 2:13:47]