Questions

How to Run bat file as a local administrator

+
0 Votes
Locked

How to Run bat file as a local administrator

scott_langshaw2
Hi All

I have a bat file i need to run on my network this needs to be run on all my machines to run a update. I have placed the following command in the bat file to prompt to input a password for a domain admin so the bat file can run.

runas Usage: /user: DomainName\DomainAdmin

This prompts for a password but says RUNAS ERROR: Unable to acquire users password.

Does anyone know of any other way of running this as a domain admin on the network