How to Run bat file as a local administrator - TechRepublic
Question
December 1, 2010 at 12:53 AM
scott_langshaw2

How to Run bat file as a local administrator

by scott_langshaw2 . Updated 15 years, 7 months ago

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

This discussion is locked

All Comments