---
title: "Casey Kourofsky (@CKour) | Hashnode"
description: "Casey Kourofsky (@CKour) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@CKour"
---

@CKour

# Casey Kourofsky

@CKour · Joined November 2022

## Comments

[Ash Roberts So - thankfully, I had taken steps to make sure that I COULD get back into my VM. Prior to removing the certificates, I had unencrypted the drives, turned off TPM and tested rebooting successfully. What my REAL problem turned out to be, is that I was trying to do this process on a host running server CORE - which will not allow you to remotely export the certificates with a private key. I had to find PowerShell commands to allow me to do this whole export/import process from the hosts. I also found that I could re-create my certificates from PowerShell as well. In case anyone else finds this useful, what I did is below. I found the existing guardian: Get-HgsGuardian I then removed it: Remove-HgsGuardian -Name "UntrustedGuardian" And finally, I recreated the Guardian with the certificates: New-HgsGuardian -Name "UntrustedGuardian" -Generatecertificates](https://hashnode.com/posts/importing-hyper-v-vms-with-enabled-tpm/62e8cb703f084d032011c445/comment/637515afe1d53a5fd290e856#reply-63769848abae2b7516a86942)

Reply · Article · Nov 17, 2022 · [Importing Hyper-V VMs with Enabled TPM](https://hashnode.com/posts/importing-hyper-v-vms-with-enabled-tpm/62e8cb703f084d032011c445)

[Do you know how you could 're-create' those certificates from scratch? I (very stupidly) exported mine without the keys - then proceeded to delete them.](https://hashnode.com/posts/importing-hyper-v-vms-with-enabled-tpm/62e8cb703f084d032011c445/comment/637515afe1d53a5fd290e856)

Comment · Article · Nov 16, 2022 · [Importing Hyper-V VMs with Enabled TPM](https://hashnode.com/posts/importing-hyper-v-vms-with-enabled-tpm/62e8cb703f084d032011c445)
