You are currently offline, waiting for your internet to reconnect

HOW TO: Relocate the NTFRS Jet Database and Log Files

This article was previously published under Q221093


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
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

  1. Stop the File Replication Service (FRS) service by typing net stop ntfrs at a command prompt.
  2. 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.
  3. Modify the Working Directory (REG_SZ) key located in the following registry subkey to reflect the new path (the default is %SystemRoot%\Ntfrs):
  4. 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:
  5. Start the FRS Service by typing net start ntfrs. Confirm successful startup in the FRS event log.
  6. Verify inbound and outbound replication of all Distributed File System (DFS) and SYSVOL replica this computer participates in.
When the FRS service starts, the FRS database tree is created in the path defined in step 2. The structure of the tree is:
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
FRS NTFRS move change

Article ID: 221093 - Last Review: 10/26/2007 15:39:53 - Revision: 2.2

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • kbproductlink kbenv kbhowtomaster KB221093