Problem solved: just needed to run the BATCH file with administrator's rights.