Enable Azure Disk Encryption for Windows VMs - Azure Virtual Machines (2024)

  • Article
  • 5 minutes to read

Applies to: ✔️ Windows VMs ✔️ Flexible scale sets

Azure Disk Encryption helps protect and safeguard your data to meet your organizational security and compliance commitments. It uses the BitLocker feature of Windows to provide volume encryption for the OS and data disks of Azure virtual machines (VMs), and is integrated with Azure Key Vault to help you control and manage the disk encryption keys and secrets.

Azure Disk Encryption is zone resilient, the same way as Virtual Machines. For details, see Azure Services that support Availability Zones.

If you use Microsoft Defender for Cloud, you're alerted if you have VMs that aren't encrypted. The alerts show as High Severity and the recommendation is to encrypt these VMs.

Enable Azure Disk Encryption for Windows VMs - Azure Virtual Machines (1)

Warning

  • If you have previously used Azure Disk Encryption with Azure AD to encrypt a VM, you must continue use this option to encrypt your VM. See Azure Disk Encryption with Azure AD (previous release) for details.
  • Certain recommendations might increase data, network, or compute resource usage, resulting in additional license or subscription costs. You must have a valid active Azure subscription to create resources in Azure in the supported regions.
  • Do not use BitLocker to manually decrypt a VM or disk that was encrypted through Azure Disk Encryption.

You can learn the fundamentals of Azure Disk Encryption for Windows in just a few minutes with the Create and encrypt a Windows VM with Azure CLI quickstart or the Create and encrypt a Windows VM with Azure PowerShell quickstart.

Supported VMs and operating systems

Supported VMs

Windows VMs are available in a range of sizes. Azure Disk Encryption is supported on Generation 1 and Generation 2 VMs. Azure Disk Encryption is also available for VMs with premium storage.

Azure Disk Encryption is not available on Basic, A-series VMs, or on virtual machines with a less than 2 GB of memory. For more exceptions, see Azure Disk Encryption: Unsupported scenarios.

Supported operating systems

  • Windows client: Windows 8 and later.
  • Windows Server: Windows Server 2008 R2 and later.
  • Windows 10 Enterprise multi-session and later.

Note

Windows Server 2022 and Windows 11 do not support an RSA 2048 bit key. For more information, see FAQ: What size should I use for my key encryption key?

Windows Server 2008 R2 requires the .NET Framework 4.5 to be installed for encryption; install it from Windows Update with the optional update Microsoft .NET Framework 4.5.2 for Windows Server 2008 R2 x64-based systems (KB2901983).

Windows Server 2012 R2 Core and Windows Server 2016 Core requires the bdehdcfg component to be installed on the VM for encryption.

Networking requirements

To enable Azure Disk Encryption, the VMs must meet the following network endpoint configuration requirements:

  • To get a token to connect to your key vault, the Windows VM must be able to connect to an Azure Active Directory endpoint, [login.microsoftonline.com].
  • To write the encryption keys to your key vault, the Windows VM must be able to connect to the key vault endpoint.
  • The Windows VM must be able to connect to an Azure storage endpoint that hosts the Azure extension repository and an Azure storage account that hosts the VHD files.
  • If your security policy limits access from Azure VMs to the Internet, you can resolve the preceding URI and configure a specific rule to allow outbound connectivity to the IPs. For more information, see Azure Key Vault behind a firewall.

Group Policy requirements

Azure Disk Encryption uses the BitLocker external key protector for Windows VMs. For domain joined VMs, don't push any group policies that enforce TPM protectors. For information about the group policy for "Allow BitLocker without a compatible TPM," see BitLocker Group Policy Reference.

BitLocker policy on domain joined virtual machines with custom group policy must include the following setting: Configure user storage of BitLocker recovery information -> Allow 256-bit recovery key. Azure Disk Encryption will fail when custom group policy settings for BitLocker are incompatible. On machines that didn't have the correct policy setting, apply the new policy, and force the new policy to update (gpupdate.exe /force). Restarting may be required.

Microsoft BitLocker Administration and Monitoring (MBAM) group policy features aren't compatible with Azure Disk Encryption.

Warning

Azure Disk Encryption does not store recovery keys. If the Interactive logon: Machine account lockout threshold security setting is enabled, machines can only be recovered by providing a recovery key via the serial console. Instructions for ensuring the appropriate recovery policies are enabled can be found in the Bitlocker recovery guide plan.

Azure Disk Encryption will fail if domain level group policy blocks the AES-CBC algorithm, which is used by BitLocker.

Encryption key storage requirements

Azure Disk Encryption requires an Azure Key Vault to control and manage disk encryption keys and secrets. Your key vault and VMs must reside in the same Azure region and subscription.

For details, see Creating and configuring a key vault for Azure Disk Encryption.

Terminology

The following table defines some of the common terms used in Azure disk encryption documentation:

TerminologyDefinition
Azure Key VaultKey Vault is a cryptographic, key management service that's based on Federal Information Processing Standards (FIPS) validated hardware security modules. These standards help to safeguard your cryptographic keys and sensitive secrets. For more information, see the Azure Key Vault documentation and Creating and configuring a key vault for Azure Disk Encryption.
Azure CLIThe Azure CLI is optimized for managing and administering Azure resources from the command line.
BitLockerBitLocker is an industry-recognized Windows volume encryption technology that's used to enable disk encryption on Windows VMs.
Key encryption key (KEK)The asymmetric key (RSA 2048) that you can use to protect or wrap the secret. You can provide a hardware security module (HSM)-protected key or software-protected key. For more information, see the Azure Key Vault documentation and Creating and configuring a key vault for Azure Disk Encryption.
PowerShell cmdletsFor more information, see Azure PowerShell cmdlets.

Next steps

Enable Azure Disk Encryption for Windows VMs - Azure Virtual Machines (2024)

FAQs

For which virtual machines you can enable Azure disk encryption? ›

Supported VMs

Azure Disk Encryption is supported on Generation 1 and Generation 2 VMs. Azure Disk Encryption is also available for VMs with premium storage.

When you enable Azure disk encryption on a Windows VM what technology does it use on the VM to encrypt the data on your VHDs? ›

Azure Disk Encryption for Windows virtual machines (VMs) uses the BitLocker feature of Windows to provide full disk encryption of the OS disk and data disk.

How do I enable AZVM disk encryption? ›

To enable Azure Disk Encryption, your Azure VM must be power on. Navigate to your Azure VM, then select Disks. Next select Additional settings. In additional settings, select the disk you want to encrypt and then select the key vault, the key and the version.

How do I encrypt a Windows virtual machine? ›

Select a virtual machine in the Virtual Machine Library window and click Settings. Under Other in the Settings window, click Encryption. Choose appropriate encryption option and set the encryption password. The password must be eight characters or longer.

Is Azure Disk Encryption enabled by default? ›

Azure Storage encryption automatically encrypts your data stored on Azure managed disks (OS and data disks) at rest by default when persisting it to the cloud.

Do I need Azure Disk Encryption? ›

If your requirements include encrypting all of the above and end-to-end encryption, use Azure Disk Encryption. If your requirements include encrypting only data at rest with customer-managed key, then use Server-side encryption with customer-managed keys.

Is it possible to enable encryption on Azure storage? ›

Azure Storage encryption is enabled for all storage accounts, including both Resource Manager and classic storage accounts. Azure Storage encryption cannot be disabled. Because your data is secured by default, you don't need to modify your code or applications to take advantage of Azure Storage encryption.

What is VM Disk Encryption? ›

What is VMware Encryption? VMware vSphere encryption was first introduced in vSphere 6.5 and vSAN 6.6; enabling encryption both in virtual machines (VMs) and disk storage. It only requires the vCenter vSphere Server, a third-party Key Management Server (KMS), and ESXi hosts to work.

How do you ensure virtual machine and files are encrypted? ›

To encrypt virtual machine disks, right-click on a virtual machine in the vSphere client inventory, and choose VM Policies > Edit VM Storage Policies. In the Edit VM Storage Policies dialog box, choose the VM Encryption Policy to enable encryption on the virtual machine disk(s).

How do I make my Azure VM secure? ›

Manage your VM security posture
  1. Apply OS security settings with recommended configuration rules.
  2. Identify and download system security and critical updates that might be missing.
  3. Deploy recommendations for endpoint antimalware protection.
  4. Validate disk encryption.
  5. Assess and remediate vulnerabilities.
  6. Detect threats.
Nov 15, 2022

What is the Azure policy for Disk Encryption? ›

Azure Disk Encryption

There is no charge for encrypting virtual disks in Azure. Cryptographic keys are stored in Azure Key Vault using software-protection, or you can import or generate your keys in Hardware Security Modules (HSMs) certified to FIPS 140-2 level 2 standards.

How do I know if my disk encryption is enabled? ›

Select the Start button, then select Settings > Update & Security > Device encryption. If Device encryption doesn't appear, it isn't available. If device encryption is turned off, select Turn on.

How do I enable BitLocker on my virtual machine? ›

  1. 3 easy steps to enable BitLocker encryption on a VM with TPM. Deepti Swain. ...
  2. Step 1: Encrypt a virtual machine: Power off the virtual machine. ...
  3. Step 2: Enable TPM on a VM: Trusted Platform Module (TPM) technology is designed to provide hardware-based, security-related functions. ...
  4. Step 3: Enable BitLocker Encryption:

How do I enable host encryption mode? ›

  1. Set up Your Workstation to Configure vSphere Trust Authority.
  2. Enable the Trust Authority Administrator.
  3. Enable the Trust Authority State.
  4. Collect Information About ESXi Hosts and vCenter Server to Be Trusted. ...
  5. Import the Trusted Host Information to the Trust Authority Cluster.
Jul 13, 2022

How to encrypt Windows without BitLocker? ›

How to Encrypt a USB Drive on Windows 10 Without BitLocker
  1. Click File Encryption under More Tools > Click Add Files or Add Folders.
  2. Select important files or folders that you need to encrypt, and click Open.
  3. Select the encryption mode: Encrypt to gfl or Encrypt to exe.
Feb 16, 2023

How do I enable secure virtual machine in Windows 10? ›

How to Enable Virtualization without BIOS?
  1. Navigate to the Security tab and press Enter on CPU Setup.
  2. Select Intel(R) Virtualization Technology and press Enter.
  3. Choose Enable and press Enter.
  4. Press F10.
  5. Press Enter to select Yes to save the settings and Boot into Windows.
Feb 10, 2023

How do I know if BitLocker is enabled in Azure? ›

Go to the All Users object and search for the account associated to the device. Go to the Devices object under the Manage heading. Select the appropriate listed device. If the device is registered with Bitlocker encryption, then the Bitlocker Key ID and Recovery Key will be visible.

Does Azure Disk Encryption work with Azure key vault? ›

Azure Disk Encryption is integrated with Azure Key Vault to help you control and manage the disk-encryption keys and secrets in your key vault subscription. You can create a key vault or use an existing one for Azure Disk Encryption.

Are Azure VMs encrypted at rest? ›

All Azure hosted services are committed to providing Encryption at Rest options. Azure services support either service-managed keys, customer-managed keys, or client-side encryption.

What is the difference between server side encryption and Azure Disk Encryption? ›

Essentially, ADE encrypts your data end-to-end whereas SSE only encrypts it at end. Server Side Encryption is always enabled. You cannot turn it off as it's a platform-level feature.

What is the difference between Azure storage Service encryption and Azure Disk Encryption? ›

In summary, Azure Disk Encryption (ADE) uses BitLocker to encrypt OS level drives, such as the OS disk and any added data disks. Storage Encryption only encrypts the storage account.

Do I need Windows device encryption? ›

Device encryption is a feature intended to protect your data. It should be enabled, but you should use it with caution. You should make sure you have your recovery key in case you need it, and you should have a backup of your files in case you lose access to the device.

How Disk Encryption should be enabled on Azure data Explorer? ›

In this article
  1. In the Azure portal, go to your Azure Data Explorer cluster resource. Under the Settings heading, select Security.
  2. In the Security window, select On for the Disk encryption security setting.
  3. Select Save.
Apr 11, 2022

Where are Azure encryption keys stored? ›

Azure Storage encrypts all data in a storage account at rest. By default, data is encrypted with Microsoft-managed keys. For additional control over encryption keys, you can manage your own keys. Customer-managed keys must be stored in Azure Key Vault or Key Vault Managed Hardware Security Model (HSM).

What are the three main ways to secure a VM? ›

  • Remove Unnecessary Hardware Devices.
  • Disable Unused Display Features.
  • Disable Unexposed Features.
  • Disable VMware Shared Folders Sharing Host Files to the Virtual Machine.
  • Disable Copy and Paste Operations Between Guest Operating System and Remote Console.
  • Limiting Exposure of Sensitive Data Copied to the Clipboard.
Jan 13, 2021

Why encrypt VM disks? ›

For Hyper-V VM encryption, BitLocker is needed to encrypt virtual machines and disks. Virtual machine with encryption feature is able to encrypt I/Os before data gets stored in the VMDK. An encrypted virtual machine makes sure someone does not have unauthorized access to your data.

How to secure data in VM? ›

Ensure that antivirus programs are installed on the virtual machines and kept current with updates. Virtual machines, like physical machines are at risk for viruses and worms. Utilize strong encryption between the host and virtual machines. Avoid internet surfing from the host computer.

How do I protect a VM from deleting? ›

By setting the deletionProtection flag, a VM instance can be protected from accidental deletion. If a user attempts to delete a VM instance for which you have set the deletionProtection flag, the request fails.

How to ensure that OS and data disks are encrypted with customer managed key? ›

Encrypt lab OS disks with a customer-managed key

On the Configuration and policies page, select Disks (Preview) in the Encryption section. By default, Encryption type is set to Encryption at-rest with a platform managed key. For Encryption type, select Encryption at-rest with a customer managed key from drop-down list.

What technologies are used to support VM encryption? ›

Two types of keys are used for VM encryption: Data encryption key (DEK): The ESXi host generates and uses internal keys to encrypt VMs and disks . These XTS-AES-256 keys are used as DEKs . Key encryption key (KEK): The vCenter Server instance requests AES-256 keys from the KMS .

How do I apply SSL to Azure VM? ›

Log into the Azure portal, and from the left menu, select App Services, then the app name. From the app's navigation menu, go to TLS/SSL settings > Private Key Certificates(. pfx) > Upload Certificate. In the PFX Certificate File section, choose your PFX file.

How do I enable secure boot in Azure VM? ›

The Secure Boot and vTPM checkboxes are enabled by default. Fill in the Administrator account information and then Inbound port rules. On the validation page, review the details of the VM. After the validation succeeds, select Create to finish creating the VM.

How is Azure Virtual Desktop secured? ›

In an Azure Virtual Desktop deployment, Microsoft manages portions of the services on the customer's behalf. The service has many built-in advanced security features, such as Reverse Connect, which reduce the risk involved with having remote desktops accessible from anywhere.

Which Microsoft encryption tool can use to configure Disk Encryption? ›

In the search box on the taskbar, type Manage BitLocker and then select it from the list of results. Or, select Start > Settings > Privacy & security > Device encryption > BitLocker drive encryption.

How many types of encryption are there in Azure? ›

By default, Azure Data Lake Store manages the keys for you, but you have the option to manage them yourself. Three types of keys are used in encrypting and decrypting data: the Master Encryption Key (MEK), Data Encryption Key (DEK), and Block Encryption Key (BEK).

How much does full disk encryption cost? ›

While costs vary dramatically based on factors such as organization size and the industry involved, the most expensive aspect of full disk encryption is the "user time incurred operating computer" featuring the technology.

How do I know if my disk is encrypted Windows Server? ›

Windows - DDPE (Credant)

In the Data Protection window, click on the icon of the hard drive (aka System Storage). Under System Storage, if you see the following text: OSDisk (C) and In compliance underneath, then your hard drive is encrypted.

Does Windows automatically encrypt hard drive? ›

On PCs designed for Windows 10 and Windows 11, the system disk is encrypted by default, but that encryption uses a clear key. The encryption doesn't protect your data unless you sign in with a Microsoft account, which protects the data and also saves a recovery key in OneDrive.

Is your disk always encrypted if BitLocker is enabled? ›

No unencrypted data is ever stored on a BitLocker-protected drive.

Is it possible to enable disk encryption for virtual machines? ›

You can enable disk encryption on existing or running IaaS Windows VMs in Azure by using the Resource Manager template to encrypt a running Windows VM.

How do I enable TPM 2.0 on my virtual machine? ›

How to enable TPM module on your computer
  1. Open Settings >> Update & Security >> Recovery >> Restart now.
  2. Click Troubleshoot >> Advanced options >> UEFI Firmware Settings >> Restart. ...
  3. The system will reboot and load into BIOS. ...
  4. Select Trusted Platform Module (TPM) option and press Enter.
  5. Select Enabled, and press Enter.
Mar 8, 2023

How do I enable folder encryption in Windows? ›

Enabling file/folder encryption in Windows 10 Pro
  1. Right-click the file or folder and select Attributes.
  2. Go to General > Attributes > Advanced and enable Encrypt contents to secure data. ...
  3. Select Apply changes to this folder only or Apply changes to this folder, subfolders and files, then click OK.

Why is Encrypt option disabled? ›

This is because the system will lose the files required to make encryptions. Windows versions like Windows 10 Home do not support content encryption. This might be the cause of the encryption option being greyed out. This implies that file encryption cannot be done on Windows 10 Home using the built-in method.

How do I set up Disk Encryption in Azure? ›

You must select the option in the Azure Key Vault access policy settings to enable access to Azure Disk Encryption for volume encryption. If you have enabled the firewall on the key vault, you must go to the Networking tab on the key vault and enable access to Microsoft Trusted Services.

How do I add Azure disk to my VM? ›

Add a data disk
  1. Sign in to the Azure portal.
  2. Search for and select Virtual machines.
  3. Select a virtual machine from the list.
  4. On the Virtual machine pane, select Disks.
  5. On the Disks pane, select Create and attach a new disk.
  6. In the drop-downs for the new disk, make the selections you want, and name the disk.
Aug 10, 2022

How do I add SSL to my Azure VM? ›

Log into the Azure portal, and from the left menu, select App Services, then the app name. From the app's navigation menu, go to TLS/SSL settings > Private Key Certificates(. pfx) > Upload Certificate. In the PFX Certificate File section, choose your PFX file.

What is Azure Disk Encryption in Azure? ›

Azure Disk Encryption helps protect and safeguard your data to meet your organizational security and compliance commitments. ADE encrypts the OS and data disks of Azure virtual machines (VMs) inside your VMs by using the DM-Crypt feature of Linux or the BitLocker feature of Windows.

How to set TLS in Azure VM? ›

Navigate to your storage account in the Azure portal. Under Settings, select Configuration. Under Minimum TLS version, use the drop-down to select the minimum version of TLS required to access data in this storage account.

How do I know if Bitlocker is enabled in Azure? ›

Go to the All Users object and search for the account associated to the device. Go to the Devices object under the Manage heading. Select the appropriate listed device. If the device is registered with Bitlocker encryption, then the Bitlocker Key ID and Recovery Key will be visible.

Does Azure VM come with OS disk? ›

Every virtual machine has one attached operating system disk. That OS disk has a pre-installed OS, which was selected when the VM was created. This disk contains the boot volume.

How many Disks can be attached to Azure VM? ›

For Azure managed disks:

There is no limit for the number of Managed Disks, snapshots and images per resource group.

How do I attach a VHD to a VM in Azure? ›

Procedure
  1. Upload the VHD file using the Azure Portal. In the Azure Portal, select Storage Accounts. Select the storage account where the Security Access Manager VHD file will be uploaded to. ...
  2. Create an image using the Azure Portal. In the Azure Portal, select Images. Click Add to create a new image.

How do I add an SSL certificate to Azure Windows VM? ›

Inject the certificate into the VM and configure IIS with a TLS binding.
  1. Launch Azure Cloud Shell. ...
  2. Overview. ...
  3. Create an Azure Key Vault. ...
  4. Generate a certificate and store it in Key Vault. ...
  5. Create a virtual machine. ...
  6. Add a certificate to VM from Key Vault. ...
  7. Configure IIS to use the certificate. ...
  8. Next steps.
Apr 9, 2023

How to get SSL in VM? ›

Generate a certificate and store in Key Vault
  1. Prepare a certificate for use with a VM. To use the certificate during the VM create process, obtain the ID of your certificate with az keyvault secret list-versions. ...
  2. Create a cloud-init config to secure NGINX. ...
  3. Create a secure VM.
Apr 9, 2023

How do I renew my Azure VM SSL certificate? ›

  1. Sign in to the Azure portal, and then open the certificate you want to renew.
  2. On the certificate pane, select New Version.
  3. On the Create a certificate page, make sure the Generate option is selected under Method of Certificate Creation.
  4. Verify the Subject and other details about the certificate and then select Create.
May 5, 2023

Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5797

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.