JeffBeall
asked on
windows 7 admin
Hello,
is there a good way to push a batch file out to 40 windows 7 enterprise pc's and then run the batch?
I have used psexec to remotely run a batch file on remote computers. but that has been just for one computer at a time.
I have also been playing with wmic and saw something about installing software on multiple computers, but I thought wmic only works with .msi installer files.
any ideas?
is there a good way to push a batch file out to 40 windows 7 enterprise pc's and then run the batch?
I have used psexec to remotely run a batch file on remote computers. but that has been just for one computer at a time.
I have also been playing with wmic and saw something about installing software on multiple computers, but I thought wmic only works with .msi installer files.
any ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am on an active directory domain, however, I am just an admin for local computers. I don't have access to active directory to use the startup scripts.
I can only do things in active directory like, add a user's account, or move computers.
the people that would be able to mess with the startup script are busy and said that I would have to find a way for myself, they wouldn't be available to do this.
I can only do things in active directory like, add a user's account, or move computers.
the people that would be able to mess with the startup script are busy and said that I would have to find a way for myself, they wouldn't be available to do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Interesting - I didn't know you could do \\* with psexec, though there are other ways. Noted :-)
Yup, quicker than putting together a computerlist.txt
I wouldn't use \\* especially if you have permission to any servers.
ASKER
thank you.
also instead of using a loop you can use psexec as follows
psexec @C:\mypclist.txt -c -f -s -d................
psexec @C:\mypclist.txt -c -f -s -d................
Does it need to run as the user or computer, I.e. what does it dodo as will need to be done differently for different purposes ORT there's might be a simpler way without psexec.
You can also use your ad domain to roll out software smart other ways.
Steve