To upload image.
  1. Open Windows Azure SDK Command Prompt as an administrator from Start -> All Programs -> Windows Azure SDK v1.x
  2. At command prompt execute the following command

    csupload Add-VMImage -Connection "SubscriptionId=<YOUR-SUBSCRIPTION-ID>; CertificateThumbprint=<YOUR-CERTIFICATE-THUMBPRINT>" -Description "Base image Windows Server 2008 R2" -LiteralPath "<PATH-TO-VHD-FILE>" -Name baseimage.vhd -Location <HOSTED-SERVICE-LOCATION>

    Where
  1. In the Windows Azure VHD Verification Tool dialog, click OK to allow the VHD to be mounted.

    DiskImage1.jpg

  2. Now it mounts the .vhd file and verifies it. In this process it generates a compressed file (.preped file) in the same folder as the original image file.

    DiskImage2.jpg

  3. After that it creates a new blob for uploading the image file and starts uploading the compressed image to the azure account. It will take significant amount of time. After completion it shows the details.

    DiskImage3.jpg

  4. Once the image is uploaded successfully it shows the status of the image as Committed.

    DiskImage4.jpg