Create a Windows OS Image
Create an image of the Windows virtual machine configured per your site's requirements.
The VM must first be generalized using Sysprep. For more information see Create a managed image of a generalized VM in Azure.
- Login in to your Microsoft Azure account.
-
Using the search box, enter virtual machines.
A list of search results is listed.
- Under Services, click Virtual machines.
- Select the Windows virtual machine created for cloud bursting by clicking its name.
- Click Connect.
- Click the RDP tab.
- Click Download RDP File.
- Open the file.
- Click Connect.
- Enter the password that was established for the Administrator Account when creating the virtual machine.
- Click OK.
-
Click Yes to connect even if there are certificate
errors.
A connection is established with the Windows virtual machine.
- Open a Command Prompt window as an administrator.
- Using Windows Explorer, navigate to the directory C:\Windows\System32\Sysprep.
- Right-click sysprep.exe and select Run as Administrator.
- For System Cleanup Action, choose Enter System Out-of-Box Experience (OOBE).
- Enable the Generalize check box.
- For Shutdown Options, choose Shutdown.
- Click OK.
- Once the VM is shutdown, close the RDP session.
- Navigate to the browser window where the Azure portal is open and the VM details are displayed.
- Click Capture.
- For name, enter a name for the image.The name of the image should contain the string "windows" (case insensitive). For example, Windows Server 2012 R2 Datacenter.
- For Resource group, choose the previously created resource group.
- For Type the virtual machine name, enter the name of the VM.
- Click Create.