SMS: PGC Status Setter - PGCSET32.EXE (200543)



The information in this article applies to:

  • Microsoft Systems Management Server 1.2

This article was previously published under Q200543

SUMMARY

Pgcset32.exe is available in the BackOffice Resource Kit, and sets the Program Group Control (PGC) status in a batch file under Windows NT Workstation, Windows NT Server or Windows 95. It does this by setting the following registry key:

HKEY_CLASSES_ROOT
  \SMS
    \APPLICATIONS
      \regname
        \CONFIGURATION
          \STATUS=status
				

MORE INFORMATION

Pgcset32 sets the MS-DOS error level to one of the following values:

  • 0 = Success
  • 1 = Wrong number of arguments
  • 2 = Unused (used only by 16-bit version)
  • 3 = Cannot create or open the registry key
  • 4 = Cannot set the value of the registry key


Runs On: Alpha, MIPS, x86

PGCSET32 Syntax

  • Pgcset32 program_item_registry status.
  • Program_item_registry - Specifies the name used in the application's package definition file for the application's program item.
  • Status - Specifies the status of the configuration as Success or Fail.
  • /? - Provides a usage statement.

Modification Type:MinorLast Reviewed:6/14/2005
Keywords:kbinfo KB200543