Sync pages with windows

Sync SharePoint and Teams files with your computer

Important:
Support for the old OneDrive for Business sync app with SharePoint Online has ended. If you see this icon in your taskbar, read this article to learn more.

If your organization has a Microsoft 365 work or school subscription or uses SharePoint Server 2019 and Teams, you can sync your Microsoft SharePoint and Teams files to a folder on your computer. This lets you work directly in File Explorer and access files even when you’re offline. And when you go back online, any changes made to those files will sync automatically.

Note: For info about syncing files on macOS, see Sync files with OneDrive on Mac OS X.

Set up syncing

On the Microsoft 365 app launcher, select SharePoint or Teams, and then select the site with the files you want to sync.

Select Documents or navigate to the subfolder you want to sync.

Select Sync. (You only need to do this once on a computer to set up syncing on that computer. After you set up syncing, the files sync automatically.)

If your browser requests permission to use «Microsoft OneDrive,» confirm that this is okay.

Important: If a screen appears stating «Which library do you want to sync?», your site hasn’t been set up to sync with the OneDrive sync app. If you’re the IT admin for your organization, see Let users sync SharePoint files with the new OneDrive sync app. If you’re not the IT admin, and your screens don’t look like the ones in this article, see Sync SharePoint files with the OneDrive sync app (Groove.exe), or contact your IT department.

The files then sync to a folder on your PC that has the name of your organization (for example, %userprofile%\Contoso). This folder is automatically added to the left pane in File Explorer. You can’t select to sync to a different location.

5. To sync the files on another computer, go to that computer, and follow these steps again.

You can now sync IRM-protected SharePoint, Teams, and OneDrive files in your work or school account. If you’re currently syncing an IRM-protected location using the Transition from the previous OneDrive sync app, stop syncing it with that sync app first. Then, install the Rights Management Service (RMS) client. When that finishes, open the SharePoint or Teams location or OneDrive in your browser, and to begin syncing it with the sync app, select Sync.

If you see a lock icon on synced files in File Explorer, it means the files are synced read-only. You might not have permission to edit the files, or the library might require checkout or have required columns or metadata. If you change the files on your computer, the changes won’t sync. For permissions, contact your admin.

You can’t move OneNote notebooks from one site to another on your computer, and if you move other Office files between sites, version history will be lost. To move Office files, go to the site, and use the Move to or Copy to command.

If a site name includes a character such as “:” that isn’t supported in folder names in Windows, files on the site can’t be synced.

If you used the previous OneDrive for work or school sync app the folder structure for your synced folders might change when you begin syncing with the sync app. On computers with older versions of Windows where you used the previous OneDrive sync app, you may see an old «SharePoint» or «Teams» folder under Favorites in File Explorer. To remove the extra «SharePoint» or «Teams» folder, right-click and select Remove.

Change sync settings

To change the folders that sync for a site, or to stop syncing all files on a site, follow these steps:

Читайте также:  Лицензионная oem версия windows

Select the blue OneDrive cloud icon in the Windows taskbar notification area.

(You may need to select the Show hidden icons arrow next to the notification area for the OneDrive icon to appear. If the icon doesn’t appear in the notification area, OneDrive might not be running. Select Start, enter OneDrive in the search box, and then select OneDrive in the search results.)

Select Help & Settings > Settings.

To see a list of all your syncing sites, select the Account tab.

To change the folders that you’re syncing, select Choose folders for that library, and then select the folders that you want to sync. To stop syncing a site, select Stop sync next to the site. (Copies of the files remain on your computer. You can delete them if you want.)

Learn More

Need more help?

Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you’re in the OneDrive app.

Got feedback?
OneDrive UserVoice is your place to suggest the features you’d like to see us add to OneDrive. While we can’t guarantee any specific features or timelines, we will respond to every suggestion that gets at least 500 votes.

Windows 10: How to Mirror/Sync Folders Automatically

Posted on April 23, 2020 by Mel Hawthorne 1 Comment

Backing up your data regularly is an important measure to protect against data loss. For some things like photos, it can make sense to back up files whenever you upload a new set from your camera. However, for important things such as work documents, it’s key that backups happen regularly, or better, in real-time. A good way to do that is to configure an important folder to be automatically synchronised or mirrored. This guide will detail how to configure automatic folder mirroring and syncing using “FreeFileSync”.

Tip: If instead of syncing your files to another hard drive, you want to keep a copy of them in a cloud storage solution, we recommend services like OneDrive, Dropbox and Google Drive which all allow automated cloud syncing.

FreeFileSync is a free and open-source tool designed to manage file synchronisation. It is available for download here. To install, double-click the installer EXE after downloading it. You may receive a “User Access Control” (UAC) prompt about allowing it to make changes to your computer, if so click “Yes” to continue. The first page of the installer is a licence agreement, select “I accept the agreement” then click “Next”.

The second option in the installer is the install location, configure where you want FreeFileSync to install (or leave it set to the default), then click “Next”. The third page allows you to choose a number of components. It’s recommended that you keep all of them enabled as is the default, then click “Next”. Continue past the page with the cute animal picture, then, when the installation has finished, click “Finish”. Making an optional donation to the developer can get you a few extra features and is a good way to thank them for their work – but it is optional.

To open FreeFileSync, double-click the icon on your desktop, or press the Windows key, type FreeFileSync and hit enter. Below are instructions on how to use the different services available with this program.

Mirror sync

A mirror sync copies files in one direction only, this is will leave the source folder unchanged and match the destination to it.

Tip: If there are any files in the destination that are not present in the source, they will be deleted. Similarly, if a newer version of a document is in the destination, it will be overwritten with the older version from the source folder, so make sure you have things in the right place before you start.

The first step is to start a new configuration by pressing Control+N. Next, you need to add the folder you want to back up as the source folder on the left. You can do so by clicking and dragging the folder from file explorer, or by browsing to the folder with the left “Browse” button. You also need to add the backup folder as the destination on the right. Again, you can drag and drop or browse to select which folder you want to use.

Читайте также:  Как настроить плеер windows

Select your source and destination folders on the left and right columns, respectively.

Next, click the “Compare” button to see the differences between the two folders. You also need to configure the synchronisation variant to be “Mirror”. To do so, click on the arrow next to the green cogwheel icon and select “Mirror” from the drop-down list.

Click compare to view the differences between source and destination, then configure the sync variant to be “Mirror”.

Click “Synchronise” to start the process. A small popup will appear to confirm that you want to start the synchronisation now. Click “Start” to continue. When the process is complete, a confirmation window will appear, click “Close” to finish.

Tip: If there are a lot of large files or the hard drive is slow, the synchronisation process may take some time.

Two-way sync

A two-way sync matches both the source and destination folders to each other, copying files in both directions. If a file is not present on one side, it will be copied across. If a newer version of a file is available on either side, the older version will be overwritten with the newer.

Tip: By default, FreeFileSync determines which version of a file is newer by comparing the modification time of the file. You can also manually change which version will overwrite the other, by right-clicking on the file and setting an update direction manually.

You configure a two-way sync almost exactly the same way as you would a mirror sync. You need to specify which folders you want to be the source and destination, compare the files. However, you need to leave the synchronisation method at the default “Two way”.

Now you can click “Synchronise” to start the process. A small popup will appear to confirm that you want to start the synchronisation now. Click “Start” to continue. When the process is complete, a confirmation window will appear, click “Close” to finish.

Filtering

If there is a file you don’t want to be synchronised, you can add a filter. If you want to filter the file only this one time, you can right-click on it and select “Exclude temporarily”. This will remove the file from the list of files to be synchronised. If you click “Compare” again, the file will be added to the list again.

If you want to permanently filter an item, right-click on the file and move the cursor over “Exclude via filter”. There are three filter options. The top option allows you to filter all files with the file extension of that file. In the case of a word document, the filter would be “*.docx”. This way, no Word document will be synced.

The middle option allows you to filter any file with that exact filename, in any subdirectory, while the last option will only filter that exact file.

Tip: The asterisk (*) acts as a “wildcard”, it means it will match anything. So *.docx will match any filename that ends in “.docx”. Similarly, the filter “*/example.docx” will match every document called “example.docx” in any subdirectory. So, if you have an example.docx in six different folders, all of them will be excluded!

Filter a file via the right-click menu.

Saving a configuration

To save a configuration to re-run it at a later date, press Control+S, set a file name, then click “Save”.

Читайте также:  Как вытащить пароль wifi windows

Tip: Filters will be saved in your configuration files. If you only want to filter something one time, make sure to only filter it once, and not to set up a permanent filter.

If you double-click on the save file with FreeFileSync closed, it will open and automatically import the configuration. Alternatively, you can import a configuration file by pressing Control+O and selecting the configuration file.

Real-time synchronisation

Automatic synchronisation is managed by a separate app, RealTimeSync, that installs at the same time as FreeFileSync. It’s designed to automate the synchronisation process and to run silently in the background. To use it though, you need to save a FreeFileSync configuration as a “Batch job”.

To save a FreeFileSync configuration as a batch job, open the configuration file in FreeFileSync. Next, you need to click “File” in the top-left corner of the window, then select “Save as batch job…” from the drop-down list. In the new window, you should enable “Run minimised” and “Auto-close” so that the automatic synchronisation process, runs silently in the background. It’s recommended that you leave “Show error message” enabled, so you can be alerted if any errors occur. Leave “When finished” blank, the two other options will turn off the computer after running. That can be useful for a nightly backup, but not so much for a real-time backup. Click “Save as” and configure a file name to save the batch job to disk.

Save your configuration file as a batch job to run minimised.

Once you have a batch job saved, you can import it into RealTimeSync. To do so, open RealTimeSync by pressing the Windows key, typing “RealTimeSync” then press enter. You can import the batch job by clicking and dragging it into the RealTimeSync window, or by pressing Control+O and opening the batch job file. Importing the batch job will include all of the settings you need to set up the synchronisation to run in the background.

The only setting you may want to modify is the “Idle time”. The Idle timer starts as soon as a change is made to a file in a watched folder, if another file changes during the timer, the timer will reset. If no other files change during the idle timer, then the synchronisation process will occur.

Tip: You shouldn’t set the idle timer value too high, as that could lead to a scenario where the timer can never expire before a new change is made. This could prevent any synchronisation from happening.

Import a batch job to automate the monitoring and synchronising process.

Press “Start” to launch the real-time monitoring. A red double arrow icon will appear in the task tray, indicating that the monitoring and synchronisation process is happening in the background. Now, depending on what type of synchronisation you enabled, any changes you make in one folder will be copied to the other folder after the idle timer has expired.

Automating the real-time synchronisation

If you want the real-time synchronisation process to automatically start whenever you log in, you can import the RealTimeSync save file into your user’s “start-up” folder.

To save the RealTimeSync configuration, open RealTimeSync and import the batch job you want to automatically run, if it is not already loaded. Next click “File” in the top left corner of the window, select “Save as” from the dropdown menu and save the file to your hard drive.

To open your start-up folder, open File Explorer and type “shell:startup” into the main bar. Finally, move, copy, or create a shortcut to your RealTimeSync save file in the start-up folder.

Type “shell:startup” into File Explorer to access your start-up folder.

The start-up folder runs any programs in it whenever you log in. So RealTimeSync will now launch and run in the background whenever you log in.

Оцените статью