How to use WMI Kill Process and WMI Run Process

First what I am trying to do:

Stop a process on remote machine.

Copy newly built exe to remote machine.

Run the newly copied exe on the remote machine.

Repeat for a second machine.


I have successfully managed this with the first machine using WMI Kill Process to stop and WMI Run Process to start however when I tried the same thing on the second machine it failed.

The WMI Kill Process fails with 'An error occured retrieving the process names : Access is denied'.

I realise this probably not a FinalBuilder problem (well other than the fact that the error message mis-spells occured - it should be two r's) but was hoping someone might be able to point me in the right direction to solve this.

I'm using FinalBuilder 7.0.0.2056 on Windows Server 2003.

Both machines I'm attempting to connect to are running Windows Server 2008


Cheers

Sounds like a permissions issue, this might help : http://social.technet.microsoft.com/Forums/windowsserver/en-US/4f33837b-1cb1-4648-85b1-3ba87cbfe93e/wmi-remote-access-denied

It did turn out to be a permissions issue - eventually managed to get it working.

I have uncovered a problem with FinalBuilder though - there is an options section which is labelled ‘Put Process ID into FinalBuilder Variable :’. If this is left blank it fails and if the variable doesn’t exist (I copied the actions from my test project to my main project) it also fails - despite the text ‘If the FinalBuilder variable does not exists, it will be created’.

Cheers

I have logged the “If the FinalBuilder variable does not exists, it will be created” issue in our bug tracker and can see the action validation complaining. Thanks for reporting this.