Microsoft KB Archive/931053

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Article ID: 931053

Article Last Modified on 2/14/2007



APPLIES TO

  • PolicyMaker Standard Edition 1.0
  • PolicyMaker Standard Edition 2.0
  • PolicyMaker Software Update 1.0
  • PolicyMaker Software Update 2.0



INTRODUCTION

This article describes how to automatically grant a new Desktop Standard PolicyMaker license to all the Group Policy objects (GPOs) that contain PolicyMaker items in a single domain.

MORE INFORMATION

GPOs that contain PolicyMaker items are not automatically updated when a new PolicyMaker license is imported. Each GPO must be updated individually by using the new license. To manually grant a new PolicyMaker license to all the GPOs that contain PolicyMaker items is time-consuming. However, you can also automatically grant a new license to all the GPOs that contain PolicyMaker items. To do this, you must use the PMLicenseDist.js script. To download the PMLicenseDist.js script, visit the following Microsoft Web site:

How to use the PMLicenseDist.js script

The PMLicenseDist.js script must be run by an administrator who has Write access on a computer that has the PolicyMaker client and Group Policy Management Console (GPMC) installed.

The PMLicenseDist.js script uses the following syntax:

PMLicenseDist.js [DomainName] [/Replace] [/AutoProf]


You can use the following parameters together with the PMLicenseDist.js script:

  • DomainName
    Use this optional parameter to specify a Domain Name System (DNS) domain name other than the default domain.
  • /Replace
    Use this optional parameter to grant a new PolicyMaker license to all GPOs that contain PolicyMaker items in a single domain. When you use this parameter, the old license is replaced with the new license.

    Note The PolicyMaker license file is located at the following location:

    %ALLUSERSPROFILE%\Application Data\AutoProf\PolicyMaker\License.xml

  • /AutoProf
    Use this parameter on PolicyMaker products that are earlier than the following versions:
    • PolicyMaker Standard Edition 2.1
    • PolicyMaker Software Update 1.3

Note The PMLicenseDist.js script does not localize the Application Data folder. To localize this script for a computer, edit the szAppData variable at the top of the script to match the name of the Application Data folder on the computer.

Keywords: kbhowto kbexpertiseinter kbinfo KB931053