Encrypting File System (EFS) files appear corrupted when you open them (329741)
The information in this article applies to:
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Datacenter Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
- Microsoft Windows XP Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Server SP3
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Advanced Server SP3
This article was previously published under Q329741 Important This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSIf you view Encrypting File System (EFS) files on a computer
that is running Windows Server 2003, Windows XP, or Windows 2000, the encrypted
files may appear to be corrupted or filled with random characters.
CAUSEThis behavior occurs if these files were encrypted on a
computer that was running Windows XP Service Pack 1 (SP1) or later or Windows
Server 2003. By default, Windows XP SP1 (or later) and Windows Server 2003 use
the Advanced Encryption Standard (AES) algorithm for encrypting files with EFS.
Windows 2000 and Windows XP do not support the AES algorithm and cannot access
these files. RESOLUTIONTo resolve this behavior, access the encrypted files by
using Windows XP SP1 (or later) or Windows Server 2003. WORKAROUNDWarning If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own risk. To
work around this behavior, configure the Windows XP SP1-based computer to
encrypt files by using an algorithm that is supported by the other operating
systems that access the files. To do so:
- Decrypt all the EFS encrypted files in Windows XP
SP1.
- On the Windows XP SP1-based workstation, start Registry
Editor.
- Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\EFS
- On the Edit menu, click Add
Value, and then add the following registry value:
Value name: AlgorithmID
Data type: REG_DWORD
Radix: Hexadecimal
Value data: Use any of the values from the following list: - 3DES: 0x6603 (This value is compatible with Windows XP and
later.)
- DESX: 0x6604 (This value is compatible with all versions of Windows
2000 and Windows XP.)
- AES_256: 0x6610 (This is the default value. It is compatible with only
Windows XP SP1 and later.)
- Quit Registry Editor.
- Restart the Windows XP SP1-based workstation.
- Encrypt the files again using either operating
system.
Important The same certificate and the associated private key must be
available in the context of the user on all operating systems that will be
accessing the files. STATUSThis
behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/21/2006 |
---|
Keywords: | kbprb KB329741 |
---|
|