Try to authenticate for permissions first like using RUNAS etc, but ((( This is a security vulnerability having the credentials in a batch ))) If it must be in a batch, I'd complile it to an EXE for an extra layer of security, although still not very safe from determined individuals.