Even if your login has administrator rights, you still have to run the .bat file "as administrator" or it will not work.