Microsoft KB Archive/221093

= HOW TO: Relocate the NTFRS Jet Database and Log Files =

Article ID: 221093

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q221093





IN THIS TASK
SUMMARY
 * Moving the Ntfrs.jdb File

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



SUMMARY
NT File Replication Service (NTFRS) transactions are stored in the Ntfrs.jdb Jet database and in a set of log files in the default paths %SystemRoot%\Ntfrs\Jet and %SystemRoot%\Ntfrs\Jet\Log. Administrators can relocate the Ntfrs.jdb and log files to another logical partition or physical drive as necessary. WARNING: 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.

No user interface exists to change the location of the NTFRS database during or after Setup.

back to the top ===

Moving the Ntfrs.jdb File ===

 Stop the File Replication Service (FRS) service by typing net stop ntfrs at a command prompt. Copy the NTFRS folder from the current to the desired location.

The default location for the NTFRS database is %systemdrive%\winnt\ntfrs.

Using explorer or a command line equivalent (xcopy /o), copy and paste the \NTFRS folder to the target location. For simplicity, consider using the same relative path as the default. For example, if the default path is c:\winnt\ntfrs, then use d:\winnt\ntfrs. Modify the Working Directory (REG_SZ) key located in the following registry subkey to reflect the new path (the default is %SystemRoot%\Ntfrs):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentCcontrolSet\Services\NtFrs\Parameters

 Verify permissions on the NTFRS directory structure.

Make sure you configure Administrator and system accounts with full control for all files and folders in the tree, including the Ntfrs.jdb file in the Jet folder. The structure of the NTFRS directory tree is:

Ntfrs

Ntfrs\Jet

Ntfrs\Jet\Log

Ntfrs\Jet\Sys

Ntfrs\Jet\Temp

 Start the FRS Service by typing net start ntfrs. Confirm successful startup in the FRS event log. Verify inbound and outbound replication of all Distributed File System (DFS) and SYSVOL replica this computer participates in.</li></ol>

When the FRS service starts, the FRS database tree is created in the path defined in step 2. The structure of the tree is:

Ntfrs

Ntfrs\Jet

Ntfrs\Jet\Log

Ntfrs\Jet\Sys

Ntfrs\Jet\Temp

NOTE: If you did not copy the NTRFS folder and its child folders in step 2 from the original location to the new folder in step 2, and simply defined an alternate working directory in step 3, the FRS database tree structure and Ntrfs.jdb file in step 4 are automatically created when the service next starts in step 5. In other words, an implicit non-authoritative restore (burflags = d2) occurs along with the change to the working directory. back to the top

Additional query words: FRS NTFRS move change

Keywords: kbproductlink kbenv kbhowtomaster KB221093

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.