'Cannot access the file' from psexec

Had to cancel a running BJS job which uses psexec to execute on a remote server

Getting the error

‘The process cannot access the file because it is being used by another process.’

We had this before and I found that running a noddy psexec command e.g.

psexec server -u username -p password dir

before the command you want to run seems to clear it up.

Not this time though. I went onto the remote server and stopped the psexec service. all now OK

Advertisements