Solved

Installing .msi file on remote PC's? PsiExec?

Posted on 2014-12-11
8
400 Views
Last Modified: 2014-12-11
hi guys,

I have a situation where we have a windows 2003 server consisting of a .msi file that needs to be installed on quite a lot of remote PC's (all on the same domain as the server).

Quite a lot of the PC's are Windos XP PC's (sadly). There are some Windows 7 ones also.

My question is this:

1.  Would you create a batch file that runs on the PC's and looks at the .Msi file on the network share and uses 'Msiexec' command? (or does the .Msi file need to be copied onto each local PC?)

2. Is it possible to install the .Msi file directly from the server to the PC's using something called Psiexec?

Either way, if you were me, how would you conduct this?

Thanks
Yashy
0
Comment
Question by:Yashy
  • 3
  • 3
  • 2
8 Comments
 
LVL 5

Accepted Solution

by:
Dilip Patidar earned 400 total points
ID: 40493539
Hello,

If you are using Active Directory then you can do this task via GPO.

You have to create a Group Policy and for create a Application Deployment policy

For Deployment step refer the below URL:
http://community.spiceworks.com/how_to/show/8595-deploy-msi-s-through-your-network-with-gpo

Dilip Patel
0
 
LVL 5

Expert Comment

by:Dilip Patidar
ID: 40493543
1 point more. After deployment of the GPO Open cmd and apply the Command "gpupdate /force" and restart the client machine.
0
 
LVL 69

Assisted Solution

by:Qlemo
Qlemo earned 100 total points
ID: 40493615
PsExec from www.sysinternals.com is great if you want to execute something forcefully and immediately on a bunch of machines. There are, however, some issues with it.
Usually the GPO approach is the best one in a domain.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Author Comment

by:Yashy
ID: 40493624
Hey Dilip,

Thanks for the feedback. However, I can't log onto each machine and do a gpupdate /force, as it will mean logging onto around 80 Pc's which will take forever. Can I just get them to restart their PC's instead?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40493631
GPOs are applied regularly or after reboot. gpupdate /force just speeds up the process.
0
 
LVL 1

Author Comment

by:Yashy
ID: 40493641
Thanks Olemo:)
0
 
LVL 1

Author Comment

by:Yashy
ID: 40493711
One question though guys, this method doesn't let it do a silent install right? I would need to create a batch file if I want that to happen right?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40493716
Yes, you will need to call msiexec with e.g. /quit, maybe an unattended install file etc.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question