Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMHyperV: Support enabling or disabling the TPM #214

Open
jmerriweather opened this issue Dec 14, 2023 · 0 comments · May be fixed by #215
Open

VMHyperV: Support enabling or disabling the TPM #214

jmerriweather opened this issue Dec 14, 2023 · 0 comments · May be fixed by #215

Comments

@jmerriweather
Copy link

Resource proposal

Currently enabling or disabling the TPM on a VM is not supported. With Windows 11 requiring a TPM this is causing manual intervention once DSC has completed.

My proposal is to modify VMHyperV to add the ability to enable or disable the TPM utilising the following commands:

  • Get-VMSecurity - look up current state
  • Enable-VMTPM - to enable the TPM
  • Disable-VMTPM - to disable the TPM

Proposed properties

EnableTPM | boolean | Enable Trusted Platform Module for Generation 2 VMs | false | true or false

Special considerations or limitations

Enabling or disabling the TPM can only be done when the VM is powered off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant