you need a mel script on the render globals (from my memory.., ) to use mental ray when you render without maya open. from memory.., if you batch file using only the file.., only the maya software is available.
dont know the script by heart (memory) but someone here might help.
take it easy and life will be easy