Microsoft KB Archive/834487

= How to install Microsoft TechNet products by using Group Policy =

Article ID: 834487

Article Last Modified on 11/27/2007

-

APPLIES TO


 * Microsoft TechNet 2004 Standard Edition
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 2

-



SUMMARY
''This article describes how to use Group Policy to install Microsoft TechNet products by using the Assigned option to assign the software to users or to computers in a domain. This article also describes on how to verify that the software that you have assigned to a user or to a computer to be installed by using Group Policy is installed correctly.''



IN THIS TASK

 * INTRODUCTION
 * Use Group Policy options to distribute a program
 * Create a distribution point
 * Start Active Directory Users and Computers
 * Start Group Policy Object Editor
 * Assign a package to a user
 * Verify that the package that you assigned to the user installs correctly
 * Assign a package to a client computer
 * Verify that the package that you assigned to the client computer installs correctly
 * REFERENCES



INTRODUCTION
This step-by-step article describes how to use Group Policy to install Microsoft TechNet products that include service packs and other utilities through Active Directory.

back to the top

Use Group Policy options to distribute a program
When you use Group Policy to distribute a program, you can assign the program to users or to computers, or you can publish the program to users. The differences between these options are as follows:
 * Assign

If you assign the program to a user, the program is installed when the user first logs on to the computer.

If you assign the program to a computer, the program is installed when the computer starts. If you assign the program to a computer, the program is available to all users who log on to the computer.

In both cases, the installation is completed when a user first runs the program.
 * Publish

If you publish the program to users, when the user logs on to the computer, the published program appears in Add or Remove Programs in Control Panel. The user can install the program from Add or Remove Programs.

back to the top

Create a distribution point
To publish or to assign software, you must create a distribution point on the server. To do this, follow these steps:  Log on to the server computer as an administrator. Create a shared network folder where you put the Microsoft Windows Installer package that you want to distribute. This folder is the distribution point for the software package. Set permissions on the shared network folder to permit access to the distribution package. Give access permissions to the administrators, to authenticated users, and to domain users. Run the administrative installation to copy the files to the distribution point. To do this, run the following command:

msiexec /a tn.msi

Note The Tn.msi file is a Microsoft Windows Installer package for any TechNet product.

back to the top

Start Active Directory Users and Computers

 * 1) On a domain server computer, click Start, point to Settings, and then click Control Panel.
 * 2) Double-click Administrative Tools.
 * 3) Double-click Active Directory Users and Computers.

back to the top

back to &quot;Assign a package to a client computer&quot;

Start Group Policy Object Editor

 * 1) In the console tree of Active Directory Users and Computers, right-click your domain, and then click Properties. The   Properties dialog box appears.

Note is a placeholder for the name of the domain of your computer.
 * 1) In the   Properties dialog box, click the Group Policy tab.
 * 2) Click the Group Policy object, and then click Edit.

back to the top

back to &quot;Assign a package to a client computer&quot;

Assign a package to a user
 In Group Policy, expand User Configuration, expand Software Settings, and then click Software Installation. On the Action menu, point to New, and then click Package. The Open dialog box appears.</li> In the File name box, type the full Universal Naming Convention (UNC) path of the shared installer package that you want to distribute. Type this path in the following format:

\\ \ \

Notes

is a placeholder for the server name or IP address of the computer where the shared folder is located.

is a placeholder for the shared folder that is on the server computer.

is a placeholder for the Windows Installer package.

Make sure that you use the UNC path of the shared installer package.</li> Select the Windows Installer package, and then click Open. The Deploy Software dialog box appears.</li> Click the Assigned option, and then click OK. The shared installer package that you selected appears in the right pane of Group Policy.</li> Close Group Policy.</li> Click OK to close the Properties dialog box.</li></ol>

back to the top

Verify that the package that you assigned to the user installs correctly
If the user whom you assigned the package to is logged on to a computer that is in the same domain where the package is located while you are assigning the package, the user must log off the computer before the installation will start.

The next time that the user whom you assigned the package to logs on to a computer in the domain, a message appears that indicates that the software is being installed.

back to the top

Assign a package to a client computer
 Repeat the steps in the &quot;Start Active Directory Users and Computers&quot; section of this article.</li> Repeat the steps in the &quot;Start Group Policy Object Editor&quot; section of this article.</li> In Group Policy, expand Computer Configuration, expand Software Settings, and then click Software Installation.</li> On the Action menu, point to New, and then click Package. The Open dialog box appears.</li> In the File name box, type the full Universal Naming Convention (UNC) path of the shared installer package that you want to distribute. Type this path in the following format:

\\ \ \

Notes

is a placeholder for the server name or IP address of the computer where the shared folder is located.

is a placeholder for the shared folder that is on the server computer.

is a placeholder for the Windows Installer package.

Make sure that you use the UNC path of the shared installer package.</li> Select the Windows Installer package, and then click Open. The Deploy Software dialog box appears.</li> Click the Assigned option, and then click OK. The shared installer package that you selected appears in the right pane of Group Policy.</li> Close Group Policy.</li> Click OK to close the Properties dialog box.</li></ol>

back to the top

Verify that the package that you assigned to the client computer installs correctly
If the client computer that you assigned the package to is in the same domain where the package is located while you are assigning the package, the client computer must be restarted before the installation will start.

When the client computer restarts, a message appears that indicates that the software is being installed.

back to the top

<div class="references_section">