Azure ASRDeployment v3.52 unable to profile hyper-V servers

Dowell, Keith 0 Reputation points
2025-08-25T16:56:59.7366667+00:00

I have generated a txt file vm list using the ASRD tool to. This tool created a list of VMs in a text file. That made a long list of VMs as an example below:

Hyp-Server1\App-Server

But then when I run the profiling command It runs for a second and then stops leaving the following messave

2025-08-25T08:16:57.4988690-07:00	Info:	Trace Session Started
08/25/2025 08:16:57:
08/25/2025 08:16:57:Input passed from command line and default values from configuration file: 
FileVersion: 5.24.916.7
ServerName: HyperV
UserName: domain\****
Operation: StartProfiling
Virtualization: HyperV
InputVmFileName: C:\temp\VMList5.txt
Directory: C:\temp\Profiling_Data
NoOfDaysToProfile: 0.0416666666666667
UserInput: Default
Geo: 
SubscriptionId: 
OfferDurableId: 
OfferPurchasedRegion: 
StartDateLocalTime: 1/1/0001 12:00:00 AM
EndDateLocalTime: 1/1/0001 12:00:00 AM
NoOfHoursToCompleteIR: 0
Compression: 0
NormalizedFile: 
DesiredRPOInMin: 0
DesiredBandwidthInMbps: 0
DesiredRPOList: 
PercentileForBandwidthList: 
PercentileForRPOGivenBandwidthList: 
PercentileRPOToShow: 0
NumberOfBandwidthValuesForIR: 0
PercentileBandwidth: 0
WriteIOPSPercentile: 0
ReadWriteIOPSPercentile: 0
DataChurnPercentile: 0
SnapshotDataChurnPercentile: 0
BandwidthAdjustmentFactor: 0
GrowthFactor: 0
StorageAccountName: 
StorageAccountEnvironment: AzureCloud
CandidateServer: 
IsManagedDisk: Any
IsLargeDisk: Any
VMLIST: ut-frb, 

08/25/2025 08:16:57:Performing prerequisite checks...
08/25/2025 08:16:57:The special character: \ is invalid in a VM:HYP-FBR\UT-FRB. Remove the special characters from VMName list.
08/25/2025 08:16:57:
2025-08-25T08:16:57.6238701-07:00	Info:	Trace Session Ended

Please note I just edited to remove username and full server names but all the context is here. I also ran this with only 1 server in the textfile for testing.

so the ASRDeployment tool seems to generate a list that it can't use....

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Siva shunmugam Nadessin 575 Reputation points Microsoft External Staff Moderator
    2025-08-26T07:32:15.6866667+00:00

    Hello Dowell, Keith,

    It looks like you're running into an issue with profiling your Hyper-V servers using the ASRDeployment tool. The error message you received indicates that there are invalid special characters in the VM name format. Specifically, the backslash () character in the VM name is causing the tool to reject the input.

    Here's what you can try to resolve the issue:

    1. Edit the VM List: Make sure your VM list text file (C:\temp\VMList5.txt) follows the correct format. The standard format should be HostName\VMName on each line, but if you're encountering issues, consider checking for any extraneous characters or formatting errors.

    For instance, instead of:

    Hyp-Server1\App-Server

    You might want to test with just the App-Server name or ensure that the names don't contain characters that are not acceptable.

    1. Remove Special Characters: If your VM names contain special characters (other than the backslash), try renaming the VMs if possible, or remove those characters from the text file and see if that helps.
    2. Test with a Single Entry: Since you mentioned that you tried with a single server for testing, ensure the VM name is exactly as it is in Hyper-V without any special characters (i.e., just App-Server).
    3. Confirm VM Connectivity: Make sure that the Hyper-V host is accessible and that the VMs are running when you execute the profiling command.
    4. Check Permissions: Ensure that the user you are using to run the tool has administrative access on both the Hyper-V host and the VMs you are trying to profile.

    Reference Document:

    https://learn.microsoft.com/en-us/azure/site-recovery/hyper-v-deployment-planner-run?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider#get-the-vm-list-for-profiling-hyper-v-vms

    https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-vmware-deployment-planner-run?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider#profile-vmware-virtual-machines

    Please click Accept Answer and upvote if the above was helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.