GPO Software installs, installing at every boot and login

Posted on 2012-09-06
Last Modified: 2014-02-07
We use both Computer side and user side installs via GPO.  Seeing recently where both are re-installing at every reboot or login, rather than recognizing the software is already installed.  Not occuring with every install, but most.  Each GPO is configured exactly the same way, just pointing to different .msi installs.  Server 2008 SR2; occuring on both WinXP Pro SP3 systems and Windows 7 Enterprise SP1.
Question by:sloth10k
    LVL 52

    Expert Comment


    You should be familiar with the event log, I suppose. Look for reasons, why the Installation Fails (I suppose it's failing to reinstall and retries and retries).
    LVL 53

    Expert Comment

    by:Will Szymkowski
    Are you using the software installation GPO to install the software or are you using a script to call an MSI? If you are using a script this is probably the issue as it cannot determine if the software has been installed and will continue to run each time the machine reboots.

    If you are using the Software Installation then I would run rsop.msc and see if the policy is failing somewhere. You can also check the event viewer to get more information on the Group Policies that have been applied.

    I would start there.

    Author Comment

    No errors in the log as it successfuly installs every time. Using Software Installation to point to an MSI that is in abn open share.
    LVL 32

    Expert Comment

    So you have this set to run at logon?  If that is the case, it will always run and install.

    If you want it to run at login you should create a script to do the following:

    check for a file in "%programfiles%\application directory\<fileName.txt>"
    If the file exists stop install process
    else if the file does not exist, start installation
    after installation completes, create file <fileName.txt>

    The above should run everytime a user logs on or the computer boots, if the application is not smart enough to be aware that the installation has already run.

    Hope this helps.

    Author Comment

    I think that's going to create a problem for version updates of these applications.  We could change the .txt file and the script each time, but that could get a bit tedious.
    LVL 32

    Accepted Solution

    Yes and no. I had a similar issue a year or so back. There's much you can do. And yes that's what I had to do was to create. Versioned text file name.

    If you are only updating every few month instead of every week this should not be that big an issue. In the end, it's only one script and one line you have to update for your GPO deployment. ...just a thought.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

    755 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

    22 Experts available now in Live!

    Get 1:1 Help Now