 |
How to create a batch file to run cmd as administrator - Stack Overflow
You might have to use another batch file first to launch the second with admin rights. In the first use runas /noprofile /user:mymachine\administrator yourbatchfile.bat Upon further reading, you must be able to type in the password at the prompt. You
stackoverflow.com |
 |