서비스가 예상하지 못한 상태가 되었습니다.
이 규칙은 서비스 제어 관리자가 잘못된 구성으로 서비스가 시작된 것을 발견할 때 경고를 생성합니다. 서비스 제어 관리자가 잘못된 구성을 발견했더라도 서비스는 여전히 시작된다는 점에 유의하십시오.
서비스가 예상대로 실행되지 않을 수 있으며 예기치 않은 방식으로 작동할 수도 있습니다. 또한 문제를 해결할 때까지 서비스를 다시 시작하지 못할 수 있습니다.
샘플 이벤트:
이 규칙은 다음 이벤트가 발생하고 시스템 이벤트 로그에 기록될 때마다 경고를 생성합니다.
%1 서비스가 대화형 서비스로 표시되어 있습니다 그러나 시스템이 대화형 서비스를 허용하지 않습니다. 이 서비스가 제대로 작동하지 않을 수도 있습니다.
서비스 제어 관리자에서 %1 서비스의 구성 변경 내용을 취소하는 동안 오류가 발생했습니다. 서비스의 %2이(가) 현재 예상할 수 없는 상태에 있습니다. 이 구성을 수정하지 않으면 %1 서비스를 다시 시작할 수 없거나 다른 오류가 발생할 수도 있습니다. 서비스가 올바르게 구성되었는지 확인하려면 MMC에서 서비스 스냅인을 사용하세요.
원본: 서비스 제어 관리자, 이벤트 ID: 7030 %1 서비스가 대화형 서비스로 표시되어 있습니다 그러나 시스템이 대화형 서비스를 허용하지 않습니다. 이 서비스가 제대로 작동하지 않을 수도 있습니다.
원본: 서비스 제어 관리자, 이벤트 ID: 7037 서비스 제어 관리자에서 %1 서비스의 구성 변경 내용을 취소하는 동안 오류가 발생했습니다. 서비스의 %2이(가) 현재 예상할 수 없는 상태에 있습니다. 이 구성을 수정하지 않으면 %1 서비스를 다시 시작할 수 없거나 다른 오류가 발생할 수도 있습니다. 서비스가 올바르게 구성되었는지 확인하려면 MMC에서 서비스 스냅인을 사용하세요.
이 경고는 다음 조건이 발생할 때마다 생성됩니다.
서비스가 대화형으로 실행되도록 구성되었지만 시스템 정책은 이 모드에서 서비스를 실행하지 못하도록 구성되었습니다.
서비스를 구성하는 동안 오류가 발생했습니다.
이 경고에는 두 가지 가능한 해결 방법이 있습니다. 경고를 생성한 이벤트를 참조하여 적절한 해결 단계를 선택하십시오.
이벤트 ID: 7030
이 경고를 해결하려면 관련 전문가나 공급업체에 문의하여 바탕 화면에서 서비스를 대화형으로 실행해야 하는지 확인하십시오. 그렇지 않으면 다음 단계를 수행하십시오.
서비스 MMC 스냅인을 엽니다.
해당 서비스를 두 번 클릭하고 서비스 속성 시트를 엽니다.
로그온 탭을 클릭합니다.
서비스와 데스크톱 상호 작용 허용 확인란의 선택을 취소합니다.
서비스를 대화형으로 실행해야 하는 경우 “서비스와 데스크톱 상호 작용 허용” 시스템 정책을 변경해야 합니다. 이렇게 하려면 다음 단계를 따르십시오.
HKLM\System\CCC\Control\Windows
0 - 사용
1 - 사용 안 함
레지스트리 편집기를 엽니다.
다음의 레지스트리 값 “NoInteractiveServices”로 이동합니다. HKLM\System\CCC\Control\Windows
값을 “0”에서 “1”로 설정합니다(0 - 사용, 1 - 사용 안 함).
서비스 MMC 스냅인을 엽니다.
해당 서비스를 선택하고 다시 시작합니다.
이벤트 ID: 7037
다음을 수행하여 이 경고를 해결하십시오.
서비스 MMC 스냅인을 엽니다.
해당 서비스를 두 번 클릭하고 서비스 속성 시트를 엽니다.
각 탭을 클릭하고 구성 정보가 적절한지 확인합니다. 잘못되었거나 손상된 데이터가 있는 구성 필드를 업데이트합니다.
서비스를 다시 시작하고 이벤트 로그에서 이벤트 7037의 다른 인스턴스가 발생했는지 확인합니다. 없으면 문제가 해결된 것입니다.
이벤트 7037의 새 인스턴스가 발생하면 Sc.exe를 사용하여 서비스의 고급 구성 설정을 검토한 다음 적절히 업데이트하십시오. Sc.exe 내에서 qc 및 config 명령을 사용하여 서비스를 확인하고 구성합니다.
Target | Microsoft.Windows.Server.10.0.OperatingSystem | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
EventDS | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.10.0.OperatingSystem.ServiceEnteredUnpredictableState.Alert" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" 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>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Service Control Manager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7037</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7030</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.OperatingSystem.ServiceEnteredUnpredictableState.Alert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>