Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help with a startup script group policy

Posted on 2013-12-27
1
Medium Priority
?
385 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

660 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