VirtualBox 는 가상 머신 세션을 열 수 없을 때 "E_FAIL(0x80004005)" 오류 코드를 표시합니다. 오류는 VirtualBox(VirtualBox) 앱 문제, 구성 파일 또는 하드웨어 관련 문제
로 인해 발생할 수 있습니다 .
이 자습서에서는 Windows(Windows) 장치
의 E_FAIL (0x80004005) VirtualBox 오류에 대한 가능한 원인과 문제 해결 솔루션을 강조 합니다.

1. 버추얼박스 업데이트
일부 Windows 사용자 는 (Some Windows users)VirtualBox 6 의 최신 빌드를 설치하여 이 오류를 해결했습니다 . 개발자 웹 사이트(developer’s website) 로 이동하여 Windows 호스트 VirtualBox 설정 파일
을 다운로드 합니다.

앱 내에서 직접 VirtualBox 를 업데이트할 수도 있습니다. VirtualBox Manager 앱을 열고 메뉴 모음에서 파일 을 선택한 다음 (File)업데이트 (Updates)확인(Check) 을 선택합니다 .

제공된 링크를 선택하여 VirtualBox(VirtualBox) 최신 버전의 실행 파일(.exe)을 다운로드합니다 .

2. Windows 하이퍼바이저(Windows Hypervisor) ( Hyper-V )
를 다시 시작합니다.
Hyper-V 는 컴퓨터에서 여러 운영 체제를 가상 머신으로 실행할 수 있게 해주는 Windows 기능입니다. Hyper-V 에 결함이 있는
경우 VirtualBox 에서 가상 컴퓨터에 액세스하지 못할 수 있습니다 .
Windows 에서 Hyper-V 를 다시 시작 하면 (아래 단계 참조) VirtualBox 가 가상 머신 세션을 실행하지 못하게 하는 문제를 해결할 수 있습니다.
- 시작(Start) 메뉴를 열고 검색 창에 cmd를 입력한 다음 명령 프롬프트(Command Prompt) 앱
아래에서 관리자 권한으로 실행 을 선택합니다.(Run)

- (Paste)명령 프롬프트(Command Prompt) 콘솔 에 bcdedit /set hypervisorlaunchtype off를 붙여넣고 Enter 키를 누릅니다 .

이 명령을 실행하면 컴퓨터 에서 Hyper-V 가 꺼집니다 . 컴퓨터에 여러 운영 체제가 설치되어 있는 경우 아래 명령을 실행 하여 활성/현재 OS에 대해
Hyper-V 를 비활성화합니다.(Hyper-V)
(Paste)명령 프롬프트(Command Prompt) 콘솔 에 bcdedit /set {current} hypervisorlaunchtype off 를 붙여넣고 Enter 키를 누릅니다 .

"이 작업이 성공적으로 완료되었습니다" 메시지가 표시되면 컴퓨터를 다시 시작합니다.
- 관리자 권한으로 명령 프롬프트(Command Prompt) 를 열고 아래 명령을 실행하여 Hyper-V 를 다시 활성화 합니다.
bcdedit /set 하이퍼바이저 실행 유형 자동

명령 프롬프트(Command Prompt) 에 "작업이 성공적으로 완료되었습니다"라는 메시지가 표시 되면 컴퓨터를 다시 시작합니다 . VirtualBox 를 실행 하고 가상 머신을 열어보십시오.
3. 저장된 상태 폐기
VirtualBox 는 (VirtualBox)가상 세션의 저장된 상태(virtual session’s saved state) 에 문제가 있는 경우 E_FAIL (0x80004005) 오류 를 표시할 수도 있습니다 . 따라서 세션을 복원할 수 없으면 저장된 상태를 버리고 가상 머신을 다시 여십시오.
시스템의 저장된 상태를 버리는 것은 시스템을 종료하는 것과 같은 효과가 있습니다. VirtualBox 를 열고 가상 머신을 마우스 오른쪽 버튼으로 클릭하고 저장된 상태 폐기(Discard Saved State) 를 선택하고 (또는 Ctrl + J 를 누름 ) 세션을 다시 시작합니다.

"저장된 상태 삭제"가 회색으로 표시되면 아래 문제 해결 솔루션을 시도해 보십시오. 즉, 가상 머신에 저장된 상태가 없습니다.
4. VirtualBox 구성 파일 이름 바꾸기(VirtualBox Configuration Files)
(Force-quitting VirtualBox)먼저 가상 머신을 닫지 않고 VirtualBox를 강제 종료 하면 E_FAIL (0x80004005) 오류가 발생할 수 있습니다. 우리는 이것이 어떻게 그리고 왜 일어나는지 설명할 것입니다.
VirtualBox 에 "Linux PC" 가상 머신이 있다고 가정해 보겠습니다 . 가상 머신을 시작하면 VirtualBox 는 머신의 파일 이름을 "Linux PC.vbox"에서 " Linux PC.vbox-prev "로 바꿉니다 . 그런 다음 VirtualBox(VirtualBox) 는 활성 세션에 대한 가상 머신 파일("Linux PC.vbox-tmp")의 새/임시 복사본을 만들고 사용합니다.
가상 머신 세션을 종료하면 VirtualBox 는 임시 파일(예: Linux PC.vbox-tmp )의 이름을 Linux PC.vbox 로 바꿉니다 . " Linux PC.vbox -prev" 파일은 백업 역할을 합니다. VirtualBox 는 새 세션을 시작할 때마다 파일을 덮어씁니다.

가상 머신을 닫지 않고 VirtualBox 를 종료 하면 파일 변환 프로세스가 중단될 수 있습니다. 그러면 다음에 가상 머신을 시작하려고 할 때
" 결과 코드(Result Code) : E_FAIL (0x80004005)" 오류가 표시됩니다.(E_FAIL)
PC의 VirtualBox 폴더를 열고 가상 머신용 .vbox 파일이 있는지 확인합니다. 폴더에서 임시(.vbox-tmp) 및 백업(.vbox-prev) 파일만 찾으면 가상 머신을 실행하는 동안
VirtualBox 를 강제 종료했을 수 있습니다.(VirtualBox)
백업 파일의 이름을 바꾸면 문제를 해결하고 가상 머신을 다시 실행할 수 있습니다. VirtualBox Manager 응용 프로그램을 닫고 아래 단계에 따라 완료하십시오.
- 파일 탐색기(File Explorer) 에서 VirtualBox의 파일 관리자를 엽니다 . 로컬 디스크(C:) 폴더를 열고 사용자(Users) 폴더를 두 번 클릭한 다음 컴퓨터 또는 계정 이름을 선택합니다.

- VirtualBox VM(VirtualBox VMs) 폴더를 열고 Machines 를 선택한 다음 가상 머신의 폴더를 두 번 클릭합니다.

- 두 파일(.vbox-tmp 및 .vbox-prev)을 컴퓨터 어딘가에 복사하거나 백업합니다. 임시 파일의 파일 확장자를 .vbox-prev에서 .vbox로 변경합니다.

- 경고 프롬프트에서 확인을 선택 하고 (Select OK)VirtualBox 에서 가상 머신을 엽니다 .

- 오류가 지속되면 VirtualBox를 닫고(Close VirtualBox) .vbox 파일을 다시 .vbox-prev로 변경합니다. 그런(Afterward) 다음 .vbox-temp 파일의 이름을 .vbox로 바꾸고 VirtualBox 가 이제 가상 머신을 실행하는지 확인합니다.

참고: 이전 VirtualBox 버전(v3.2 이하)은 가상 머신 구성 파일을 .vbox 가 아닌 (.vbox).xml 형식으로 저장 합니다. 가상 머신 폴더에서 이 확장자를 가진 파일을 찾으면 위의 단계에 따라 이름을 바꿉니다. 즉, .xml -prev 또는 .xml -tmp 형식 의 파일을 .xml 로 변경합니다 .
5. BIOS 설정 에서 가상화 활성화(BIOS Settings)
가상 머신을 실행하려면 컴퓨터에서 하드웨어 또는 CPU 가상화가 활성화되어 있어야 합니다. (CPU)VirtualBox 의 오류 세부 정보에 " AMD-v " 또는 "VT-x" 키워드가 포함되어 있으면 PC의 하드웨어 가상화가 비활성화되었을 수 있습니다.
아래 단계에 따라 컴퓨터의 하드웨어 가상화 상태를 확인하십시오.
- Settings > System > Recovery > Advanced 시작 으로 이동 하고 지금 다시(Restart) 시작을 선택 합니다 .

Windows 10 에서 Settings > Updates 및 Security > Recovery 로 이동 하고 "고급 시작" 섹션에서 지금
다시 시작(Restart) 을 선택 합니다.

- 문제 해결로 이동하십시오.> 고급 옵션. > UEFI Firmware Settings다시 시작(Restart) 을 선택 하여 PC의 UEFI 또는 BIOS 설정으로 부팅합니다.

- BIOS 설정 에서 가상화를 활성화하는 방법 은 PC 제조업체 또는 모델에 따라 다릅니다. Lenovo 장치의 경우 구성(Configuration) 섹션 으로 이동 하여 (Lenovo)Intel Virtual Technology 를 Enabled 로 설정 하십시오.

HP 컴퓨터 의 구성 섹션으로 이동하여 (Configuration)가상화 기술(Virtualization Technology) 을 활성화된 상태로 유지합니다. 이 Microsoft 지원 문서(Microsoft Support document) 에는 모든 PC 제조업체 및 장치에 대한 가상화를 활성화하기 위한 지침이 있습니다.
- "종료" 섹션으로 이동하여 변경 사항 저장 종료를 선택하고 (Saving Changes)예(Yes) 를 선택 하여 Windows 로 부팅 합니다 .

VirtualBox 는 이제 PC의 (VirtualBox)BIOS/UEFI 설정
에서 가상화를 활성화한 후 가상 머신을 실행해야 합니다 .
6. 버추얼박스 재설치
문제 해결 트릭으로 문제가 해결되지 않으면 VirtualBox 를 제거 하십시오. 그런(Afterward) 다음 컴퓨터를 재부팅하고 최신 VirtualBox 버전을 설치합니다. VirtualBox 를 다시 설치 하면 이 Microsoft 커뮤니티 스레드(Microsoft Community thread) 에서 일부 Windows 사용자 의 문제가 해결되었습니다 .
시작(Start) 메뉴 검색 에 virtualbox를 입력 하고 Oracle VM VirtualBox 앱
아래 에서 제거 를 선택한 다음 제거 프롬프트를 따릅니다.(Uninstall)

(Contact Oracle Support)VirtualBox 를 다시 설치했는데도 "결과 코드: E_FAIL (0x80004005)" 오류가 지속되면 (E_FAIL)Oracle 지원 또는 PC 제조업체에 문의하십시오 .
6 Ways to Fix VirtualBox Result Code: E_FAIL (0x80004005) Error in Windows
VirtualBox displays the “E_FAIL (0x80004005)” error code when it can’t open a virtual machine session. The error could be due to problems with the VirtualBox app, configuration files, or hardware-related issues.
This tutorial highlights probable causes and troubleshooting solutions for the E_FAIL (0x80004005) VirtualBox error on Windows devices.

1. Update VirtualBox
Some Windows users resolved this error by installing the latest build of VirtualBox 6. Head to the developer’s website and download the Windows hosts VirtualBox setup file.

You can also update VirtualBox directly within the app. Open the VirtualBox Manager app, select File on the menu bar, and select Check for Updates.

Select the provided link to download the executable (.exe) file of the latest version of VirtualBox.

2. Restart the Windows Hypervisor (Hyper-V)
Hyper-V is a Windows feature that lets your computer run multiple operating systems as virtual machines. You may be unable to access virtual machines in VirtualBox if Hyper-V is experiencing a glitch.
Restarting Hyper-V in Windows (see steps below) can fix issues preventing VirtualBox from running virtual machine sessions.
- Open the Start menu, type cmd in the search bar, and select Run as administrator below the Command Prompt app.

- Paste bcdedit /set hypervisorlaunchtype off in the Command Prompt console and press Enter.

Running this command turns off Hyper-V on your computer. If you have multiple operating systems installed on your computer, run the command below to disable Hyper-V for the active/current OS.
Paste bcdedit /set {current} hypervisorlaunchtype off in the Command Prompt console and press Enter.

Restart your computer when you get a “This operation completed successfully” message.
- Open Command Prompt with administrative privileges and run the command below to re-enable Hyper-V.
bcdedit /set hypervisorlaunchtype auto

Restart your computer again when Command Prompt displays a “The operation completed successfully” message. Launch VirtualBox and try opening the virtual machine.
3. Discard Saved State
VirtualBox may also display the E_FAIL (0x80004005) error if there’s a problem with the virtual session’s saved state. So, if you cannot restore a session, discard the saved state and reopen the virtual machine.
Discarding a machine’s saved state has the same effect as shutting it down. Open VirtualBox, right-click the virtual machine, select Discard Saved State (or press Ctrl + J), and restart the session.

Try the troubleshooting solutions below if “Discard Saved State” is greyed out—i.e., the virtual machine has no saved state.
4. Rename VirtualBox Configuration Files
Force-quitting VirtualBox without first closing a virtual machine can trigger the E_FAIL (0x80004005) error. We’ll explain how and why this happens.
Let’s assume you have a “Linux PC” virtual machine in VirtualBox. When you launch the virtual machine, VirtualBox renames the machine’s file from “Linux PC.vbox” to “Linux PC.vbox-prev.” VirtualBox then creates and uses a new/temporary copy of the virtual machine file—”Linux PC.vbox-tmp”—for the active session.
When you end the virtual machine session, VirtualBox renames the temporary file (i.e., Linux PC.vbox-tmp) to Linux PC.vbox. The “Linux PC.vbox-prev” file serves as a backup—VirtualBox overwrites the file every time you start a new session.

Terminating VirtualBox without closing your virtual machine can disrupt the file conversion process. That’ll prompt the “Result Code: E_FAIL (0x80004005)” error the next time you try to launch the virtual machine.
Open your PC’s VirtualBox folder and check if there’s a .vbox file for your virtual machine. If you only find temporary (.vbox-tmp) and backup (.vbox-prev) files in the folder, you probably force-closed VirtualBox while running a virtual machine.
Renaming the backup file can fix the problem and get your virtual machine running again. Close the VirtualBox Manager application and follow the steps below to get it done.
- Open the VirtualBox’s file manager in File Explorer. Open your local disk (C:) folder, double-click the Users folder, and select your computer or account name.

- Open the VirtualBox VMs folder, select Machines, and double-click the virtual machine’s folder.

- Copy or backup both files (.vbox-tmp and .vbox-prev) somewhere on your computer. Change the file extension of the temporary file from .vbox-prev to .vbox.

- Select OK on the warning prompt and open the virtual machine in VirtualBox.

- Close VirtualBox and change the .vbox file back to .vbox-prev if the error persists. Afterward, rename the .vbox-temp file to .vbox and check if VirtualBox now runs the virtual machine.

Note: Older VirtualBox versions (v3.2 and older) store virtual machines configuration files in .xml format—not .vbox. If you find files with this extension in your virtual machine folder, rename them following the steps above. That means you’ll change files in .xml-prev or .xml-tmp format to .xml.
5. Enable Virtualization in BIOS Settings
You must have hardware or CPU virtualization enabled on your computer to run virtual machines. If VirtualBox includes the “AMD-v” or “VT-x” keywords in the error details, your PC’s hardware virtualization is likely disabled.
Follow the step below to verify your computer’s hardware virtualization status.
- Go to Settings > System > Recovery > Advanced startup and select Restart now.

In Windows 10, head to Settings > Updates & Security > Recovery and select Restart now in the “Advanced startup” section.

- Head to Troubleshoot.> Advanced options.> UEFI Firmware Settings and select Restart to boot into your PC’s UEFI or BIOS settings.

- How you enable virtualization in the BIOS settings will depend on your PC manufacturer or model. For Lenovo devices, head to the Configuration section and set Intel Virtual Technology to Enabled.

Head to the Configuration section on HP computers and keep Virtualization Technology enabled. This Microsoft Support document has instructions for enabling virtualization for all PC manufacturers and devices.
- Head to the “Exit” section, select Exit Saving Changes, and select Yes to boot into Windows.

VirtualBox should now run the virtual machine after enabling virtualization in your PC’s BIOS/UEFI settings.
6. Reinstall VirtualBox
Uninstall VirtualBox if none of the troubleshooting tricks resolve the problem. Afterward, reboot your computer and install the latest VirtualBox version. Reinstalling VirtualBox fixed the problem for some Windows users in this Microsoft Community thread.
Type virtualbox in the Start menu search, select Uninstall below the Oracle VM VirtualBox app and follow the uninstallation prompt.

Contact Oracle Support or your PC manufacturer if the “Result Code: E_FAIL (0x80004005)” error persists despite reinstalling VirtualBox.