windows-itpro-docs/windows/deployment/usmt/usmt-migrate-efs-files-and-certificates.md

2.2 KiB

title, description, ms.assetid, ms.reviewer, manager, ms.author, ms.prod, ms.mktglfcycl, ms.sitesec, audience, author, ms.date, ms.topic
title description ms.assetid ms.reviewer manager ms.author ms.prod ms.mktglfcycl ms.sitesec audience author ms.date ms.topic
Migrate EFS Files and Certificates (Windows 10) Learn how to migrate Encrypting File System (EFS) certificates. Also, learn where to find information about how to identify file types, files, and folders. 7f19a753-ec45-4433-b297-cc30f16fdee1 laurawi greglin w10 deploy library itpro greg-lindsay 04/19/2017 article

Migrate EFS Files and Certificates

This topic describes how to migrate Encrypting File System (EFS) certificates. For more information about the /efs For options, see ScanState Syntax.

To Migrate EFS Files and Certificates

Encrypting File System (EFS) certificates will be migrated automatically. However, by default, the User State Migration Tool (USMT) 10.0 fails if an encrypted file is found (unless you specify an /efs option). Therefore, you must specify /efs:abort | skip | decryptcopy | copyraw | hardlink with the ScanState command to migrate the encrypted files. Then, when you run the LoadState command on the destination computer, the encrypted file and the EFS certificate will be automatically migrated.

Note   The /efs options are not used with the LoadState command.

Before using the ScanState tool for a migration that includes encrypted files and EFS certificates, you must ensure that all files in an encrypted folder are encrypted as well or remove the encryption attribute from folders that contain unencrypted files. If the encryption attribute has been removed from a file but not from the parent folder, the file will be encrypted during the migration using the credentials of the account used to run the LoadState tool.

You can run the Cipher tool at a Windows command prompt to review and change encryption settings on files and folders. For example, to remove encryption from a folder, at a command prompt type:

Cipher /D /S:<PATH>

Where <Path> is the full path of the topmost parent directory where the encryption attribute is set.

What Does USMT Migrate?

Identify File Types, Files, and Folders