Skip to content

Commit eb2fdda

Browse files
Merge pull request #7846 from Priyanka-Middha/DecemberRelease
Clarify static IP migration process and add troubleshooting guidance …
2 parents 1568425 + 166d983 commit eb2fdda

File tree

1 file changed

+106
-22
lines changed

1 file changed

+106
-22
lines changed

WindowsServerDocs/manage/windows-admin-center/use/migrate-vmware-to-hyper-v.md

Lines changed: 106 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ms.author: roharwoo
1313
> This document provides information about a prerelease product that might change substantially before its release. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
1414
1515
> [!IMPORTANT]
16-
> As a preview extension, the VM Conversion extension is governed by the [Windows Admin Center pre-release extension software license terms](/legal/windows-server/windows-admin-center/windows-pre-release-extension-eula).
17-
> Microsoft is not obligated under this agreement to provide any support services for the software. Issues, questions, and feedback not covered in this documentation can be filed [here](https://github.com/MicrosoftDocs/Windows-Admin-Center-Ideas-and-Feedback).
16+
> As a preview extension, the VM Conversion extension is governed by the [Windows Admin Center prerelease extension software license terms](/legal/windows-server/windows-admin-center/windows-pre-release-extension-eula).
17+
> Microsoft isn't obligated under this agreement to provide any support services for the software. Issues, questions, and feedback not covered in this documentation can be filed [here](https://github.com/MicrosoftDocs/Windows-Admin-Center-Ideas-and-Feedback).
1818
1919
You can use Windows Admin Center to migrate VMware virtual machines from vCenter to Hyper-V with the **VM Conversion extension**. This lightweight tool enables online replication with minimal downtime for both Windows and Linux virtual machines. The conversion tool is easy and fast to set up, at no cost to customers.
2020

@@ -253,12 +253,6 @@ Complete the following steps to migrate VMware virtual machines to Hyper-V in Wi
253253
254254
---
255255
256-
[!Note]
257-
> **Best practice:** For optimal performance and reliability in geographically distributed environments, deploy the Windows Admin Center gateway in the same site as the ESXi and Hyper-V hosts involved in VM conversion.
258-
> This helps minimize WAN traffic, reduce latency, and ensure a smoother VM migration experience.
259-
260-
---
261-
262256
## View logs
263257
264258
### Browser console logs
@@ -415,7 +409,7 @@ Complete the following steps to migrate VMware virtual machines to Hyper-V in Wi
415409
Write-Output "Stopping VM '$VMName'..."
416410
Stop-VM -Name $VMName -Force
417411
418-
# Retrieve the VM's system settings data using its name
412+
# Retrieve the VMs system settings data using its name
419413
$vmSettingsData = Get-CimInstance -Namespace "root\virtualization\v2" -Query "select * from Msvm_VirtualSystemSettingData where ElementName = '$VMName'" -ErrorAction Stop
420414
421415
# Ensure BIOS GUID has { } format
@@ -528,28 +522,118 @@ Cancellation isn't supported directly in the extension. As a workaround:
528522
529523
- Ensure there are no **failed virtual machines** present on the same destination server.
530524
531-
### Issue 4: Static IP migration failure for Windows VMs
525+
### Issue 4: Static IP Configuration Is Not Preserved Without Guest Credentials
526+
527+
**Scenario:**
528+
529+
The VM Conversion tool can automatically migrate static IP settings for Windows virtual machines when guest operating system credentials are provided.
530+
531+
If the user does not provide guest credentials, the tool cannot migrate static IP settings automatically.
532532
533533
**Symptom:**
534534
535-
Static IP configuration doesn't migrate successfully for a Windows VM.
535+
After migration, the virtual machine:
536+
- Receives a DHCP-assigned IP address, or
537+
- Does not retain its original static IP configuration
536538
537-
**Resolution:**
539+
**Cause:**
540+
541+
Automatic static IP migration requires access to the guest operating system to read and reapply network settings.
538542
539-
1. Download the [**static IP migration package (.zip)**](https://aka.ms/hci-migrate-static-ip-download), which contains scripts for both Windows and Linux VMs.
543+
When guest credentials are not provided due to security or compliance requirements, the VM Conversion tool cannot capture static IP configuration during migration.
540544
541-
1. Extract the package to a specified path inside the guest VM **after synchronization and before migration**.
545+
**Resolution: Manual Static IP Migration (Guest Credentials Not Required)**
542546
543-
1. Open a PowerShell window as Administrator.
547+
Use the following workflow to preserve static IP configuration without providing guest credentials.
544548
545-
1. Navigate to the extracted path.
549+
> [!IMPORTANT]
550+
> Complete these steps **after synchronization and before starting migration**.
551+
> Running the script after migration does not preserve the static IP configuration.
546552
547-
1. Run the following command:
553+
1. Download the [**Static IP migration package (.zip)**](https://aka.ms/hci-migrate-static-ip-download).
554+
The package includes scripts for **Windows and Linux** virtual machines.
555+
556+
2. After synchronization completes, copy the package to a location inside the **source guest virtual machine** and extract the contents.
557+
558+
3. Open **PowerShell as Administrator** inside the guest virtual machine.
559+
560+
4. Navigate to the extracted folder.
561+
562+
5. Run the following command to capture the static IP configuration:
548563
549564
```powershell
550565
.\Prepare-MigratedVM.ps1 -StaticIPMigration -Verbose
551566
```
552567

568+
### Issue 5: Synchronization Fails Due to an Invalid Change ID
569+
570+
**Error Message:**
571+
572+
> The generated Change ID is invalid. Please verify the Change ID and try again.
573+
574+
**When This Issue Occurs:**
575+
576+
This issue occurs during **synchronization** when the VM Conversion extension cannot retrieve or validate the **Change ID** for one or more virtual disks on the source VMware virtual machine.
577+
578+
The VM Conversion extension relies on **VMware Changed Block Tracking (CBT)** to identify incremental disk changes. If the Change ID is missing, stale, or invalid, synchronization cannot continue.
579+
580+
**Possible Causes:**
581+
582+
This issue can occur for one or more of the following reasons:
583+
584+
- Changed Block Tracking (CBT) is disabled or not fully enabled on the source virtual machine.
585+
- Snapshot-related issues, including:
586+
- Orphaned or stale snapshots
587+
- Snapshot chain corruption
588+
- Unsupported disk configurations, such as:
589+
- Independent disks (persistent or non-persistent)
590+
- Physical mode RDMs
591+
- Recent virtual machine operations, including:
592+
- Storage vMotion
593+
- Virtual disk resize
594+
- Virtual machine restore from backup
595+
- CBT metadata corruption caused by host crashes or unexpected power events.
596+
597+
**What to Check:**
598+
599+
Before retrying synchronization, verify the following:
600+
601+
1. Ensure CBT is enabled on the source virtual machine:
602+
- `ctkEnabled` is set to `true` at the virtual machine level.
603+
- `ctkEnabled` is set to `true` for each virtual disk.
604+
2. Verify that no active snapshots exist:
605+
- Remove or consolidate snapshots if required.
606+
3. Validate disk configuration:
607+
- Ensure disks are not configured as **Independent**.
608+
- Verify RDMs use **Virtual Compatibility Mode**, if applicable.
609+
4. Review recent virtual machine operations:
610+
- Check for recent storage migrations, disk changes, or restore operations.
611+
612+
**How to Fix the Issue:**
613+
614+
If the issue persists after completing the checks above, regenerate CBT metadata by performing the following steps:
615+
616+
1. Disable Changed Block Tracking (CBT) on the source virtual machine.
617+
2. Power off the virtual machine.
618+
3. Re-enable Changed Block Tracking (CBT).
619+
4. Power on the virtual machine.
620+
5. Allow the system to generate a new Change ID.
621+
6. Retry the synchronization operation.
622+
623+
>[!Note]
624+
>Power cycling the virtual machine is required to regenerate valid CBT metadata.
625+
626+
**Learn More**
627+
628+
For more information about CBT limitations and troubleshooting guidance, see the following Broadcom documentation:
629+
630+
- [Troubleshooting Changed Block Tracking (CBT) – Broadcom Knowledge Base](https://knowledge.broadcom.com/external/article/320557/changed-block-tracking-cbt-on-virtual-ma.html)
631+
- [Troubleshooting Changed Block Tracking (CBT) – VDDK Programming Guide](https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere-sdks-tools/8-0/virtual-disk-development-kit-programming-guide/error-codes-and-open-source/troubleshooting-changed-block-tracking-cbt.html)
632+
633+
**Best Practice**
634+
635+
Validate CBT health on the source virtual machine before starting synchronization, especially after snapshot operations or virtual machine configuration changes.
636+
553637
---
554638

555639
## What's new
@@ -631,7 +715,7 @@ Static IP configuration doesn't migrate successfully for a Windows VM.
631715
A new banner now appears, prompting users to stay signed in and refresh their session every 2 hours during migration to ensure continuity.
632716

633717
- **Quick Access to Documentation:**
634-
The **“Open in New Window”** icon on the landing page now links directly to the official guide
718+
The **“Open in New Window”** icon on the landing page now links directly to the official guide
635719
[Migrate VMware Virtual Machines to Hyper-V in Windows Admin Center (Preview)](../use/migrate-vmware-to-hyper-v.md).
636720

637721
## Other Improvements
@@ -668,11 +752,11 @@ Static IP configuration doesn't migrate successfully for a Windows VM.
668752
- Resolves failures that occurred when Secure Boot was configured on a running VM.
669753

670754
### Early Change ID Validation
671-
- Added pre-validation for missing disk Change IDs.
755+
- Added prevalidation for missing disk Change IDs.
672756
- Provides clear and early error messaging, avoiding unexpected failures later in the workflow.
673757

674758
### Power State Alignment
675-
- Ensures the destination VM's power state consistently matches the source VM’s final power state after migration.
759+
- Ensures the destination VMs power state consistently matches the source VM’s final power state after migration.
676760
- If the source VM is off and migration succeeds → destination VM remains off.
677761
- If the source VM is off and migration fails → source VM remains off.
678762

@@ -698,8 +782,8 @@ Static IP configuration doesn't migrate successfully for a Windows VM.
698782

699783
## Bug Fixes
700784

701-
- Fixed an issue where powering on a VM resulted in the error: Validation failed for one or more fields.
702-
- Resolved an issue causing: Failed to create destination VM: cpuCount must be a positive number.
785+
- Fixed an issue where powering on a VM resulted in the error: 'Validation failed for one or more fields.'
786+
- Resolved an issue causing: 'Failed to create destination VM: cpuCount must be a positive number.'
703787
- Addressed a problem where closing the browser mid-migration caused workflows to appear stuck at 80% when returning to Windows Admin Center. The Import VM step now automatically resumes and completes correctly.
704788

705789
---

0 commit comments

Comments
 (0)