Solved

Help with a startup script group policy

Posted on 2013-12-27
1
360 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

912 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now