How to Restore Files from Encrypted Azure Disks

Like many things in a secure world, restoring deleted/corrupted files to an Azure VM with encrypted disks is not as straight forward as restoring unencrypted files.

File and folder stores are not available and even though you can download the entire virtual hard drive from backup, it is unusable due to the encryption.

The encrypted restoration process requires you to restore the entire VM in Azure from a desired restore point. This essentially gives you two copies of this VM in your subscription.  You then need to run a PowerShell script with VM specific information in various spots.  Once that’s complete you will be able to start the restored VM, login into it and copy off the file(s) you need to recover.


Tricks of the Trade:

  1. Establish an Azure support plan to get in touch with tech support (you do have a support plan don’t you?) who can provide the PowerShell script.
  2. Engage a Microsoft tech to assist in locating and modifying the Powershell script.
  3. Move the data off to a VM with the same name as an existing VM, essentially forcing you to copy the data to another intermediary server first.


Still have questions or unsure how to proceed? Contact us at



Did you find this helpful?

Share it on social media!

Todd received his MBA from Villanova University and his B.S. in Electrical Engineering from Penn State. Prior to joining Adaptive Solutions as Director of Datacenter Operations in January 2008, Todd worked for his own consulting firm for the last ten years providing technical expertise for a variety of large and mid-sized corporate clients including General Motors (Saturn Division) in Delaware. Todd assumed the role of Chief Technology Officer in December of 2012. In his current role with Adaptive Solutions, Todd helps to set best practices and technology standards for the company. Todd also has a wide range of expertise, including VDI, virtualization, and numerous Microsoft technologies, as well as document management. Todd maintains numerous Microsoft Engineer certifications and is considered an expert in the field of server and desktop virtualization.

Leave a Comment