Virtualisation Windows Windows Server

How to enable vTPM and BitLocker on Windows Server 2016 running on HyperV

vtpm-1

Microsoft added more security features to Windows Server 2016 and one of them is the vTPM. You can now use a vTPM right inside the VM without using a physical TPM processor. A virtual Trusted Platform Module (vTPM) is a software-based representation of a physical Trusted Platform Module that can generate keys. When a vTPM is added to a virtual machine, the guest operating system on the VM creates and stores keys that are private to it. When the vTPM is enabled and the guest operating system is compromised the vTPM will greatly reduce the risk. The keys generated can be used by the operating system for encryption or signing purpose. Both the vTPM and Bitlocker can add a layer of protection to Windows Server 2016. In this article, I will be showing

you how to enable vTPM on Windows Server 2016 Hyper-V and enable BitLocker within your VM. Once this is done you can store your VM in any location without being afraid your VM files will be stolen or compromised. Read this if you want to know How to enable or disable BitLocker Drive Encryption on Windows 10 and Virtual Machines, if you want to disable read this How to correctly disable Microsoft BitLocker Administration and Monitoring encrypted devices. This is How and where to find your BitLocker recovery key in Windows.

If your VM does not have vTPM enabled you will not be able to use BitLocker except you do some strenuous work which you can avoid by just enabling it on your VM. Below is the image showing you the message you will get when it is not enabled.

tpm11

Follow these steps on how to enable vTPM in Windows Server 2016 HYPER-V

  1. Open the Hyper-V
  2. Select and right-click the VM you want to encrypt and click Settings
tpm

3. On the Settings page click on Security TPM enabled and on the Right-hand section check the Enable Trusted Platform Module box. Click Ok.

tpm2

4. Start the Virtual Machine and login.

tpm3

5. Go into the Device Manager and Expand Security Devices you will see the Trusted Platform Module 2.0 listed.

tpm4

6. It’s now time to encrypt the Virtual Machine. Add the BitLocker Drive Encryption feature and restart the VM.

tpm5

7. Now search for BitLocker and open it. Click Turn On BitLocker.

tpm6

8. Save the key to a file or print and change the location of the file from your system. Keep in a safe place.

TPM7

9. Select how you want to encrypt your disk. Click Next

tpm8

10. You can start the encryption and be sure that nobody can copy your VM files to another HYPER-V to use it.

tpm10

I hope you found this blog post How to enable vTPM in Windows Server 2016 HYPER-V interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x