Here you will find information on the various ways in which you can run the ConfigMgr 2007 Status Message Viewer.
The ConfigMgr Status Message Viewer can be started from within the Console or separate from the console by executing the StatView.Exe utility. It can also be executed from the command line as well.
To execute the Status Message Viewer from outside of the console you can create a shortcut to it from the Location below or simply execute it from that location.
Location:
C:\Program Files\Microsoft Configuration Manager\AdminUI\bin\i386\StatView.Exe
When you launch the application without specifying any command line options the “No Startup Options” dialog box is presented to you where you can choose any of the following options to start the application:
View all Messages
Select an existing query
Terminate the status message viewer now
If you select the first option to “View all Massages” the ConfigMgr Status Message Viewer for <XXX> <SiteName> will be displayed listing all the available status messages.
If you select the option to “Select an existing query” the ConfigMgr Status Message Viewer for <XXX> <SiteName> will be displayed where you have to choose an existing query using the dropdown arrow to select an existing query such as the “Advertisements Crated, Modified, or Deleted” or any of the default status message queries.
The Status Message Viewer can also be accessed from the command line by calling the StatView.Exe using the basic usage syntax below:
Basic Usage:
StatView (Options) @OptionFile1, @OptionFile2 ….
For example if you were to run the following from a script or from the command line it will show only those status messages that reference the Advanced Client component.
StatView /Sms:Component=Advanced Client
To see all of the available options to you run the following: StatView Help and the Status Message Viewer Usage dialog box will be displayed showing the Basic Usage as shown above. From here use the “Options:” drop down menu to see infotmati0on on any of the following:
Basic Query Options
Advanced Command Line Options
Query Type Options
Advanced Query Options
Filter Type Options
Remote Connection Options
Since the help files contents cannot be exported to a text file I have created the following help file for your reference using information taken directly from the graphical help fiole.
StatView Help File
Basic Query Options:
/SMS:DisplayQuery-QueryId
Launch the viewer and display the status view with this Query ID
Advanced Command Line Options:
/SMS:QueryType=QueryValue
/SMS:FilterType=FilterValue or Partial FilterValue
Additional Information:
Multiple QueryTypes can be on the same command line or loaded via the ASCII TEXT File option OPTIONFILE. @OPTIONFILE will always include the path to the file or it will be assumed that the file is in this directory when executed. There are no spaces around the "=" and a single space is an indicator between option types. Different QueryTypes on the same command line implies AND between them, while the same QueryType indicates OR. There are no spaces around the "=" and a single space is an indicator between option types. Different QueryTypes on the same command line implies AND between them, while the same QueryType indicates OR.
Query Type Options:
SITE=<SITE STR>
The site code that matches this <SITE STR>
SYSTEM=<SYSTEM STR>
The Windows NT Computer name
SOURCE=<SOURCE MOD STR>
The Source module name such as "SMS SERVER", "SMS CLIENT", etc.
COMPONENT=<COMP STR>
The ConfigMgr Component name as it appears in the Status Message Viewer
SEVERITY=<SEV STR>
The Status Message Severity - INFO, WARNING or ERROR are the only valid values.
MESSAGETYPE=<TYPE>
The Status Message Type - MILESTONE, DETAIL or AUDIT are the only valid values.
MSGID=<MSGID>
The 16-bit Status Message ID.
PROPERETY=<ID>
The attached property.
PROPERETY=<ID>,<STR VALUE>
The attached property set to this value.
STARTTIME=<TIME STR> | Prompt
Include only messages at or after this time. Specify StartTime=Prompt to have the viewer prompt for a start date and time. When using <TIME STR>, time must be formatted as [year][month][day][military time].[microseconds(3 digits)] Example: March 12, 1997 at 1:30 PM would be 1997031213:30.000
ENDTIME=<TIME STR> | Prompt
Include only messages at or before this time. Specify EndTime=Prompt to have the viewer prompt for an end date and time. When using <TIME STR>, time must be formatted as [year][month][day][military time].[microseconds(3 digits)] Example: March 12, 1997 at 1:30 PM would be 1997031213:30.000
Advanced Query Options:
PID=<PID>
The 32-bit process ID
TID=<TID>
The 32-bit thread ID
PERCLIENT=<BOOLEAN>
Messages generated on a per client basis if TRUE, not on a per client if FALSE.
WIN32ERR=<ERROR INT>
The 32-bit error code returned by Win32 GetLastError()
INSSTR<X>=<VALUE>
The value of insertion string X
Filter Type Options:
FSITE=<SITE STR>
The site code or site name that exactly matches this <SITE STR>
FSYSTEM=<SYSTEM STR>
The Windows NT Computer name as displayed by the NET VIEW command. Partial strings are supported.
FSOURCE=<SOURCE MOD STR>
The Source module name such as "SMS SERVER", "SMS CLIENT", "THIRD PARTY", etc. Partial strings are NOT supported.
FCOMPONENT=<COMP STR>
The ConfigMgr Component name as it appears in the Status Message Viewer. Partial values are supported.
FSEVERITY=<SEV STR>
FMESSAGETYPE=<TYPE>
The Status Message Typel - MILESTONE, DETAIL or AUDIT are the only valid values.
FMSGID=<MSGID>
FPROPERTY=<ID>
FPROPERTY=<ID>, <STR VALUE>
FDESCRIPT=”<String To Match>”
The description string for a specific message ID. This option supports partial strings.
FPID=<PID>
FTID=<TID>
FSTARTTIME=<TIME STR> | Prompt
Include only messages at or after this time. Time must be formatted in as [year][month][day][military time].[microseconds(3 digits)] Example: March 12, 1997 at 1:30 PM would be 1997031213:30.000
FENDTIME=<TIME STR> | Prompt
Include only messages on or before this time. Time must be formatted as [year][month][day][military time].[microseconds(3 digits)] Example: March 12, 1997 at 1:30 PM would be 1997031213:30.000
Remote Connection Options:
Server=\\ServerName\
This is the name of the remote server to connect to.
Path=NameSpacce
This is the namespace of the remote server to connect to. Example: Root\SMS\SiteCode
No Comments