Set Default Document Save Paths Using Regedit

Administrators can centralize and manage where classic desktop applications save files by modifying specific keys in the Windows Registry using the Registry Editor (regedit.exe). This guide outlines the exact registry paths, the key values responsible for the default “Documents” directory, the step-by-step process to redirect paths for individual users or across the entire system, and how to automate these changes.

Understanding the Target Registry Keys

Classic Windows desktop applications rely on shell folders defined in the registry to determine default file dialog locations (like “Save As”). The primary value governing document locations is named Personal.

The two primary registry paths are:

Step-by-Step Configuration

  1. Press Win + R, type regedit, and press Enter to open the Registry Editor.

  2. Navigate to:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  3. Locate the value named Personal in the right pane.

  4. Double-click Personal and change its Value data to the target folder path (for example, D:\CustomDocuments or a network path %USERPROFILE%\CustomDocs).

  5. Ensure the value type is set to REG_EXPAND_SZ if you are using environment variables (such as %USERPROFILE% or %USERNAME%).

  6. Sign out and sign back into the Windows user account, or restart the explorer.exe process to apply the changes.

Configuring Application-Specific Save Paths (Microsoft Office)

Some classic applications, such as Microsoft Office suites, have their own independent default file location keys that override the general shell folder settings.

  1. Navigate to the version-specific Office key (replace 16.0 with your Office version):

    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options
  2. Look for the string value named DOC-PATH. If it does not exist, right-click, select New > String Value, and name it DOC-PATH.

  3. Set the value data to the full path where you want the application to save files by default.

Automating via .reg File

To deploy this configuration across multiple machines, you can create a standard .reg file containing the following code:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal"=hex(2):44,00,3a,00,5c,00,43,00,75,00,73,00,74,00,6f,00,6d,00,44,\
  00,6f,00,63,00,73,00,00,00

Note: The hex string represents an expandable string (REG_EXPAND_SZ) containing the directory path.