Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

OneNote syncing best practices


View products that this article applies to.

Summary

This article details best practices for moving and syncing OneNote notebooks, as well as issues that may arise if notebooks are moved or synced in ways that are not recommended. In general, OneNote notebooks should always be synced and moved by the OneNote application, and not by file based synchronization systems such as a client application (such as the OneDrive or DropBox local client) or offline folders. Reasons for moving and syncing notebooks via OneNote include:
 
  • Web Apps and Mobile Sync - The built-in sharing functionality correctly sets up the notebook on the server so that OneNote Web App will be able to open it. Also, the mobile versions of OneNote (Windows Phone, iOS, Android) can only open notebooks that are shared through this mechanism.
  • Offline edits - OneNote creates a local copy of the notebook for offline editing in the Local Settings folder, and merges the changes to the cloud when a connection is re-established. Unlike other file synchronization methods however, OneNote is able to merge the changes without creating conflicts within the notebook.
  • Efficient syncing - OneNote has built-in sync logic with OneDrive allowing it to synchronize only the changes, which is significantly more efficient than file synchronization mechanisms like the OneDrive Desktop app or DropBox as it knows about the file format and can sync only the changes.


Move local notebooks to a cloud location (Recommended Method)
If you have a notebook stored locally on your computer that you wish to move to the cloud, go to File > Share in OneNote and pick a web location such as OneDrive, and then click Move Notebook.

click Move Notebook

OneNote will upload the notebook to OneDrive and set up direct sync.

OneNote

When the notebook has been successfully moved, the following message will appear:

[Asset 4053298]


After the notebook has been moved, the local notebook in the previous location is no longer connected or synchronized and should be deleted. You may use the OneDrive client application to move and synchronize other files, and OneNote will handle the syncing of notebooks within OneDrive automatically.

Not Recommended
Do not use Windows Explorer to move folders containing .one files to OneDrive. If notebooks are moved to the local OneNote client folder in this manner, when they are opened in OneNote 2013 you will receive the error "This notebook may not sync correctly because another program is syncing these files. Click here to re-open this notebook from the correct location." 

Not Recommended



Clicking on this error message in OneNote 2013 will allow OneNote to move the notebook to OneDrive and establish a sync relationship. As a part of this process, OneNote will delete the original folder and all .one/.onetoc2 files and replace them with an internet shortcut file. This behavior is by design, as all OneNote notebooks are represented as internet shortcuts within the OneDrive client application so that the OneDrive client allows OneNote to perform the syncing of the file. However, no data is lost during this process.

Test1

However, previous versions of OneNote were created prior to the existence of the OneDrive client application. As such, no error messages are surfaced in this scenario and the user can potentially encounter the issues described above when OneNote is not responsible for syncing content. Users with older versions of OneNote should follow the steps in the Recommended section to move notebooks into OneDrive to resolve this problem.

 

↑ Back to the top


More Information

Placing OneNote notebooks on Windows Offline File shares is also not recommended. Windows Offline Files introduces a file cache separate from the cache that OneNote already uses for offline editing. In this scenario, OneNote may sync changes to the Windows cache while the Windows file is offline, in effect syncing to a local copy instead of the server copy. When the Windows share is back online, the user may be prompted to keep two copies of the file or replace one copy. Choosing to keep two copies of the file will result in duplicate sections within OneNote, while opting to replace a copy of the notebook could result in data loss.

Additionally, there is a known issue in Windows Vista where using Offline Files may result in corrupted OneNote notebooks. This issue was fixed by http://support.microsoft.com/kb/938979

Microsoft recommends that users of Windows Offline Files place their OneNote notebooks in a separate location that is not synchronized by Windows Offline Files. Users with notebooks currently in an Offline Files share should use the above steps in the Recommended section to move their notebooks to a new location.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2819334
Revision : 3
Created on : 11/6/2017
Published on : 11/6/2017
Exists online : False
Views : 733