dude02
asked on
Group Policy
I need to push out 4 .msp files to each workstation. This file needs to run only one time. Is there a way to push out a .bat file and have it run once automatically on each workstation?
This is my config for the .bat file:
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix3. msp" /l*v "%WINDIR%\Temp\Hotfix Installation.log" /quiet /norestart
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix4. msp" /l*v "%WINDIR%\Temp\Hotfix Installation.log" /quiet /norestart
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix5. msp" /l*v "%WINDIR%\Temp\Hotfix Installation.log" /quiet /norestart
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix6. msp" /l*v "%WINDIR%\Temp\Hotfix Installation.log" /quiet /norestart
This is my config for the .bat file:
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix3.
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix4.
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix5.
msiexec.exe /update "OrmedMIS_2013_Q4_Hotfix6.
ASKER
Thanks for the quick reply. How do I setup this script to install each .msp file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Put the msp files into a share that allows the group "Domain Computers" Read access, and use this script as Startup (or Shutdown) script:
Open in new window
The script uses a flag file to track the installation success; if there are files or registry keys that are set once a patch is installed, the check could be changed accordingly.If the patches need longer than 10 minutes to install, you need to set another policy to extend the timeout: “Maximum wait time for Group Policy scripts” in “Computer Configuration\Administrati
An alternative might be PsExec (http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx), but that's only good for a relatively small number of clients and if you're sure they're all running.