Solved

Help with a startup script group policy

Posted on 2013-12-27
1
364 Views
Last Modified: 2014-01-12
Hello Experts,

I have been asked to uninstall all old versions of Adobe Flash and install the newest version on several hundred PCs.  I’ve read about doing this with a GPO or through SCCM (we use SCCM 2007), but I have not been successful with either of these options.  The cleanest way I have found to do this is using the following script (named AdobeFlashInstall.cmd):

taskkill /f /t /im iexplore.exe
pushd "\\netapp3140a\sccmdata$\sources\apps\AdobeFlashPlayer"
Uninstall_flash_player.exe -uninstall -force
Install_flash_player_11_active_x.msi /QB!
Popd

My question to you is what would be the best way to run this script on the remote PCs.  My initial thought was to configure a startup script GPO.  I did the following steps in setting this GPO up”

Open Group Policy Manager
Created a new group policy object named FlashInstall
Edited the GPO as follows:
      Computer Configuration-Policies-Windows Settings-Scripts-Startup
      Added the following script:
      \\netapp3140a\sccmdata$\sources\apps\AdobeFlashPlayer\AdobeFlashInstall.cmd
Linked the GPO to my test OU
Ran a gpupdate on my PC (which is in the test OU)
Rebooted.

After the reboot my old Flash was still on the PC and the new one was not installed.  Can anyone see what I’m doing wrong?  Is there a good way of doing this with SCCM?

Thanks,
Nick
0
Comment
Question by:ndalmolin_13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
piattnd earned 500 total points
ID: 39742905
Sometimes it tries to process group policies before network connectivity is fully available, so processing network based scripts don't function properly (or a network based installer won't execute properly).

Try this link:

http://technet.microsoft.com/en-us/magazine/gg486839.aspx
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

763 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