Fix Word Showing OneDrive HTTPS Path Instead of Local Path
Question details
The user wants to display or copy the local Windows path (C:\Users\...) of a Word document, but Word fields automatically show the OneDrive cloud URL (https://d.docs.live.net) because the file is synchronized.

- Product
- Microsoft Word
- Device & OS
- Windows
- Scenario
- Inserting a file path field in a Word document's header, footer, or body for a file saved in a local OneDrive folder.
- Observed behavior
- Word displays the OneDrive cloud URL (https://d.docs.live.net) instead of the local system path (e.g., C:\Users\...\Documents).
Ensure your OneDrive application is actively running and your files are fully synchronized to your local File Explorer before attempting to copy local paths.
Manually Copy the Local Path from File Explorer
Since Word automatically defaults to the cloud URL for OneDrive-synced files, bypassing Word and copying the path directly from Windows File Explorer ensures you get the exact local directory format.
Microsoft Word recognizes OneDrive folders and forces the use of cloud URLs to support live auto-saving and collaboration. Because there is no built-in toggle in Word to revert this specific behavior for synced files, using File Explorer is the most reliable workaround.
Launch Windows File Explorer and navigate to the local OneDrive folder where your Word document is saved.
Select the target Word document. Right-click the file and choose 'Copy as path' from the context menu. If you are using an older version of Windows 10, hold down the Shift key while right-clicking to reveal this option.
Return to your Microsoft Word document, place your cursor where you want the path to appear, and paste the copied text. Delete the surrounding quotation marks if they are not needed.

Save the Document Outside the OneDrive Folder
Moving the document to a strictly local folder forces Word to read and insert standard local file paths in its automated fields.
Experience Hassle-Free Document Management with WPS Office
If you are tired of complex cloud syncing behaviors overriding your local preferences in Microsoft Word, consider switching to WPS Office. It provides a lightweight, highly compatible alternative that respects your local file system while offering robust word processing capabilities.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your Windows PC.
- 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Writer and open your existing Word documents. They will retain their original formatting and function perfectly.

Frequently Asked Questions
Why does Word show a d.docs.live.net link instead of a local path?
When a document is saved in a OneDrive-synced folder, Microsoft Word recognizes it as a cloud document. It displays the OneDrive server URL (https://d.docs.live.net) rather than the local drive path to facilitate live collaboration and auto-saving features.
Is there a setting in Word to force local paths for OneDrive files?
Currently, there is no built-in setting or toggle in Microsoft Word to force path fields to display the local Windows path if the file is being synced and opened directly from a OneDrive folder.
Will pausing OneDrive sync fix the path field issue?
No, temporarily pausing the OneDrive sync does not change how Word handles the file path, as long as the document still resides within the OneDrive folder hierarchy. The best solution is to copy the path directly from Windows File Explorer.




