I am trying to find any way I can to install a service to all my PC's by using a .bat file or .vbs file in their login scripts. We make changes to this service every day so having it install on a daily basis is fine.
I don't want to use any third party programs that need to be installed on the client machines.
I have a .bat file that works but requires the person to enter in the password manually. A long time ago I figured out how to make the .bat file call on a .ini file that has the password in it and this would override the users having to enter in the password.
my script looks pretty much like this.
runas /user:domainname\installuser "\\server\shares\setup.exe"
I don't really care how if it has to use .vbs, .bat or just call the info out of a .ini file.. I'm just stumped on how I got this to work last time.
EDIT: Moved from Vista to more appropriate Programming forum ~ Hamluis.
Edited by hamluis, 11 May 2010 - 02:32 PM.