Use Group Policy cmd.exe Program

Source: Internet
Author: User

1. The setup.exe installation file must be included in your unc, for example, \ SVR \ Software \ setup.exe.
2. Create a setup. Zap file in the directory and edit it in Notepad. The content is as follows:
[Application]
Friendlyname = "program name"
Setupcommand = "setup.exe"
Displayversion = version
Publisher = publisher
3. In GPO, specify the suffix of the published file as. Zap. In the corresponding UNC directory, locate setup. Zap and publish.
4. Log on to the domain on the client. In "add and delete programs", "add new programs", you will see the release of "programs"

There are two ways to publish software using group policies:

  1. Assignment: It can be assigned to a computer. It is installed when the computer is started. It can be assigned to a user. it is visible in the program menu and installed at the first run.
  2. Distribution: it can only be distributed to users and not computers. It can be seen in "add and delete programs ".

The group policy supports the following file types:

  1. Zap: advantage: any form of installation files can be released. disadvantage: zap can only be distributed to users, but cannot be assigned, upgraded, redeployed, flexible, but inconvenient.
  2. Msi: can be assigned, distributed, upgraded, and redeployed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.