Question Locked

How to Run bat file as a local administrator

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

2 replies

by daveaaa3

Just a thought, but I've used it in the past for remote execution of utilities and such.

This discussion is closed to new replies.