Solved

Help with a startup script group policy

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Suggested Courses

623 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