Upload a Windows 10 VM to Azure Resource Manager


I needed to upload and create a Windows 10 image to an Azure tenant that didn’t have one available. Most of them don’t unless they’re given as part of an MSDN subscription. This is the How-To.

The steps:

  1. Create a base image with the features, software, patches and whatever else you need
  2. Mark it as image
  3. Upload it to Azure – ARM mode
  4. Create the image from the base

In detail:

Here’s the original desktop I created on my Azure tenant :

Hello Windows 10, Windows 10 N actually. Same Windows but with no Media Related Technologies

I properly called it Windows10Base

After patching and adding all the required components. The next step is to run sysprep


It normally takes 10 to 15 minutes to finish. Once it’s done, the VM will be deleted form the Tenant, the VM, not the disk.

Here’s the sysprep-ed VHD to be used as an image

Note: You have to shutdown the VM and mark it as image after the sysprep, if this is not done, the VM will not be able to be used as an image to create other VMs


Next, was to download the .vHD. Remember this was created in one subscription and uploaded to another.

I used the Azure Storage Explorer in a Windows Box

Now I had the .vHD file locally, it can be uploaded to the corresponding storage account in the target subscription.

The quick steps:


I created a container inside a storage account for this .vHD https://[whatevernamesuitsyou].blob.core.windows.net/vhd

Time to upload the .vHD to the target Subscription

It will look like this:

It took 1 1/2 hours to upload


The .vHD is up, now what?

Time to create the Virtual Machine

And for that, I modified some scripts I found at the Microsoft’s website and here it is :



And that’s it

You will have a  Windows 10 VM created in Azure ARM