Hyper-V
Hyper-V. Docker 제거 후 Virtual Switch 제거시 General access denied error (0x80070005) 오류 발생
Pepuri
2019. 6. 11. 05:45
반응형
VM에서 Docker 설치 후 제거하였는데 Private virtual switch 가 남아있어서 제거 시 다음과 같이 오류가 발생하였습니다.
Powershell 로 진행해도 동일한 오류가 발생
PS C:\Users\Administrator> Remove-VMSwitch nat Remove-VMSwitch : Failed while removing virtual Ethernet switch. Switch delete failed, switch = 'A4885500-1CB9-41CD-B283-FAFBDAA54D5E': General access denied error (0x80070005). At line:1 char:1 + Remove-VMSwitch nat + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (:) [Remove-VMSwitch], VirtualizationException + FullyQualifiedErrorId : AccessDenied,Microsoft.HyperV.PowerShell.Commands.RemoveVMSwitch |
아래의 Technet 포럼 글을 참고
Can't remove failed virtual switch from Hyper-V's Virtual Switch Manager
https://social.technet.microsoft.com/Forums/windows/en-US/e49df568-4f4c-47b7-b30c-952d1e26ca58/cant-remove-failed-virtual-switch-from-hypervs-virtual-switch-manager
아래의 경로로 이동하여 문제의 Switch GUID 를 확인하여 제거 진행
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmsmp\parameters\SwitchList
제거된 것을 확인할 수 있었습니다.
반응형