적용 대상: ✔️ Windows VM
증상
VM(가상 머신) 스크린샷은 완전히 로드되고 자격 증명을 기다리는 운영 체제(OS)를 보여줍니다.
게스트 OS 로그를 보면 핵심 네트워킹 서비스인 NSI(네트워크 저장소 인터페이스)가 시작되지 않거나 시작되지 않는 것을 볼 수 있습니다. 이 문제는 중단, 이 서비스의 충돌 또는 그 전에 실행해야 하는 필수 서비스 때문일 수 있습니다.
Log Name: System Source: Service Control Manager Date: 12/16/2015 11:19:36 AM Event ID: 7022 Task Category: None Level: Error Keywords: Classic User: N/A Computer: myvm.contoso.net Description: The Network Store Interface service hung on starting.Log Name: System Source: Service Control Manager Date: 2/25/2016 11:59:08 AM Event ID: 7001 Task Category: None Level: Error Keywords: Classic User: N/A Computer: myvm.contoso.net Description: The DHCP Client service depends on the Network Store Interface service which failed to start because of the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.Log Name: System Source: Service Control Manager Date: 12.08.2016 15:35:22 Event ID: 7000 Task Category: None Level: Error Keywords: Classic User: N/A Computer: myvm.contoso.net Description: The Network Store Interface Service service failed to start due to the following error: The account specified for this service is different from the account specified for other services running in the same process.
직렬 콘솔을 사용하여 VM에 연결(원인 문제 해결)
VM(가상 머신)에 대한 RDP를 성공적으로 수행할 수 없는 경우 PowerShell 및 직렬 콘솔 을 사용하여 로그 항목을 확인합니다.
- 명령줄에서 실행하여 PowerShell을 시작
powershell.exe합니다. - PowerShell에서 다음 명령을 실행합니다.
psCopy
remove-module psreadline
Get-WinEvent -FilterHashtable @{LogName='System'; StartTime=(Get-Date).AddDays(-1); ProviderName='Service Control Manager'}
원인
가상 머신에서 NSI 서비스가 실행되고 있지 않습니다. 이 문제는 다음 시나리오에서 발생합니다.
- NSI 서비스를 사용하지 않도록 설정했습니다.
- NSI가 응답하지 않거나 충돌하고 있습니다.
- 다른 필수 서비스가 실행되고 있지 않습니다.
솔루션
원하는 방법을 사용하여 VM OS 디스크를 백업합니다.
사용할 수 있는 한 가지 방법은 디스크의 스냅샷을 만드는 것입니다.
직렬 콘솔을 사용하여 VM에 연결(솔루션)
직렬 콘솔을 사용하여 VM에 연결하여 NSI 서비스를 시작하려고 시도합니다.
직렬 콘솔에서 다음 명령을 실행합니다.
sc query NSI서비스가 다음과 같이 표시되는 경우:
중지됨 – 서비스를 시작합니다.
sc start NSI- 서비스가 오류 없이 시작되고 VM에 연결할 수 있는 경우 여기서 중지합니다.
시작/중지 - 다음 명령을 사용하여 서비스를 중지하고 다시 시작해 보세요.
sc stop NSIsc start NSI
NSI 서비스를 사용하지 않도록 설정한 경우:
먼저 서비스를 자동으로 설정합니다.
sc config NSI start=autoNSI 서비스를 시작합니다.
sc start NSINSI 서비스가 실행 중인지 확인합니다.
sc query NSI
종속성으로 인해 NSI 서비스가 실패하는 경우 나열된 종속성에 대해 위의 프로세스를 시도할 수 있습니다. NSI 서비스가 실행되면 RDP를 통해 VM에 액세스해 볼 수 있습니다.