Il registro eventi non funziona correttamente se ai file di registro non sono assegnate le autorizzazioni appropriate. Potrebbe essere necessario eseguire le operazioni seguenti:
Assegnare le autorizzazioni ai file del registro di controllo in modo che il servizio possa scrivere su essi.
Assegnare all'utente autorizzazioni in scrittura per la cartella in cui viene creato il file del registro di controllo.
Per eseguire queste procedure, è necessario essere un membro del gruppo Administrators oppure avere ricevuto in delega l'autorità appropriata.
Per modificare le autorizzazioni per file e cartelle:
Nel server DHCP fare clic sul pulsante Start, selezionare Tutti i programmi, Accessori, quindi fare clic su Esplora risorse.
Spostarsi sull'albero di directory in %windir%\System32\Dhcp, fare clic con il pulsante destro del mouse sulla cartella, scegliere Proprietà, quindi fare clic sulla scheda Protezione.
Completare una delle procedure seguenti in base alle necessità:
Per impostare le autorizzazioni per un gruppo o un utente che non viene visualizzato nella casella Utenti e gruppi, fare clic su Aggiungi, digitare il nome dell'utente o del gruppo, quindi fare clic su OK.
Per modificare o rimuovere le autorizzazioni da un utente o gruppo esistente, fare clic sul nome del gruppo o dell'utente.
Per consentire o negare un'autorizzazione, nella casella Autorizzazioni per utente o gruppo, selezionare la casella di controllo Consenti o Nega.
Per rimuovere il gruppo o l'utente dalla casella Utenti e gruppi, fare clic su Rimuovi.
Note
È possibile impostare le autorizzazioni per file e cartelle solo sulle unità formattate per l'utilizzo di NTFS.
Per modificare le autorizzazioni, è necessario essere il proprietario o disporre dell'autorizzazione del proprietario.
I gruppi o gli utenti a cui è stato concesso il Controllo completo per una cartella possono eliminare file e sottocartelle da quella cartella, indipendentemente dalle autorizzazioni che proteggono i file e le sottocartelle.
Se le caselle di controllo in Autorizzazioni per utente o gruppo sono visualizzate in grigio o il pulsante Rimuovi non è disponibile, il file o la cartella ha ereditato le autorizzazioni dalla cartella padre.
Quando viene aggiunto un nuovo utente o gruppo, per impostazione predefinita, questo utente o gruppo disporrà delle autorizzazioni Lettura, Lettura/esecuzione e Visualizzazione contenuto cartella.
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Parent Monitor | System.Health.SecurityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.SingleEventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.Auditing.3" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ParentMonitorID="Health!System.Health.SecurityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.Auditing.3_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1028</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>