How To: Enable ArcGIS for Desktop to create feature service local copy geodatabases in a specific directory
ArcGIS 10.3.1 contains a new feature which allows a custom path to be set for the location of the local copy geodatabase created with the Create Local Copy command. By default, geodatabases created by the Create Local Copy command are placed in a service specific directory within the directory tree, ArcGIS\FeatureServiceLocalEdits, under the Documents folder of the user profile. When a custom path is set for local copy geodatabases, the service-specific directories are created in the specified path.
Two methods to update the computer registry are presented below. The first method is the least complicated.
Warning: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary. Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
- Open Notepad and add the following lines of text (Replace C:\\myPath\\ with the desired path. Please note that backslashes must be escaped by using a double backslash.)
For version 10.3.1:
Code: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\ESRI\Desktop10.3\ArcMap\Settings] "CreateLocalCopyPath"="C:\\myPath\\"
- Save the text file with a '.reg' file extension.
- Double-click the .reg file. This runs the file and updates the Windows registry.
Alternatively, registry changes can be made manually.
- Open the system registry: Click Start > Run, and type 'REGEDIT' in the Run dialog box. Click Yes if a warning prompt to open the Registry Editor appears.
- Navigate to the Table of Contents in the Registry Editor.
For version 10.3.1:
- Right-click Settings, and in the context menu, select New > String Value.
- Type 'CreateLocalCopyPath' as the value name. Verify the case is maintained.
- Right-click the name of the new value, and in the context menu, select Modify.
- The Edit String dialog box opens. Change 'Value data' to the appropriate path (e.g. C:\MyPath\).
- Click OK, and close the Registry Editor.