You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,7 +26,7 @@ In this article, you learn how to download a Windows virtual hard disk (VHD) fil
26
26
27
27
A VHD can’t be downloaded from Azure if it's attached to a running VM. You need to stop the VM to download a VHD. If you want to use a VHD as an [image](tutorial-custom-images.md) to create other VMs with new disks, you use [Sysprep](https://docs.microsoft.com/windows-hardware/manufacture/desktop/sysprep--generalize--a-windows-installation) to generalize the operating system contained in the file and then stop the VM. To use the VHD as a disk for a new instance of an existing VM or data disk, you only need to stop and deallocate the VM.
28
28
29
-
To use the VHD as an image to create other VMs, complete these steps:
29
+
To use the VHD as an image to create other VMs, generalize the VM.
30
30
31
31
1. If you haven't already done so, sign in to the [Azure portal](https://portal.azure.com/).
32
32
2. [Connect to the VM](connect-logon.md?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
@@ -35,24 +35,23 @@ To use the VHD as an image to create other VMs, complete these steps:
35
35
5. In the System Preparation Tool dialog box, select **Enter System Out-of-Box Experience (OOBE)**, and make sure that **Generalize** is selected.
36
36
6. In Shutdown Options, select **Shutdown**, and then click **OK**.
37
37
38
-
To use the VHD as a disk for a new instance of an existing VM or data disk, complete these steps:
38
+
Stop the VM.
39
39
40
40
1. On the Hub menu in the Azure portal, click **Virtual Machines**.
41
-
2. Select the VM from the list.
42
-
3. On the blade for the VM, click **Stop**.
41
+
1. Select the VM from the list.
42
+
1. On the blade for the VM, click **Stop**.
43
43
44
44

45
45
46
-
## Generate SAS URL
46
+
## Generate download URL
47
47
48
48
To download the VHD file, you need to generate a [shared access signature (SAS)](../../storage/common/storage-dotnet-shared-access-signature-part-1.md?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) URL. When the URL is generated, an expiration time is assigned to the URL.
49
49
50
-
1. On the menu of the blade for the VM, click **Disks**.
51
-
2. Select the operating system disk for the VM, and then click **Disk Export**.
1. On the page for the VM, click **Disks** in the left menu.
51
+
1. Select the operating system disk for the VM.
52
+
1. On the page for the disk, select **Disk Export** from the left menu.
53
+
1. The default expiration time of the URL is *3600* seconds. Increase this to **36000** for Windows OS disks.
54
+
1. Click **Generate URL**.
56
55
57
56
> [!NOTE]
58
57
> The expiration time is increased from the default to provide enough time to download the large VHD file for a Windows Server operating system. You can expect a VHD file that contains the Windows Server operating system to take several hours to download depending on your connection. If you are downloading a VHD for a data disk, the default time is sufficient.
@@ -62,12 +61,7 @@ To download the VHD file, you need to generate a [shared access signature (SAS)]
62
61
## Download VHD
63
62
64
63
1. Under the URL that was generated, click Download the VHD file.
0 commit comments