How to install Microsoft TechNet products by using Group Policy (834487)
The information in this article applies to:
- Microsoft TechNet
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Professional SP2
SUMMARYThis 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. INTRODUCTIONThis 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 topUse 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 topCreate 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:Note The Tn.msi file is a Microsoft Windows Installer package for any
TechNet product.
back to the topStart Active Directory Users and Computers- On a domain server computer, click Start,
point to Settings, and then click Control
Panel.
- Double-click Administrative
Tools.
- Double-click Active Directory Users and
Computers.
back to the
topback to "Assign a package to
a client computer"Start Group Policy Object Editor- In the console tree of Active Directory Users and
Computers, right-click your domain, and then click
Properties. The Domain name
Properties dialog box appears.
Note Domain name is a placeholder for the
name of the domain of your computer. - In the Domain name
Properties dialog box, click the Group Policy
tab.
- Click the Group Policy object, and then
click Edit.
back to the
topback to "Assign a package to
a client computer"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.
- 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:
\\Server name or Server IP\sharedfolder\file name.msi Notes Server name or Server IP is a
placeholder for the server name or IP address of the computer where the shared
folder is located.
sharedfolder is a
placeholder for the shared folder that is on the server
computer.
file name.msi is a placeholder
for the Windows Installer package.
Make sure that you use the UNC path
of the shared installer package. - Select the Windows Installer package, and then click
Open. The Deploy Software dialog box
appears.
- Click the Assigned option, and then click
OK. The shared installer package that you selected appears in
the right pane of Group Policy.
- Close Group Policy.
- Click OK to close the
Properties dialog box.
back to the topVerify that the package that you assigned to the user installs correctlyIf 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 topAssign a package to a client computer- Repeat the steps in the "Start Active Directory Users and Computers" section of
this article.
- Repeat the steps in the "Start Group Policy Object Editor" section of this
article.
- In Group Policy, expand Computer
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.
- 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:
\\Server name or Server IP\sharedfolder\file name.msi Notes Server name or Server IP is a
placeholder for the server name or IP address of the computer where the shared
folder is located.
sharedfolder is a
placeholder for the shared folder that is on the server
computer.
file name.msi is a placeholder
for the Windows Installer package.
Make sure that you use the UNC path
of the shared installer package. - Select the Windows Installer package, and then click
Open. The Deploy Software dialog box appears.
- Click the Assigned option, and then click
OK. The shared installer package that you selected appears in
the right pane of Group Policy.
- Close Group Policy.
- Click OK to close the
Properties dialog box.
back to the topVerify that the package that you assigned to the client computer installs correctlyIf 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 topREFERENCESFor more information about software installation and Group
Policy, visit the following Microsoft Web sites: For additional information
about how to install software by using Group Policy, click the following
article numbers to view the articles in the Microsoft Knowledge Base: 302430
HOW TO: Assign software to a specific group by using a Group Policy
307882 HOW TO: Use the Group Policy Editor to manage local computer policy in Windows XP 314934 HOW TO: Use Group Policy to remotely install software in Windows 2000 For additional information about how to
troubleshoot Group Policy application problems, click the following article
numbers to view the articles in the Microsoft Knowledge Base: 250842
Troubleshooting Group Policy application problems
832215 You receive event ID 1097 and event ID 1030 error events when you restart a Windows Server 2003-based domain controller 314494 Group policies are not applied the way you expect; "Event ID 1058" and "Event ID 1030" errors in the application log For additional information about Microsoft TechNet products,
click the following article number to view the article in the Microsoft
Knowledge Base: 833726
How to use the TechNet CD back to the
top
Modification Type: | Major | Last Reviewed: | 2/17/2006 |
---|
Keywords: | kbdomain kbActiveDirectory kbsetup kbpolicy kbEventLog kbenv kbHOWTOmaster KB834487 kbAudITPRO |
---|
|