I couldn't get it to work either, so I just spent some time with VBScript and simplified what service.bat does, using property values instead of environment variables.I know it's not an answer to your question, but it is a workaround that definitely ...