SMS: PGC Status Setter - PGCSET32.EXE

ID: Q200543


The information in this article applies to:
  • Microsoft Systems Management Server version 1.2


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.


Additional query words:

Keywords :
Version : winnt:1.2
Platform : winnt
Issue type : kbinfo


Last Reviewed: March 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.