Trong nội dung bài viết này

This article provides steps to lớn resolve issues where the Windows operating system (OS) encounters the stop error 0x
C0000102, which keeps an Azure virtual machine (VM) from booting.

Bạn đang xem: Hướng dẫn sửa lỗi vt

Symptoms

When you use boot diagnostics lớn view the screenshot of the VM, the screenshot displays the message that the OS encountered error code 0x
C0000102 during startup.

*

*

Cause

Error 0x
C0000102 is a STATUS_FILE_CORRUPT_ERROR, which means a corrupted file is preventing your VM from starting correctly. There are two possible causes for this error code:

The file displayed in the error message is corrupt.The disk structure has become corrupt và unreadable.

Solution


Tip

If you have a recent backup of the VM, you may try restoring the VM from the backup khổng lồ fix the boot problem.


To resolve this issue, follow these steps:

Create and Access a Repair VMRepair or replace the corrupt file
Enable serial console & memory dump collection
Rebuild the VM

Note

When encountering this error, the Guest OS isn"t operational. You"ll be troubleshooting in offline mode lớn resolve this issue.


Step 1: Create and access a repair VM

Use Remote Desktop Connection connect to lớn the Repair VM.

Step 2: Repair or replace the corrupt file

Repair the corrupt file

Open an elevated CMD prompt & run chkdsk on the disk:

chkdsk : /FReplace the corrupt file

Use boot diagnostics to lớn view the screenshot of the VM. Chú ý the file that is displayed in the error.

To replace the corrupt binary, take the following steps:

Browse lớn the location of the binary that was displayed in the screenshot.

Note the version of the file. (Right-click Properties and select the Details tab.)

*

Rename the tệp tin as .OLD. For example, the tệp tin shown in the image above would be renamed from windowssystem32driverscng.sys lớn windowssystem32driverscng.sys.old.

Restore this file from the internal repository.

Launch a CMD session & locate the volume holding your Windows directory.

Browse lớn windowswinsxs and tìm kiếm for the binary displayed on your screenshot:

dir > /s
The following command will danh sách all the different versions of the specified file that the VM contains and will give you the path history of that component. You should choose the most recent of the same version from the list & proceed khổng lồ copy that tệp tin to the thư mục path described in the screenshot.

copy>:WindowsWin
Sx
S>> >:WindowsSystem32Drivers

Step 3: Enable the Serial Console and memory dump collection

Before rebuilding the VM, it is recommended to lớn enable memory dump collection and Serial Console. To do so, run the following script:

Open an elevated command prompt session (run as administrator).

List the BCD store data và determine the boot loader identifier, which you"ll use in the next step.

For a Generation 1 VM, enter the following command and lưu ý the identifier listed:

bcdedit /store :ootcd /enum
In the command, replace with the letter of the partition in the attached disk that contains the boot folder.

*

For a Generation 2 VM, enter the following command and cảnh báo the identifier listed:

BCDEDIT /store :EFIMicrosoftootcd /enum In the command, replace with the letter of the EFI System Partition.It may be helpful khổng lồ launch the Disk Management console to identify the appropriate system partition labeled as EFI System Partition.The identifier may be a quality GUID or it could be the mặc định bootmgr.Run the following commands to lớn enable Serial Console:

BCDEDIT /store :ootcd /ems ON BCDEDIT /store :ootcd /emssettings EMSPORT:1 EMSBAUDRATE:115200 In the command, replace with the letter of the BCD folder.In the command, replace with the identifier you found in the previous step.Verify that the không tính tiền space on the OS disk is greater than the memory kích cỡ (RAM) on the VM.

If there"s not enough space on the OS disk, you should change the location where the memory dump tệp tin will be created. Rather than creating the tệp tin on the OS disk, you can refer it lớn any other data disk attached to the VM that has enough không tính phí space. Khổng lồ change the location, replace %System
Root%
with the drive letter (for example F:) of the data disk in the commands listed below.Enter the commands below (suggested dump configuration):

Load Registry Hive from the broken OS Disk:

REG LOAD HKLMBROKENSYSTEM :windowssystem32configSYSTEMEnable on Control
Set001:

REG showroom "HKLMBROKENSYSTEMControl
Set001ControlCrash
Control" /v Crash
Dump
Enabled /t REG_DWORD /d 1 /f REG địa chỉ "HKLMBROKENSYSTEMControl
Set001ControlCrash
Control" /v Dump
File /t REG_EXPAND_SZ /d "%System
Root%MEMORY.DMP" /f REG add "HKLMBROKENSYSTEMControl
Set001ControlCrash
Control" /v NMICrash
Dump /t REG_DWORD /d 1 /f Enable on Control
Set002:

REG add "HKLMBROKENSYSTEMControl
Set002ControlCrash
Control" /v Crash
Dump
Enabled /t REG_DWORD /d 1 /f REG add "HKLMBROKENSYSTEMControl
Set002ControlCrash
Control" /v Dump
File /t REG_EXPAND_SZ /d "%System
Root%MEMORY.DMP" /f REG add "HKLMBROKENSYSTEMControl
Set002ControlCrash
Control" /v NMICrash
Dump /t REG_DWORD /d 1 /f Unload Broken OS Disk:

REG UNLOAD HKLMBROKENSYSTEM

Step 4: Rebuild the VM

Use step 5 of the VM Repair Commands khổng lồ rebuild the VM.

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support. You can also submit sản phẩm feedback khổng lồ Azure community support.

Lỗi VT-x is not available (VERR_VMX_NO_VMX): nếu như bạn chạm mặt lỗi VT-x is not available (VERR_VMX_NO_VMX) lúc khởi hễ máy ảo bởi Virtual
Box, thì các giải pháp sau sẽ giúp đỡ bạn giải quyết và xử lý vấn đề. Nó tương đối phổ biến khi bạn tắt ảo hóa hoặc VT-x trước lúc sử dụng sản phẩm ảo Virtual
Box.


*
*
CHI TIẾT LỖI
Failed to xuất hiện a session for the virtual machine . VT-x is not available. (VERR_VMX_NO_VMX).
*
*

Lỗi VT-x is not available (VERR_VMX_NO_VMX)

Bạn có thể chạm mặt lỗi này khi khởi động bất kỳ máy ảo nào, bao gồm cả Windows và Linux. Dù bằng phương pháp nào, chúng ta cũng rất cần được làm theo các bước tương tự.

# nhảy VT-x với VT-d

Khi áp dụng Virtual
Box, VT-x cùng VT-d là hai trong các những thứ cần thiết nhất cần phải kích hoạt trên máy tính xách tay của bạn. Nếu thiết bị tính của khách hàng không có những cung ứng này, chúng ta không thể sử dụng Virtual
Box và ở đầu cuối nhận được lỗi như đang nêu nghỉ ngơi trên. Nếu như khách hàng đã bật khả năng này trước đó, nhưng nó đã bị vô hiệu hóa bởi vì nhầm lẫn, bạn có thể gặp đề xuất lỗi tương tự. Bởi vì đó, chúng ta nên bật thiết đặt VT-x với VT-d trường đoản cú BIOS.


*
*

Để có tác dụng được điều đó, bạn phải mở BIOS cùng tìm hai setup có tên Intel Virtualization Technology (còn được call là VT-x) với VT-d. Sau đó, bạn cần xác minh xem chúng đã được nhảy chưa. Nếu như không, hãy bật chúng lên.

# Tắt Hyper-V

Khi bạn áp dụng Virtual
Box, Hyper-V cần được bật. Nếu không, bạn cũng có thể nhận được những vấn đề như đang đề cập sinh sống trên. Bởi vì Hyper-V là một tác dụng ảo hóa khác đề xuất hai kĩ năng ảo hóa sẽ không còn chạy đồng thời.


*
*

Do đó, hãy làm cho theo các bước sau để tắt Hyper-V bên trên PC của bạn:

Mở Run nhập Appwiz.cpl.Nhấp vào Turn Windows features on or off cột mặt trái.Tìm gọi Hyper-V trong list và quăng quật tích nó đi.Nhấp vào nút OK.

Hoặc chúng ta có thể tắt nó bằng CMD:

Mở CMD cùng với Run as administrator cùng nhập từng lệnh

bcdedit /set hypervisorlaunchtype offdism.exe /Online /Disable-Feature:Microsoft-Hyper-V

# Tắt tính trọn vẹn của bộ nhớ


*
*

Bạn hoàn toàn có thể tắt tính năng toàn vẹn bộ nhớ trong Windows Security để soát sổ xem điều đó có giải quyết được sự cố của bạn hay không. Đối với điều đó, hãy có tác dụng như sau:

Tìm tìm windows security trong vỏ hộp tìm kiếm trên thanh tác vụ.Chuyển sang tab Device security sinh hoạt phía bên trái.Nhấp vào tùy lựa chọn Core isolation details.Chuyển thay đổi nút Memory integrity nhằm tắt.

Xem thêm: Thịt vịt khìa nước dừa thơm ngọt, đơn giản tại nhà, bí quyết làm món vịt khìa nước dừa ngọt béo

Kết luận

Trên đấy là cách sửa lỗi VT-x is not available (VERR_VMX_NO_VMX) trên Virtual
Box mà chúng ta có thể tham khảo. Hy vọng với khuyên bảo mà Blog thủ thuật máy tính xách tay huets.edu.vn đã share sẽ có lợi với bạn, chúc các bạn thành công.

Tips Computer Acapella Việt Nhạc DJ More
Boxhow lớn fix VT-x is not available (VERR_VMX_NO_VMX) error on Virtual
Box
Hướng dẫn sửa lỗi VT-x is not available (VERR_VMX_NO_VMX) trên Virtual
Boxsửa lỗi VT-x is not available (VERR_VMX_NO_VMX) trên Virtual
Box
VT-x is not available (VERR_VMX_NO_VMX)