Knowledge Base

SMS: PGC Status Setter - PGCSET32.EXE

Article ID: 200543

Article Last Modified on 10/27/2006


APPLIES TO


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.

Keywords: kbinfo KB200543