Knowledge Base

Search Knowledge Base

KB #240009: How to access encrypted databases and files on a CDROM or DVD

Type: Information
Summary:
This article explains how to access encrypted databases and files located on a CDROM or DVD from Windows NT/2K/XP.

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, read the Microsoft Knowledgebase article MS KB256986 Description of the Microsoft Windows Registry.

Additional Information:
In order to preserve resources, Encryptionizer by default comes with both CDROM/DVD access disabled when running on NT, 2K or XP. It does not affect Encryptionizer running on 98 or ME, which uses a completely different mechanism.You can enable CDROM/DVD access by modifying the following DWORD registry Value:

Encryptionizer for SQL Server, Encryptionizer for MSDE:

HKLM\SYSTEM\CurrentControlSet\Services\nlemsql\Include

Encryptionizer DE

HKLM\SYSTEM\CurrentControlSet\Services\nlem32nt\Include

In both cases, this DWORD value has the following meaning:

Value Device
0x0001 Local Drive
0x0002 Networked (remote) Drive
0x0004 CDROM/DVD
0x0010 Raw

To specify more than one device, add the two values together. For example, to process encrypted files on local drives, remote drives and CDROMs, specify 0x0007. If omitted the default is 0x0003 (local drives and remote drives). However, if you specify a value, you must specify all devices that may have encrypted files on them, not just the additional devices. For example, if you specify 0x0004, then only encrypted files on CDROMs can be accessed.

After changing this registry value, you must reboot the machine in order for the change to take effect. Developers distributing Encryptionizer with their applications, can includes this registry value in their install script.

Note that this affects dynamic encryption only. It does not affect file APIs such as N_ENCODEFILE, N_DECODEFILE and N_RECODEFILE.

In addition, it does not affect Encryptionizer running on Windows 98 or Windows ME, since those operating systems use completely different mechanisms that NT, 2K or XP.

 

Top