image(backup) an encrypted unbootable Surface Pro

pcpete

Well-Known Member
Reaction score
564
We came across our first Surface Pro which we needed to do a backup on. As some of you may know, it is encrypted by default. That means you cannot do a lot of stuff the normal way, in particular backing it up. We used a simple method that worked well for us.

First we booted it up with Windows install media, this will allow you to enter a key to decrypt the drive. It appears this key is often saved online in your Microsoft Windows account tied to the Surface Pro. Then open up a command prompt.

Second we want to do a full image backup of the system as our normal procedure. We used the same command we do for backing up images that we use for image installs.
Code:
Dism /Capture-Image /ImageFile:X:\name-of-image-file.wim /CaptureDir:XX:\ /Name:”any label”
X = drive letter of your backup drive
XX = drive letter of the OS main partition you are imaging(backing up)

Third we want to extract the files from the image as a way of verifying its validity and taking a visual look at the files. We do this by mounting the image we previously backed up in the second step. We use this command
Code:
Dism /Mount-Image /ImageFile:X:\name-of-image-backup.wim /index:1 /MountDir:C:\mnt
X = drive letter of image file location

c:\mnt is a folder that you connect the image to so you can browse it. you can create any folder you want. I chose c:\mnt because it just reminds me of linux. if you navigate to c:\mnt you will see your whole windows file system from the previously encrypted machine. At this point you can copy the user file which are needed from it.
 
Last edited:
Cool. Now if there was only a good way to back up broken ones when the customer doesn't know their key.

This is one of my biggest beefs with on by default encryption that is starting to show up all over the place. Encryption is a double edged sword, and is very risky for the typical user who never backs up.
 
  • Like
Reactions: GTP
Pardon my question here, but how would a bootable Linux work with the encrypted M$ files?

What now? He only said that it reminded him of Linux, not that it actually was Linux. The MS documentation recommends using C:\mnt as your folder for mounting images from.
 
If a customer added a Microsoft Account to the Surface, the drive recovery key typically is stored in OneDrive. There is a command you can run in Recovery that will unlock the drive.
 
Back
Top