Using runagentsetup.bat

I used to be able to run the runagentsetup.bat file out of the /current/bin folder for windows software connectors to update that connector or change something in  the connector.

For some reason this does not work anymore, every time I run it ( and I do run it from administrative command prompt) on 2008 R server the command starts and then errors out with the below error. This is happening on 2008r2 and 2012 r2 severs even though I running the command prompt with " run as administrator"

below is the error  I see:


Anyone come across this? and have a fix?

Thank you