Link to home
Start Free TrialLog in
Avatar of JeffBeall
JeffBeallFlag for United States of America

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?
SOLUTION
Avatar of NinjaStyle82
NinjaStyle82
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of NVIT
NVIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Presumably you have a domain, in which case through group policy if this is for every startup.

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
Avatar of JeffBeall

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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
thank you.
also instead of using a loop you can use psexec as follows

psexec @C:\mypclist.txt -c -f -s -d................