Dostępność serwera DHCP zależy od tego, czy ma on dostęp do bibliotek dołączanych dynamicznie (DLL) serwera DHCP. Jeśli nie ma bibliotek DLL lub nie mają one praw administracyjnych, usługa DHCP nie może uzyskać do nich dostępu i nie można zainicjować usługi. Działania umożliwiające rozwiązanie tego problemu:
Identyfikacja biblioteki DLL opisanej w zdarzeniu
Przypisanie praw administracyjnych bibliotece DLL
Identyfikacja biblioteki DLL opisanej w zdarzeniu
Aby zidentyfikować bibliotekę DLL opisaną w zdarzeniu:
Znajdź na komputerze bibliotekę DLL, do której odwołuje się błąd.
Jeśli biblioteki DLL nie ma na serwerze DHCP, ponownie zainstaluj usługę serwera DHCP.
Jeśli biblioteka DLL istnieje, wybierz ją w Eksploratorze Windows i przypisz kontu administratora prawa do odczytu i wykonywania biblioteki DLL.
Zmiana uprawnień do plików i folderów
Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.
Aby zmienić uprawnienia do plików i folderów:
Na serwerze DHCP kliknij przycisk Start, a następnie kliknij kolejno Wszystkie programy > Akcesoria > Eksplorator Windows.
Kliknij prawym przyciskiem myszy plik lub folder, do którego chcesz nadać uprawnienia, wybierz polecenie Właściwości, a następnie kliknij kartę Zabezpieczenia.
W razie potrzeby wykonaj jedną z następujących czynności:
Aby ustawić uprawnienia dla grup lub użytkowników, którzy nie są wyświetlani w polu „Nazwy grupy lub użytkownika”, wpisz nazwę grupy lub użytkownika, a następnie kliknij przycisk OK.
Aby zmienić lub usunąć uprawnienia dla istniejącej grupy lub użytkownika, kliknij nazwę grupy lub użytkownika.
Aby zezwolić na uprawnienie lub odmówić jego przyznania, w polu „Uprawnienia dla użytkownika lub grupy” zaznacz pole wyboru Zezwalaj lub Odmów.
Aby usunąć grupę lub użytkownika z pola „Nazwy grupy lub użytkownika”, kliknij przycisk Usuń.
Uwagi
Uprawnienia do plików i folderów można ustawiać tylko na dyskach sformatowanych w systemie NTFS.
Grupy lub użytkownicy, którym przyznano uprawnienie „Pełna kontrola” do folderu, mogą usuwać pliki i podfoldery znajdujące się w danym folderze, niezależnie od uprawnień chroniących te pliki i podfoldery.
Jeśli pole wyboru w oknie „Uprawnienia według użytkowników i grup” są nieaktywne lub jeśli przycisk Usuń jest niedostępny, oznacza to, że plik lub folder odziedziczył uprawnienia po folderze nadrzędnym.
Podczas dodawania nowego użytkownika lub grupy zostaną im domyślnie nadane uprawnienia „Odczyt”, „Odczyt i wykonywanie” oraz „Wyświetlanie zawartości folderu”.
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.3SingleEventLog3StateUnitMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.GeneralAvailability.3" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.GeneralAvailability.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="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
<OperationalState ID="ThirdEventRaised" MonitorTypeStateID="ThirdEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<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">1034</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1031</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1032</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
<ThirdComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ThirdComputerName>
<ThirdLogName>System</ThirdLogName>
<ThirdExpression>
<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">1033</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ThirdExpression>
</Configuration>
</UnitMonitor>