This documentation is archived and is not being maintained.


ValidCommunity specifies the community name from which the computer running Simple Network Management Protocol (SNMP) can accept traps and SNMP requests such as GET, SET, GETNEXT, and GETBULK.

The child elements do not appear in the Properties pane of Windows System Image Manager (Windows SIM) until you add this element to the answer file.

You can use this setting in core installations of Windows Server® 2008, by enabling SNMP-SC in the Windows Foundation package.

Child Elements



Specifies a unique key for the community.


Specifies the type of permissions that the agent has.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SNMP-Agent-Service.

XML Example

The following XML sample output shows how to set SNMP.

   <TrapConfigurationItems wcm:action="add">
   <TrapConfigurationItems wcm:action="add">
   <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>

See Also