DFS-N: dubbele DFS-mappen

Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule (Rule)

Met dit object wordt gezocht naar dubbele DFS-mappen (koppelingen).

Knowledge Base article:

Samenvatting

Met deze regel wordt gezocht naar dubbele DFS-mappen (koppelingen). Hiertoe wordt in Logboeken in het systeemlogboek gezocht naar DfsSvc-gebeurtenis 14547.

Oorzaken

Als een script op ongeveer hetzelfde moment op verschillende naamruimteservers dezelfde DFS-map probeert te maken in een naamruimte op basis van een domein (Windows Server 2008-modus), kunnen er twee mappen met identieke namen worden aangemaakt door de DFS-naamruimteservice.

Oplossingen

Alleen leden van de groep Domain Admins in het domein waarin de naamruimte bestaat, kunnen dubbele mappen verwijderen. Als u dubbele mappen wilt verwijderen, raadpleegt u Veelgestelde vragen over DFS-naamruimten (http://go.microsoft.com/fwlink/?LinkId=171023).

Aanvullend

Gebeurtenis 14547 voor DFS-naamruimten (http://go.microsoft.com/fwlink/?LinkId=187111)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.6.3.RoleService
CategoryCustom
EnabledTrue
Event_ID14547
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
DFS-N: dubbele DFS-mappen
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.RoleService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14547</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/Channel$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[3]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[4]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>