How to restore internet explorer 11 configuration when creating new VM from vhd?

99 views Asked by At

I need a reliable procedure for the following problem i'm facing: I created win 10 vm in azure, changed browser setting and then created vhd from it. When i create new VM from that image, every single modification that i made was gone because of sysprep. How can take a snapshot of the this configuration and apply it on the new VM's that i create? I tried to use tools like regshot but it gives me a lot of changes.

1

There are 1 answers

0
SumanthMarigowda-MSFT On

You can take a Snap Shot through Power shell:

Get the VHD disk to be copied. $disk = Get-AzureRmDisk -ResourceGroupName $resourceGroupName -DiskName $dataDiskName

Create the snapshot configurations. $snapshot = New-AzureRmSnapshotConfig -SourceUri $disk.Id -CreateOption Copy -Location $location

Take the snapshot. New-AzureRmSnapshot -Snapshot $snapshot -SnapshotName $snapshotName -ResourceGroupName $resourceGroupName

If you plan to use the snapshot to create a Managed Disk and attach it a VM that needs to be high performing, use the parameter -AccountType Premium_LRS with the New-AzureRmSnapshot command. The parameter creates the snapshot so that it's stored as a Premium Managed Disk. Premium Managed Disks are more expensive than Standard. So be sure you really need Premium before using that parameter.

For more information, see the Create a VM from a snapshot sample.