Overview

Details
..
Client Install / RIS
..
Drivers in RIS
..
Auto Server Setup w2k
..
Auto Server Setup w2k3
..
Application Distribution
..
MSI Tricks
..
Backup / Restore
..
Magic Boot Scripts
..
Magic Login Scripts
..
ADSI with Perl
..
User and Host Management
..
User Profile Management
..
License Management
..
Set ACLs from VBS

Downloads

Failures

Resources

Mailinglist

Cast & Crew
Real Men don't click
Application Deployment with GPO
by Manuel Oetiker <moetiker@ee.ethz.ch>

Group Policies (GPO) are not scriptable and it is possible to set thousands of settings by clicking with the mouse. We did not find a tool to backup GPOs and import them after a crash. The only possibility is to restore the ActiveDirectory and the GPOs together but this helps only if you want to restore an entire server.

We would like to have a tool that syncs a configuration file with a GPO. At the moment we manually write a description what we have changed in the GPO this requires a lot of discipline from all involved.

There exist now VBscript's from Microsoft which allows to do some kind of backup.

http://www.microsoft.com/windows2000/techinfo/howitworks/management/grouppolicy.asp

savepol (Backup) loadpol (Restore)

We use Group Polices primarily for application deployment. It is very important to setup a good structure for your GPOs from the start. Once you have 100s of PCs running it is very hard to change something.

Active Directory

First I will describe how we have setup your active Directory system.

[root]--[hades]
          |
       [Builtin]         (Builtin groups)
          |
       [Computers]
          |
       [Domain Controllers]
          |
       [ ee ]----------[biwi]  (Computer and User)
          |              |
          |            [isg]   (Computer and User)
          |              |
          |            [dept]----[zhadum] (Terminal Server OU)
          |              |
          |            [....]
          |
       [plain]           (Computers for msi repackage)
          |
       [Policy Store]    (Location of all Group Polices)
          |
       [Users]           (Builtin users)

We created three main OUs (Organizational Units) the [ee] OU represents your department (Electical Engineering). The [plain] OU is the machines with a minimal set of applications. We use these boxes to create MSIs. [Policy Store] is for Group Policies. We use this OU to store all our policies. From there we then link to into the appropriate OUs. Under the OU [ee] we have further OUs for each of the labs.

Structure of a GPO ( Group Policy)

A single GPO can contain settings for all sorts of things. Security, application deployment, you name it. In order to keep the complexity down to a manageable level, we keep one or more GPOs for each kind of settings:

  • general-settings (Settings for all OU)
  • server-settings-[name] (Settings for a Terminal Servers)
  • software-assigned (all assigned software)
  • software-published(all published software)
  • client-software-assigned (all assigned client software)
  • client-software-published (all published client software)

How to create amd link group policy

Under Start --> Programs --> Administrative Tools --> Active Directory Users and Computers right mouse click on policy store go to properties click the tab Group Policy. New creates a new policy. After this the GPO is created with default settings and looks like:

[general-settings] hades@charon
        |
[Computer Configuration] ------> [Software Settings]
        |                        [Windows Settings]
        |                        [Administrative Templates]
        |
[User Configuration] ----------> [Software Settings]
                                 [Windows Settings]
                                 [Administrative Templates]

We decided to create all GPO at the same OU so we know where they are. In fact it has no effect on the functionality. You can assign a GPO to an OU by opening the property dialog and click the add button in the GPO tab. The linked GPO is now active for all objects below this point. In our AD we linked the settings on the [ee] OU and block all settings on a OU of a terminal server (zhadum) because a terminal server has other settings. This made it possible for us to have a quiet simple setup.

Manage and deploy Software

We have two types of software deployment.

Computer Assigned Software

This software is assigned to the computers and gets installed after the computer is started. There is no way for a user to change anything. We assigned the software that everzbody needs. All icons of the software will be installed under all users start menu.

Now after one year of use we realized that this is a very bad idea for big package like office. We like to update office now, bat this mens update all clients in one big go. As you can think with all dies profiles and stuff this is a high risk if something brakes we have 100 users in one step which have this problem. At the moment we do not use this "assigned software" any more.

  • Office ( Word .. )
  • Virus Protection
  • Compression Utility
  • Editor
  • Mail Client
  • Document Viewer

User Published Software

This software gets installed by the user. In the control panel add/remove programs, software package can be installed by the user. The installation process starts with no questions and user intervention. All icons from the software will be installed in the start menu of the user.

This has the strange effect, that if another user wants to use the same software on the this computer he has to install the software again. We would like to have Computer published software so if a software is installed on a computer, all users on this computer could use the software but this is not possible with w2k. But what can you expect form a broken concept?

Configure the AD GUI (mmc)

In the microsoft management console (mmc) it is possible to save the views. We made a view with bookmarks on all GPO section of software. We can now add an remove software from these GPO without searching for the GPOs through the whole AD tree.

appmgr: The Manager for Published Applications

We use appmgr to save a list of currenlty installed user published applications and then restore the selected set of applications on the same or a different machine.

This is useful if we have to reinstall a windows machine. Normally, the user wants the same applications installed as before.

2001-05-25moInitial Version
2001-05-26toSpell and Wording update
2002-11-21moadd information about assigned and backup thanks (Dirk)
2006-02-22dradd chapter about the appmgr
Manuel Oetiker  //  2007-03-23  //  Copyright 2001, ETH Zurich