Home » Questions » Computers [ Ask a new question ]

Run this bat file with admin rights

Run this bat file with admin rights

I have written a simple bat file to run a silverlight install at login.

Asked by: Guest | Views: 103
Total answers/comments: 1
Guest [Entry]

"Native runas cannot be passed a password, you'd have to use a 3rd party app. The following is free, the full version allows you to encrypt the password:

http://www.softtreetech.com/24x7/archive/53.htm

Then you could call the batchfile from within another batchfile containing the following:

runas user@domain.com password yourbatchfile.bat

That's about the best solution I can come up with for you ..."