The distribution function of Win2003 gives the network management the burden of

  
. In the LAN, the huge workload caused by the endless software installation, upgrade, maintenance and deletion of the workstation, and the possible security problems have always caused headaches for all network management. thing. If you are also a webmaster, then you may wish to use this article to feel the magical "burden reduction" charm brought by the software distribution function. Simply put, the distribution function is the function of sending software distributions to workstations. In the past, many network administrators adopted a shared approach, but the security risks caused by sharing often became the pain of the network administrator. At this point, if you try to use the distribution feature, you will be pleasantly surprised to find that the software installation of the workstation will be easy and safe.

Suppose now that a network administrator wants to distribute the "Windows Server 2003 Management Toolkit" program "Adminpak.msi" in the shyzhong.com domain to all workstations, then the following settings should be made.

First, set the shared directory

For maximum manage access rights, first using NTFS disk partition format to create a new directory and name it "Tools $", then Copy the Adminpak.msi program from the "I386 directory" of the Windows Server 2003 installation CD to the "Tools$" directory. Then set the share permissions for this directory, the "Authenticated Users" group is readable, and the "Administrator" group is fully controlled.

Tip: distributed software must be MSI package file, if you want a non-MSI package file format into the MSI file, you can use tools such as InstallShield to complete the conversion.

Second, set Group Policy

domain administrator logon DC (domain controller), then click "Start → Programs → Administrative Tools → Active Directory Users and Computers" menu item, Right-click shyzhong.com in the pop-up window and select Properties from the pop-up menu. Click the "New" button in the "Properties" window and name the newly created Group Policy object "Software".

Then select Software and click the "Edit" button below, in the "Group Policy Editor" window that opens, click "User Configuration → Software Settings → Software Installation". Then right-click on "Software Installation" and select "Properties" from the pop-up menu. Manually enter the Computer Name Share File Name in the Software Installation Properties dialog box, and then select Show Deployment Software Dialog and Basic (see Figure 1).


Figure 1
Click the "OK" button to return to the "Group Policy Editor", right click on the "Software Installation" item, in the pop-up shortcut menu, select "New → Package" . In the subsequent "Open" dialog box, select the "Adminpak.msi" file in the Tools$ directory and click the "Open" button. After selecting the "Published" option in the "Deploy Software" dialog that pops up, click the "OK" button. The Group Policy dialog can now be closed. Then open a command prompt window, enter the "Gpupdate" command and press Enter, this will refresh the group policy, so that the above settings take effect immediately.

three,

install the software in the workstation is provided through said after (Domain Controller) for the DC, the software will be distributed to all the workstations shyzhong.com domain. In the workstation, when the user logs in to the domain, simply click the "Add New Program" button in the "Add/Remove Programs" window and it will be listed in the "Add Programs from Network" list from the DC (Domain Controller). The "Adminpak.msi" program was distributed. Click the "Add" button to install the program immediately.

Using the above software installation method in the workstation can change the "passive download" of the sharing mode into the "active delivery" of the software distribution. In this way, the management function of the domain becomes more powerful, and the burden of the network management is also reduced.

Tips: MSI file with the Windows Installer

Windows Installer software installation can be achieved, delete, undo function. But to use these features, you must use the Windows Installer package - MSI file. MSI is the file format necessary to implement software distribution functions. MSI files usually contain the environment information required to install the built-in program and the instructions and data needed to install or uninstall the program. When the user double-clicks the MSI file, a file Msiexec.exe of the Windows Installer associated with it will be called, which will use Msi.dll to read the package file (.msi) and the application conversion file (.mst) for the purpose of proceeding. The next step.
Copyright © Windows knowledge All Rights Reserved