I've been having Permissions issues running the code below on XP machines, Win2k executes fine.

When the code is executed it will create an instance of the QTP object on the RemoteMachine and load the test file successfully, but then the script will error out when I attempt to call qtApp.Options.Run.RunMode = "Fast" or anything beyond that.

The Error is Permission Denied "Run"
I am logged in as local Admin on both machines which are in a workgroup.
DCOM is set on both machines...
Is it some XP SP2 security ?
Firewall is disabled.

</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Public qtApp 'As QuickTest.Application ' Declare the Application object variable
szDeviceName = fConvertDeviceType(cConn.Connect,Environment.Value (&quot;TestPlanName&quot,rsTestStep.Fields(&quot;DeviceType&quot.Value)
Set qtApp= CreateObject(&quot;QuickTest.Application&quot;,szD eviceName) ' Create an instance of the QTP Application on the remote device
If Not qtApp.Launched Then
End If
If Not qtApp.Visible Then
qtApp.Visible = True
qtApp.WindowState = &quot;Minimized&quot;
End If
If bRunOnce = FALSE Then
qtApp.Open &quot;C:\Program Files\Mercury Interactive\QuickTest Professional\Tests\Remote_Script\&quot; 'Open Remote MainScript within instance created.
bRunOnce = TRUE
End If
qtApp.Options.Run.RunMode = &quot;Fast&quot;
qtApp.Test.Environment(&quot;TestClassPath&quot = Environment(&quot;TestClassPath&quot
qtApp.Test.Environment(&quot;DBConn&quot = cConn.Connect
qtApp.Test.Environment(&quot;TestCaseID&quot = iTestCaseID
qtApp.Test.Environment(&quot;TestPlanName&quot= Environment.Value(&quot;TestPlanName&quot
qtApp.Test.Environment(&quot;TestStepType&quot= rsTestStep.Fields(&quot;TestStepType&quot.Value
qtApp.Test.Environment(&quot;TestStepDescription&q uot= rsTestStep.Fields(&quot;TestStepDescription&quot.Value
qtApp.Test.Environment(&quot;TestStepID&quot= rsTestStep.Fields(&quot;TestStepID&quot.Value
qtApp.Test.Run,False ' Run the test
'While actual test is executing TestStepType... Wait
While qtApp.GetStatus = &quot;Busy&quot; OR qtApp.GetStatus = &quot;Running&quot;
Wait 5

</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">