One Drive
One Drive
One Drive
OneDrive
Get started
OneDrive guide for enterprises
OneDrive guide for small businesses
Sync
Sync client overview
Deploy using SCCM
Per-machine installation
Set Files On-Demand states
Use silent account configuration
Transition from previous sync client
Redirect known folders
B2B Sync
How sync works
Use Group Policy
Find your tenant ID
Sync on virtual desktops
Deploy and configure on macOS
Deploy using Intune
Network utilization planning
Sync client update process
Block file types
Let users sync IRM-protected files
Let users sync SharePoint files
Exclude or uninstall previous sync client
Prevent installation
Sharing and security
Manage sharing
Set external sharing individually
Turn on external sharing notifications
Allow syncing only on specific domains
Control access based on network location or app
Control access to mobile app features
Enable conditional access
Required URLs and ports
Users and storage
Pre-provision accounts
Set default storage space
Change user storage
Set retention
Restore deleted OneDrive
Retention and deletion
List OneDrive URLs
Help users use Discover view
Help your users store, sync, and share work files in the cloud with OneDrive.
Migrate to OneDrive
Suggest a feature
Troubleshoot issues
Adoption resources
The OneDrive admin center helps you quickly and easily manage your organization's OneDrive for Business settings in one place.
To access the OneDrive admin center:
From your own OneDrive, click OneDrive Admin in the lower-left corner.
Or
Go to https://admin.onedrive.com.
IM P O R T A N T
To use the OneDrive admin center, you must allow access to onedrive.com. You must also be a global admin for your organization,
or a custom admin with the SharePoint administrator role.
T IP
To access a user's OneDrive, open the Microsoft 365 admin center, go to Active users, select the user, expand OneDrive Settings
in the user details pane, and then click Access files.
OneDrive guide for enterprises
7/15/2019 • 40 minutes to read • Edit Online
With OneDrive for Business, you can easily and securely store and access your files from all your devices. You can
work with others regardless of whether they’re inside or outside your organization and terminate that sharing
whenever you want. OneDrive helps protect your work through advanced encryption while the data is in transit
and at rest in data centers. OneDrive also helps ensure that users adhere to your most rigorous compliance
standards by enabling them to choose where their data lives and providing detailed reporting of how that data has
changed and been accessed. OneDrive connects you to your personal and shared files in Microsoft Office 365,
enhancing collaboration capabilities within Office 365 applications. With OneDrive on the web, desktop, or mobile,
you can access all your personal files plus the files shared with you from other people or teams, including files
from Microsoft Teams and SharePoint.
For more information about OneDrive Files On-Demand, see Learn about OneDrive Files On-Demand.
Modern attachments
OneDrive integrates with Outlook to allow seamless sharing of OneDrive files that appear just like email
attachments. This feature provides a familiar sharing experience but centralizes storage of attachments in
OneDrive, providing collaborative benefits such as version control typically lost when users email documents back
and forth. In addition, you can configure sharing permissions on the files directly from within the Outlook client.
See the following image for an example of a document in OneDrive being attached as a link to an email as well as
the experience of changing the sharing permissions on the link.
To reduce the potential for confusion when users choose to add a copy versus a link to attached OneDrive files,
you can set the default behavior of the Outlook client, as demonstrated in How to control default attachment state
when you attach a cloud file in Outlook.
Files Restore
The OneDrive Files Restore feature enables users to restore files to any point over the past 30 days. To select the
desired recovery time, OneDrive presents users with a histogram that shows file activity so that they can
determine which recovered time meets their needs. From there, users can simply select the file history entry to
which they want to restore, and all changes after that point will be rolled back. The following image shows the
Files Restore experience for a user.
In addition, because the histogram shows individual activity on a file, users can employ this feature to quickly view
their files’ modification history. For more information about this feature, see Restore your OneDrive.
Recycle bin
OneDrive has a recycle bin similar to the one available on the Windows desktop. Deleted files are moved to the
recycle bin and kept for a designated time before being permanently deleted. For work or school accounts, deleted
files are purged after 93 days unless configured otherwise. For a demonstration of how the recycle bin works, see
Restore deleted files or folders in OneDrive.
Auditing and reporting
OneDrive has detailed reporting and auditing capabilities for files it stores as well as for those files stored through
other services that use OneDrive for storage, such as Microsoft SharePoint Online. In addition, you can audit
individual file actions, including downloads, renames, and views.
The Office 365 admin center handles reporting for cloud services, including OneDrive. You can view historical
information like storage usage by user and for the organization, total file and active file counts, and account
activity. The following image shows an example of a OneDrive report in the Office 365 admin center: file usage
over the past 30 days.
NOTE
You can also export this information to a .csv file by selecting Export.
You can also consume this information in Power BI by using the Microsoft 365 usage analytics content pack.
Using this content pack, you can visualize and analyze Office 365 usage data by using prebuilt graphs and charts
or by creating custom reports to gain insights into how specific regions or departments within your organization
are using Office 365. For more information this content pack, see Microsoft 365 usage analytics.
Encryption of data in transit and at rest
OneDrive uses advanced data-encryption methods between your client and the data center, between servers in the
data center, and at rest. At rest, OneDrive uses disk encryption through BitLocker Drive Encryption and file
encryption to secure your data. Each file is encrypted with its own encryption key; anything larger than 64 KB is
split into individual chunks, each of which has its own encryption key locked in a key store.
Each file chunk is then randomly distributed among Microsoft Azure storage containers, and a construction map
for the complete file is stored in a separate secure content database. For attackers to access the file, they would
need all the file chunks, the keys, and the map—a highly improbable task. For more information about this
process, see Data Encryption in OneDrive for Business and SharePoint Online.
Customer-controlled encryption keys
By using an Office 365 feature called service encryption with Customer Key, you can upload your own encryption
keys to Azure Key Vault for use encrypting your data at rest in Azure data centers. Even though this encryption is
done natively through BitLocker, customers can require the use of their own key to meet their security compliance
requirements. Should users lose their key, they can retrieve a deleted key from the Recycle Bin for up to 90 days
(based on your configuration). Before you can use this feature, however, you must create an Azure subscription
and complete a few prerequisite steps. For detailed information about service encryption with Customer Key and
how to configure it in your environment, see Controlling your data in Office 365 using Customer Key.
Office 365 Customer Lockbox
If a Microsoft support engineer needs to access your data to resolve an issue, that engineer is required to obtain
approval from a Microsoft manager first. The Office 365 Customer Lockbox feature adds a requirement to that
process: you must approve or reject that access before the support engineer can access your data. With Customer
Lockbox, you can also set boundaries on how long the engineer can access your data, and all activity during that
time is logged for auditing purposes. For more information about how to configure and use the Customer
Lockbox feature, see Office 365 Customer Lockbox Requests.
Microsoft Trust Center
Microsoft Trust Center provides information about Microsoft’s trust policy, how Microsoft products help you
protect your data and maintain your customers’ and users’ trust, and why you should trust Microsoft products
with your data. The following two categories provide details about Office 365 and OneDrive data privacy,
compliance, and security:
Office 365 Trust Center. Privacy, compliance, and cybersecurity are as important to Microsoft as they are
to you. For information about how Office 365 can help you increase employee productivity while helping
you safeguard your data, see Microsoft Office 365 in the Microsoft Trust Center. For information about why
you should trust Microsoft, Office 365, and OneDrive with your data, see Office 365 Trust Center.
General Data Protection Regulation (GDPR). This new European Union regulation changes how
companies are required to handle data and the transparency with which they collect it. Windows 10 and
Office 365 with OneDrive give you GDPR -compliant tools; you simply need to incorporate those tools into
your overall data integrity story. For answers to some common questions about GDPR compliance with
OneDrive and SharePoint, see GDPR Compliancy with OneDrive and SharePoint. For a complete list of
helpful resources about GDPR, see Resources for GDPR compliance. For additional helpful information
about OneDrive, see the Microsoft OneDrive Blog.
OneDrive Multi-Geo storage locations
Multi-Geo is an Office 365 feature that allows organizations so span their storage over multiple Office 365 geo
locations and specify in which of those to store users’ data. You can designate storage geographies on a per-user
basis.
For multinational customers with data residency requirements, you can use this feature to ensure that each user’s
data is stored in the geo location necessary for compliance. For more information about this feature, see Multi-
Geo Capabilities in OneDrive and SharePoint Online in Office 365.
Government cloud
OneDrive is available in Office 365 U.S. Government plans. For information about these plans, see Office 365 U.S.
Government.
NOTE
Keep in mind that an organization in one size category would probably incorporate additional options from other size
categories. This table is not intended to exclusively identify a technology with a specific business size.
Medium-sized business Scripted installation or Microsoft Intune Office365 with MDM, OneDrive admin
mobile device management (MDM) center, Intune mobile application
management (MAM) or MDM
Depending on where your organization fits in this table and the technologies available to you, you can choose
which portion of this guide to use. For example, if you run a small business, you may want to keep your OneDrive
deployment simple by installing the sync client manually on your employees’ computers and using the OneDrive
admin center to manage a few settings for your users. Alternatively, if you’re running an enterprise, you may
choose to deploy and manage OneDrive by using advanced tools like System Center Configuration Manager and
Group Policy, and you could use the sections that correspond to those tools, instead. To accommodate various
situations, the deployment and management portions of this guide are in a modular format so that you can
consume the document in the way that best aligns with your deployment needs and capabilities. This format also
provides visibility into alternate technologies to improve your current processes.
Prerequisites
Client and app requirements. Even though you can upload, download, and interact with your OneDrive
files from a web browser, the ideal OneDrive experience comes from the Windows and Mac sync clients
and the iOS and Android mobile apps. With that in mind, OneDrive is available for most operating systems
and browsers and requires minimal hardware. For a full list of client and app requirements for using
OneDrive, see OneDrive system requirements.
License requirements. There are multiple methods by which you can acquire a license for OneDrive.
However, a few OneDrive features are available only within certain licensing models. For information about
the licensing requirements for OneDrive, its advanced features, and any special licensing required for them,
see Office 365 plans.
Deployment process
When deploying any new technology, there’s always an ideal process to follow to ensure that you deploy it
correctly. This section covers the high-level planning and deployment steps to help ensure that your OneDrive
deployment is successful.
NOTE
OneDrive deployment can be as simple as a local installation and may not require all the steps in this section. For example,
the “Determine devices” and “Align technologies” sections may not be applicable to small business interested in performing a
simple installation of OneDrive.
Determine devices
Your organization doesn’t have to manage all connected devices for them to use OneDrive, but securing and
managing the interaction with the data do require a layer of management capabilities. Start by determining which
types of devices—iOS, Android, Windows 10—require access to OneDrive and who owns them (the business or
the employee). Put this information in a spreadsheet to help you determine which capabilities you need from your
technology solutions. Some management options are more suitable for devices that the company owns and
manages. Regardless of the platform running OneDrive and who owns it, the following management options are
available to you:
OneDrive admin center
Office 365 MDM
Intune MDM or MAM
For Windows 10 client devices that are joined to a domain, you have the additional option of using GPOs for
management. Also, for those devices that are company owned and managed, you can use System Center
Configuration Manager to deploy OneDrive.
Align technologies
When you've identified the devices that require access to OneDrive, you then identify the technology options
available to you or that align with your organization’s size. If you’re considering implementing a new deployment
and management solution, the table in How organizations deploy and manage OneDrive lists the technologies
that make the most sense based on organization size. Using this information, you can align the technologies you
need or already have with the deployment and management capabilities that fit the devices you need to manage.
Deploy, secure, and manage OneDrive
You deploy, manage, and secure OneDrive based on the tools you chose in the previous steps. Each technology
has different deployment, update, and management options, so when deploying OneDrive, you must first consider
whether you need to upgrade existing devices. Also, securing OneDrive may include both client-side and cloud
service–side configuration. Finally, be sure to consider data compliance requirements, such as dedicated storage
regions.
OneDrive limitations
Because OneDrive provides access to files on many kinds of devices, it restricts the use of certain characters, file
names, and folder names. In addition, certain features are available only in the Windows operating system. For a
full list of these and other limitations of OneDrive, see Invalid file names and file types in OneDrive, OneDrive for
Business, and SharePoint.
Information protection
OneDrive shares can contain sensitive information that could damage your organization if it were shared with the
wrong people. This section provides information about how to help prevent accidental data leakage and protect
your data by controlling who can access it.
Information rights management–protected file synchronization
If you’re using information rights management (IRM ), OneDrive can synchronize those file libraries and provide a
seamless experience for users. For detailed information about how OneDrive handles IRM, see How Office
applications and services support Azure Rights Management. For OneDrive to synchronize these IRM -protected
libraries, however, additional configuration is required, including deploying the latest Rights Management Services
(RMS ) client to your users’ computers. For details about the additional configuration required for OneDrive to
support IRM libraries, see SharePoint Online and OneDrive for Business: IRM Configuration.
Windows Information Protection
You can use Windows Information Protection (WIP ) to help prevent data leakage by deploying application or
device policies that restrict how your employees can store, access, and use your organization's data. For example,
you can restrict users to synchronizing files that contain company data only to OneDrive and not to personal cloud
storage providers like Dropbox. For information about how to use WIP, see Protect your enterprise data using
Windows Information Protection (WIP ).
If you’ve decided to use Windows Information Protection with OneDrive, see the following resources to set up
your Windows Information Protection policies:
Create a Windows Information Protection (WIP ) policy using Microsoft Intune
Create a Windows Information Protection (WIP ) policy using System Center Configuration Manager
Azure Information Protection
Azure Information Protection is a cloud-based solution that helps organizations classify, label, and protect their
documents and emails. This classification can occur automatically when administrators define rules and conditions;
manually by users; or both, where users receive recommendations. Users can synchronize Azure Information
Protection–protected files to OneDrive after you have configured their accounts to do so.
For more information about Azure Information Protection, see What is Azure Information Protection? You can
add Azure Information Protection to your Office 365 subscription on the Subscriptions page of the Microsoft 365
admin center.
If you have decided to use Azure Information Protection, see Office 365: Configuration for clients and online
services to use the Azure Rights Management service to configure the necessary settings for it to work with
OneDrive.
OneDrive integration with other Office 365 features
OneDrive integrates with many other applications, such as SharePoint, Teams, and Yammer. With that integration
comes the necessity to protect the data stored in OneDrive. When considering security, for example, think about
potential leakage scenarios through each integrated application and apply WIP, IRM, Azure Information
Protection, or another protection option to help prevent unauthorized access. For information about how these
products integrate with each other to provide a better collaboration solution and how they can introduce
additional vectors for data leakage, see How SharePoint Online and OneDrive for Business interact with Microsoft
Teams.
Sharing options
Using the OneDrive admin center, you can specify sharing options such as the default sharing type for users, with
whom they can share, and how long sharing links remain active.
These are the key decisions around sharing for OneDrive:
Do you want to allow external sharing? If you enable external sharing for OneDrive, your users will be
able to share files and folders with people outside your organization.
If you allow external sharing, do you want to allow unauthenticated users? If you enable sharing
with Anyone, users can create sharable links that don’t require sign-in.
What do you want the default sharing link to be? Users can choose which type of link to send (Anyone,
Internal, or Direct), but you can choose the default option that is presented to users.
Do you want to restrict external sharing by domain? You can restrict external sharing to specific
domains or prevent sharing with specific domains.
Note that the OneDrive sharing settings are a subset of the SharePoint Online sharing settings. If you want to
allow external sharing in OneDrive, it must be enabled for SharePoint Online.
Data retention
When a user leaves your organization and you’ve deleted that user’s account, what happens to his or her data?
When considering data retention compliance, determine what needs to happen with the deleted user’s data. For
some organizations, retaining deleted user data could be important continuity and preventing critical data loss.
The default retention policy for deleted OneDrive users is 30 days. You can configure the setting to a range
between 0 days and 3,650 days (ten years).
For more information about OneDrive retention, see OneDrive retention and deletion and Overview of document
deletion policies.
Key decision:
What data retention time do you need for your organization?
Migrating data
A key task in deploying OneDrive for your organization is a plan to migrate your users existing files to OneDrive.
Depending on where these files are kept, there are several options, discussed below. You can choose one or more
of these options depending on the number and location of files that you need to migrate.
Another planning consideration is who will be migrating the data. Normally, a user’s OneDrive is created the first
time they access OneDrive. If you will be migrating your users’ files on their behalf before they begin using
OneDrive, you may need to pre-provision OneDrive for each of them. (This can be done with a PowerShell script.)
Keep in mind that any of the migration options listed below may result in a surge of network activity as large
numbers of files are migrated to OneDrive.
Key decisions:
Which of the following migration methods do you want to use?
Are you configuring hybrid OneDrive? (See the hybrid section of this article for the considerations around
this option.)
Do you need to pre-provision OneDrive for your users? (Are you migrating files before users have started
using OneDrive?)
Sync
Even though you can upload, download, and interact with your OneDrive files from a web browser, the ideal
OneDrive experience comes from the Windows and Mac sync clients and the iOS and Android mobile apps.
OneDrive is available for most operating systems and browsers and requires minimal hardware. For a full list of
client and app requirements for using OneDrive, see OneDrive system requirements.
If you already have the OneDrive client installed on Windows devices, start by determining the version or versions
of OneDrive in your environment. Depending on your findings, you may need to change your deployment process
to accommodate the current version (for example, run takeover commands in PowerShell to ensure that data sync
responsibilities transition to the new client). To determine which version of OneDrive you’re currently using, see
Which version of OneDrive am I using?
Upgrade from the Groove sync client to the OneDrive sync client
If you currently have the old OneDrive sync client (Groove.exe), then you’ll need to follow a slightly different
process to upgrade to the new sync client. If you had more than 250 licensed users before June 2016, you may
need to run a takeover command to continue syncing existing libraries using the new client. For detailed
information about this process (and caveats), see Transition from the previous OneDrive for business sync client.
Sync client update process
You can update the OneDrive sync client in two waves:
Production ring – in this ring, you get new features and improvements sooner – as soon as they’ve been
validated within Microsoft.
Enterprise ring – in this ring, changes are rolled out after they’ve been validated in the Production ring,
reducing the risk of issues.
This setting is configured by using Group Policy.
For details about the update process for the OneDrive sync client, see The OneDrive sync client update process.
To find out about new features available in current OneDrive updates as well as the current and historical version
numbers, see New OneDrive sync client release notes.
Key decision:
Which ring do you want to use for updates to the OneDrive sync client?
Configure settings
After you have planned your rollout, configure any settings you need before you begin deploying apps to your
users:
Specify settings for sharing links and control external sharing: Manage sharing
To manage the sync client deployment centrally, prevent users from installing the sync client when they go
to their OneDrive in a web browser: Prevent installation
To make sure that users sync OneDrive files only on managed computers, configure OneDrive to sync only
on PCs that are joined to specific domains: Allow syncing only on specific domains
To prevent users from uploading specific file types, such as exe or mp3 files: Block file types
Set the default storage space for your users: Set the default storage space
Specify how long you want to retain a user's OneDrive files when the user is deleted: Set OneDrive
retention for deleted users
To prevent users from accessing OneDrive and SharePoint content on devices outside of specific domains,
or from apps that don't use modern authentication: Control access based on network authentication or app
To control user access to features in the OneDrive and SharePoint mobile apps: Control access to mobile
app features
Deployment options
You have several different options for deploying OneDrive: manually, using scripting, using Windows AutoPilot
(for the sync client on Windows), using an MDM such as Intune, or using SCCM.
The OneDrive sync client is included as part of Windows 10 and Office 2016. You do not need to deploy the sync
client to devices running these, though you may need to update the sync client to the latest version.
NOTE
You may be required to uninstall an old version of the OneDrive sync client before you can install the new one. If so, you will
receive a notification stating that you must uninstall the previous version before you can proceed.
To manually configure OneDrive on a Windows device, see Sync files with the OneDrive sync client in Windows.
Manually install and configure OneDrive on a macOS device
For information about installing the OneDrive app on a computer running macOS or adding a work account to an
existing installation, see Sync files with the OneDrive sync client on Mac OS X.
\<pathToExecutable\>\\OneDriveSetup.exe /silent
To silently update the OneDrive sync client, run the following command:
\<pathToExecutable\>\\OneDriveSetup.exe /update
For information about enabling silent account configuration, see Silently configure user accounts.
Before you can deploy applications to computers running macOS, you need to complete some prerequisite tasks
on the System Center Configuration Manager site. For detailed information about these prerequisites and how to
prepare a System Center Configuration Manager environment for Mac management, see Prepare to deploy client
software to Macs. When you’ve completed the prerequisites, you can deploy applications to Macs by completing
the steps described in How to Create and Deploy Applications for Mac Computers in Configuration Manager. For
information about configuring the OneDrive sync client for macOS, see Deploy and configure the new OneDrive
sync client for Mac.
Manage OneDrive
The tools and technologies you use to manage OneDrive are based on the individual management task you want
to perform. The following table shows the three primary categories to consider when managing OneDrive and the
technologies and methods available for that category.
OneDrive organization-wide settings Manage settings such as storage limits OneDrive admin center
and sharing capabilities. Microsoft PowerShell
App updates Update the OneDrive sync client or MDM (for example, Intune)
mobile apps System Center Configuration Manager
Group Policy
OneDrive admin center
Manually
Sync client settings Configure the sync client update ring, MDM (for example, Intune)
DLP policies, and other device or app System Center Configuration Manager
restrictions. Group Policy
Manually
For more info about the admin center, see OneDrive for Business for admins
Settings in the OneDrive admin center are grouped into six categories:
Sharing - On the Sharing page, you can configure the default sharing link users send out to colleagues to
share a file as well as external sharing settings. These settings are organization-wide and applicable to all
organizations, regardless of the device management tool in use. Use this page to configure the sharing
option based on the sharing decisions you made in Part 2, Plan for OneDrive for enterprises.
Sync - On the Sync page, you can configure sync restrictions based on file types, require that synced
devices be domain joined, or restrict synchronization from computers running macOS. Depending on your
device management tool, the PC device restrictions in this section may overlap other management settings.
Storage - On the Storage page, you specify the default OneDrive storage limit for users within your
Office 365 organization. You can also configure data retention settings for users whose accounts have been
deleted (the maximum value is 10 years). These organization-wide configuration settings are applicable to
all organizations, regardless of the device management tool they use. Use this page to configure the data
retention value based on the decisions you made in Part 2, Plan for OneDrive for enterprises.
Device Access - On the Device Access page, you can restrict device access to OneDrive based on
network location and apps that don’t use modern authentication among other application management
options. Depending on your device management tool, the restrictions configurable on this page may
overlap with other management settings. If a conflict occurs with an Intune policy, for example, the Intune
policy will take precedence for the users that policy targets.
Compliance - The Compliance page provides a centralized list of links to auditing, DLP, retention,
eDiscovery, and alerting capabilities within Office 365 that are applicable to OneDrive. Selecting an item’s
link redirects you to the Office 365 Security & Compliance Center, where you can configure that item. You
can create DLP policies from templates that protect certain types of data, such as Social Security numbers,
banking information, and other financial and medical content. Some capabilities won’t be available if you’re
using Intune (for example, device management). For a walkthrough of how to create DLP policies in
Office 365 and apply them to OneDrive, see Create a DLP policy from a template.
Notifications - On the Notifications page, you define when OneDrive owners should receive
notifications about sharing or accessing their data. For information about enabling these options, see Turn
on external sharing notifications for OneDrive.
New-ItemProperty -Path \$Path -Name \$Name -Value \$Value -PropertyType DWORD -Force | Out-Null
where $Path is the full path to the subkey to which you want to add a value to (for example,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive), $Name is the name of the value you’re adding
(for example, AutomaticUploadBandwidthPercentage), $Value is the data within the new value (for example,
32), and the value following the PropertyType switch is the type of value you’re adding.
Save the PowerShell script as a .ps1 file. Then, see Manage PowerShell scripts in Intune for Windows 10 devices
for instructions on how to deploy the PowerShell script in your environment.
Manage OneDrive updates by using Intune
OneDrive is updated through Windows Update in two waves. Out of the box, OneDrive sync clients are in the first
wave, which means that they receive updates as soon as they’re published. The second wave receives those same
updates several weeks later. To configure Windows devices to be in the second wave, you must configure the
EnableEnterpriseUpdate entry by using the following command:
Save the script as a .ps1 file. Then, see Manage PowerShell scripts in Intune for Windows 10 devices for
instructions on how to deploy the PowerShell script in your environment.
Manage OneDrive by using third-party MDM tools
Intune isn’t the only MDM option you can use to manage OneDrive apps and settings. For information about
managing OneDrive for Windows 10 by using VMware AirWatch, see Modern Management for Windows 10. For
information about managing OneDrive for Windows 10 by using MobileIron, see Windows 10 in the Enterprise.
Manage OneDrive by using Group Policy
You can use Group Policy to manage OneDrive settings for domain-joined computers in your environment. For
information, see Use Group Policy to control OneDrive sync client settings. Using Group Policy, you can redirect
and move Windows known folders to OneDrive, and enable silent account configuration.
OneDrive for Business is a robust but simple-to-use cloud storage platform for small businesses, enterprises, and
everything in between. Unlike other cloud storage providers, most of the advanced enterprise-focused features in
OneDrive are available for every subscription type, enabling organizations to use OneDrive in whatever way
benefits them the most. This guide focuses on the deployment and configuration options that make the most sense
for small businesses looking to use OneDrive. From there, these organizations can select whatever additional
management capabilities they require. For the full deployment guide, which contains other methods of deploying,
configuring, and managing OneDrive, see OneDrive guide for enterprises.
NOTE
The information in this section is for awareness purposes only and is not required to install and use OneDrive.
By default, files are downloaded only when you need to access them. However, if you plan to access a file while
disconnected from the internet, simply make the file available offline by right-clicking it, and then selecting Always
keep on this device. Alternatively, if you want to free space on your device and remove the downloaded copy of a
file, right-click the file, and then select Free up space. The following screenshot shows the right-click menu for
OneDrive files on a device running Windows.
For more information about OneDrive Files On-Demand, see Learn about OneDrive Files On-Demand.
Modern attachments
OneDrive integrates with Microsoft Outlook to enable easy sharing of OneDrive files that appear just like email
attachments. This feature provides a familiar sharing experience but centralizes storage of attachments in
OneDrive. This allows your users to all collaborate on the same file instead of sending different versions bach and
forth in email. In addition, you can configure sharing permissions on the files directly from within the Outlook
client.
To reduce the potential for confusion when users choose to add a copy versus a link to attached OneDrive files, you
can set the default behavior of the Outlook client, as demonstrated in How to control default attachment state when
you attach a cloud file in Outlook 2016.
Files Restore
The OneDrive Files Restore feature lets users restore files to any point over the past 30 days. To select the desired
recovery time, OneDrive presents you with a histogram that shows file activity so that you can determine which
recovered time meets your needs. From there, simply select the file history entry to which you want to restore, and
all changes after that point will be rolled back.
In addition, because the histogram shows individual activity on a file, you can use this feature to quickly view your
files’ modification history. For more information about this feature, see Restore your OneDrive.
Recycle bin
OneDrive has a recycle bin similar to the one available on the Windows desktop. Deleted files are moved to the
recycle bin and kept for a designated time before being permanently deleted. For work or school accounts, deleted
files are purged after 93 days unless configured otherwise. For a demonstration of how the recycle bin works, see
Restore deleted files or folders in OneDrive.
Known Folder Move
Known Folder Move enables users to select Windows known folders, such as their desktop, Documents, or Pictures,
to automatically synchronize to OneDrive. You can add this feature during the initial setup of OneDrive or after it
has been configured. This capability provides a simple migration option for users looking to add known folders to
their existing list of synchronized folders. For more information about Known Folder Move, see Protect your files
by saving them to OneDrive.
Adopt OneDrive
User adoption is important to the overall success of any new application. Ideally, to feel that you have maximized
your investment in Office 365 and OneDrive, you need to maximize user engagement with them. For small
businesses, driving user adoption can be as simple as introducing users to OneDrive when you’re installing it or
showing them any of the videos available at the Office 365 Training Center.
Personally showing your users how to save and share documents in OneDrive tends to be the most effective option
for driving adoption, given that you’ll likely be performing manual installations. The primary value proposition for
small businesses is file availability and redundancy. A document saved on local storage can be lost with a device; a
document saved to OneDrive cannot. Simply having this discussion with your users beforehand, coupled with
demonstrating the application’s ease of use, can drive positive outcomes for this effort.
For information about a more formal Microsoft 365 user adoption strategy, see the Microsoft 365 End User
Adoption Guide. For more information about driving user engagement through a similar, more formal process, see
Success Factors for Office 365 End User Engagement. You can also contribute to or comment on adoption-related
ideas in the Driving Adoption Tech Community.
NOTE
If the device has an older version of the sync client, you’ll be asked to uninstall it when you install the new one.
Configuring OneDrive for Windows is simple, but if you want to see a demonstration, see Sync files with the
OneDrive sync client in Windows
Install and configure OneDrive on a macOS device
To install the OneDrive sync client on a computer running macOS, just follow the steps in Sync files with the
OneDrive sync client on Mac OS X. The setup experience is similar to that for Windows. For more information
about OneDrive on macOS, see OneDrive for Mac – FAQ.
Manage OneDrive
Many small businesses use OneDrive without changing any of the options.
If you want to add some basic device and sharing restrictions to OneDrive, you can use the OneDrive admin center.
To access the new OneDrive admin center, go to https://admin.onedrive.com. There, you can restrict the people with
whom your users can share files, choose the devices your employees can use to access OneDrive, and more.
Settings in the OneDrive admin center are grouped into six categories:
Sharing. On the Sharing page, you can configure the default sharing link users send out to colleagues to
share a file. For example, when users share a file, you can specify that the default sharing type is Internal.
You can also change the external sharing settings to prevent users from sharing files with people outside
your organization. This is useful if you have a lot of confidential information.
Sync. On the Sync page, you can configure sync restrictions based on file type, require that synced devices
be joined to your domain, or restrict synchronization from computers running macOS.
Storage. On the Storage page, you specify the default OneDrive storage limit for users within your
Office 365 organization. You can also configure how long to keep data for users whose accounts have been
deleted (the maximum value is 10 years).
Device Access. On the Device Access page, you can restrict device access to OneDrive based on network
location and apps that don’t use modern authentication, among other application management options.
Compliance. The Compliance page provides a centralized list of links to auditing, data loss prevention
(DLP ), retention, ediscovery, and alerting capabilities within Office 365 that are applicable to OneDrive.
(Most small businesses won’t use these options.)
Selecting an item’s link redirects you to the Office 365 Security & Compliance Center, where you can
configure that item. You can create DLP policies from templates that protect certain types of data, such as
Social Security numbers, banking information, and other financial and medical content. For a walkthrough of
how to create DLP policies in Office 365 and apply them to OneDrive, see Create a DLP policy from a
template.
Notifications. On the Notifications page, you define when OneDrive owners should receive notifications
about sharing or accessing their data. These settings are helpful for small businesses that likely don’t have IT
staff who can audit this information. For information about enabling these options, see Turn on external
sharing notifications for OneDrive.
When a user installs the OneDrive sync client for Windows or Mac, they can work with their OneDrive files in File
Explorer or Finder. They can also easily save files to OneDrive from the programs they use. When users add,
change, and delete files and folders from the OneDrive mobile app or by accessing their OneDrive from a web
browser, the files and folders are automatically added, changed, or deleted on their computer and vice versa. To
upload files to OneDrive, users can simply copy or move them to OneDrive in File Explorer or Finder. They can
also use File Explorer to easily organize their OneDrive by creating new folders, and moving and renaming files
and folders. All these changes sync automatically.
Windows10 devices come with the OneDrive sync client installed. Office2016 and later installations also have the
sync client installed.
Read the release notes and install the latest fully released versions
Invalid file names and file types in OneDrive, OneDrive for Business, and SharePoint
Fix sync problems
Deploy OneDrive apps by using System Center
Configuration Manager
6/7/2019 • 6 minutes to read • Edit Online
You can use System Center Configuration Manager (SCCM ) to deploy the new OneDrive sync client
(OneDrive.exe), as well as the mobile apps for iOS and Android. Before you begin deploying, make sure you have
reviewed the planning information and deployment options in the OneDrive guide for enterprises.
IMPORTANT
If your users are currently using the OneDrive for Business sync client (Groove.exe), and you want to move them to the
OneDrive sync client, see Transition from the previous OneDrive for Business sync client before proceeding.
NOTE
Office is installed per machine, whereas OneDrive needs to be installed per user. If you plan on deploying Office to your
organization, you will need to deploy OneDrive.exe separately for additional users on individual machines.
NOTE
The script installer deployment type already has a detection method script and will correctly assess the installation. Also,
there is an uninstall switch, which means that you can easily remove the OneDrive sync client, if necessary.
NOTE
This command must be run at user logon and using Administrator permissions. It must be run for each user on a machine.
For an example of how to deploy an .exe on every user account, see How to deploy the OneDrive sync client with SCCM.
If you run the command with no command line parameter, users will see the installation status. After installation,
OneDriveSetup.exe will automatically execute OneDrive.exe and display OneDrive Setup to users. If you run the command
with the /silent parameter, OneDrive.exe will be installed transparently and OneDrive Setup won't appear. You'll need to run
OneDrive.exe with an additional command. If you want to control the launch of OneDrive across your organization, we
recommend using the /silent parameter.
Learn more about application management in Configuration Manager. The installer will install the OneDrive
executable file under %localappdata%\Microsoft\OneDrive.
Deploy the RMS client to enable syncing IRM -protected files
The new OneDrive sync client for Windows now supports syncing IRM -protected SharePoint document libraries
and OneDrive locations. To create a seamless IRM sync experience for your users, deploy to your users'
computers the latest Rights Management Service (RMS ) client from the Microsoft Download Center. Even if these
computers have the Azure Information Protection client installed, which includes the RMS client, the OneDrive
sync client still needs a separate installation of the RMS client from the Microsoft Download Center.
To silently install the RMS client on computers, use the /qn switch as part of the command-line options of the
Microsoft Windows Installer Tool (Msiexec.exe). For example, the following command shows the silent mode
installation (assuming the RMS Client installer package is already downloaded to C:\Downloads)
You can have the setup file on a network share and use managed software deployment to run the msiexec
command.
NOTE
The sync client does not support IRM policies that expire document access rights.
odopen://launch
Use the following URL with each user's email address to start Setup and prepopulate user email addresses
in the sign-in window.
odopen://sync?useremail=youruseremail@organization.com
If you want to auto-configure a SharePoint site to be synced, you can use the URL below as a guide to build the
path to the SharePoint site you want to sync automatically. Replace HERE with the correct values for each
component of the URL.
NOTE
Replace special characters like the period (.), hyphen (-), and at sign (@) with the corresponding encoded values. For example,
if the URL includes a hyphen, replace the hyphen with its encoded value, %2D. Additionally, you will need Client Side Object
Model (CSOM) knowledge to query the team site to determine the appropriate SiteID, WebID and ListID to build the
appropriate URL.
odopen://sync/?
siteId=SiteID_HERE&webId=WebID_HERE&listId=ListID_HERE&userEmail=UserEmail_HERE&webUrl=WebURL_
HERE"
Run the following command using System Center Configuration Manager (SCCM ) script:
%localappdata%\Microsoft\OneDrive\OneDrive.exe
It starts the OneDrive process. If users haven't set up any accounts, it displays OneDrive Setup. To display
OneDrive Setup specifically to users who haven't set up an account for your organization, use the
command line parameter:
/configure_business:<tenantId>
NOTE
When you use System Center Configuration Manager, make sure you run OneDrive.exe with User permissions (not as an
Administrator).
For help finding your tenant ID, see Find your Office 365 tenant ID.
See also
Invalid file names and file types in OneDrive, OneDrive for Business, and SharePoint
Install the sync client per machine (preview)
7/15/2019 • 3 minutes to read • Edit Online
By default, the OneDrive sync client installs per user, meaning OneDrive.exe needs to be installed for each user
account onthe PC under the %localappdata% folder. Withthe new per-machine installation option, you can install
OneDrive under the “ProgramFiles (x86)” directory, meaning all profiles on the computer will use the same
OneDrive.exe binary. Other than where the sync client is installed, the behavior is the same.
The new per-machine sync client provides:
Automatic transitioning from the previous OneDrive sync client (Groove.exe)
Automatic conversion from per-user to per-machine
Automatic updates when a new version is available
The per-machine sync client supports syncing OneDrive and SharePoint files in Microsoft 365 and in SharePoint
Server 2019.
Requirements
All Windows versions supported by the sync client. Learn more
Sync client build 19.043.0304.0006 or later. For info about which sync client build is available in each ring, see
New OneDrive sync client release notes.
To apply sync client updates, computers in your organization must be able to reach the following:
"oneclient.sfx.ms" and "g.live.com." Make sure you don't block these URLs. They are also used to enable and
disable features and apply bug fixes. More info about the URLs and IP address ranges used in Office 365.
Deployment instructions
1. Download OneDriveSetup.exe.
2. Run “OneDriveSetup.exe /allusers” from a command prompt window (will result in a UAC prompt) or by using
SCCM. This will install the sync client under the “Program Files (x86)\Microsoft OneDrive” directory. When
setup completes, OneDrive will start. If accounts were added on the computer, they'll be migrated automatically.
FAQ
Do I need to move to the per-machine sync client? The per-machine sync client is helpful especially for multi-
user computers and when you don’t want exe files running from the user profile.Over time, we will recommend
that more and more customers switch to per-machine installation.
With per-machine installation, will a single OneDrive.exe process be shared by all users on the
computer? No, although a single version of OneDrive.exe is installed, a new process is created for every OneDrive
account syncing on the computer.
Will the same update rings apply to per-machine? If you selected the Insiders ring (via the Windows Insider
program or Office Insider programs) or are in the default Production ring, you will continue to be in the same ring
as before.
In the past you may have used a user group policy (under HKCU ) to select the Enterprise ring (Receive OneDrive
sync client updates on the Enterprise ring). This group policy will not work with the per-machine install. To select
the ring, use the computer group policy (under HKLM ) instead (Set the sync client update ring).
NOTE
We do not recommend selecting the Enterprise ring while this feature is in preview because you will not receive bug fixes for
any issues we find.
Does the per-machine sync client follow the same update process/cadence as the per-user sync client?
Yes, the per-machine sync client will auto-update on the same cadence as the per-user sync client and the same
rings are supported (see question above). The release notes are the same. More info about the sync client update
process
The sync client is an extension of the service and a very thin client so auto-updating to the latest version is critical
to maintaining a high-quality sync experience. As a result, we recommend that you keep your users in the default
Production ring and rely on auto-update to take care of updating to the latest version. If your organization requires
you to deploy updates manually through SCCM, we recommend that you select the Enterprise ring and deploy the
upcoming builds before auto-update takes effect as described here.
Do automatic updates of the per-machine sync client require user intervention? User intervention is not
required for the per-machine sync client to update itself. Elevation is required when you first set it up. During setup,
we install a scheduled task and a Windows service, which are used to perform the updates silently without user
intervention since they run in elevated mode.
How do I revert back to the per-user sync client if required? We do not support automated migration from
per-machine to per-user. To revert back after installing per-machine, please uninstall the sync client and install the
latest released version without the “/allusers” parameter.
How can I detect the installation through SCCM?
For SCCM, to detect the install we used the following two registry detection rules with an OR () connector;
[HKLM\SOFTWARE\Wow6432Node\Microsoft\OneDrive]"1111-2222-3333-4444"=dword:0005000
HKLM\SOFTWARE\Wow6432Node\Microsoft\OneDrive | Version | 32bit on 64bit TRUE | Type=Version | =
19.043.0304.0007 HKLM\SOFTWARE\Microsoft\OneDrive | Version | 32bit on 64bit FALSE | Type=Version | =
19.043.0304.0007
This allows the per-machine version to be detected independent of the underlying client architecture.
Query and set Files On-Demand states
6/7/2019 • 2 minutes to read • Edit Online
With OneDrive Files On-Demand, files can be in one of three states. Each of these states corresponds to a file
attribute state. To query the current state of a file or folder, use the following commands:
Windows: attrib
Mac: /Applications/OneDrive.App/Contents/MacOS/OneDrive /getpin
Scriptable commands
Use the following commands to set file and folder states.
FILES ON-DEMAND STATE FILE ATTRIBUTE STATE WINDOWS COMMAND MAC COMMAND
NOTE
To set the file attribute state for all items within a folder on Mac, add the /r parameter.
Pinning an online-only file makes the sync client download the file contents, and unpinning a downloaded file frees up space
on the device by not storing the file contents locally.
To set an online-only file or folder to "locally available," you must first set it to "always available."
Meet Windows and OneDrive sync client requirements and still can't see Files On-Demand option available at
"Settings"? Make sure service "Windows Cloud Files Filter Driver" start type is set to 2 (AUTO_START). Enabling
this feature sets the following registry key value to 2.
[HKLM\SYSTEM\CurrentControlSet\Services\CldFlt]"Start"="dword:00000002"
Silently configure user accounts
6/17/2019 • 3 minutes to read • Edit Online
This article is for IT admins who would like to silently configure user accounts when deploying the new OneDrive
sync client (OneDrive.exe) to managed Windows computers in their enterprise. This feature works for computers
that are joined to Azure Active Directory (Azure AD ).
Overview
If you enable this feature, OneDrive.exe will attempt to sign in to the work or school account on the device that's
joined to Azure AD. Before if begins syncing, it will check the available disk space. If syncing the user's entire
OneDrive would cause the available space to drop below 1 GB or if the size exceeds the threshold you set (on
devices that don't have Files On-Demand enabled), OneDrive will prompt the user to choose folders to sync. For
info about setting this threshold using Group Policy, see Set the maximum size of a user's OneDrive that can
download automatically.
If you enable this setting and the user is syncing files with the previous OneDrive for Business sync client
(Groove.exe), the new sync client (OneDrive.exe) will attempt to take over syncing and import the user's sync
settings.
Prerequisites
Before you can enable silent account configuration, you need to join your devices to Azure AD. You can join
devices running Windows 10 and Windows Server 2016 directly to Azure AD. To learn how, see Join your work
device to your organization's network.
If you have an on-premises environment that uses Active Directory, you can enable hybrid Azure AD joined
devices to join devices on your domain to Azure AD. Devices must be running one of the following operating
systems:
Windows 10
Windows 8.1
Windows 7
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2
If you federate your on-premises Active Directory with Azure AD, you must use AD FS to enable this feature. For
info about using Azure AD Connect, see Getting started with Azure AD Connect using express settings.
NOTE
For more info, see How to configure hybrid Azure Active Directory joined devices. To check the join status and fix problems,
see Troubleshoot hybrid Azure AD-joined devices.
Enable silent configuration
If the computers on your network are joined to Active Directory on-premises, you can use domain group policy to
configure silent account configuration.
Using Group Policy:
1. Enable silent account configuration. For info, see Silently sign in users to the OneDrive sync client with
their Windows credentials. If a device is not already joined to Azure AD, enabling this setting will join it.
2. Optionally, specify the maximum OneDrive size that will download automatically in silent configuration.
For info, see Set the maximum size of a user's OneDrive that can download automatically. Note that if you
enable Files On-Demand, OneDrive will ignore the maximum size value.
3. Optionally, set the default location for the OneDrive folder. For info, see Set the default location for the
OneDrive folder.
TIP
To test single sign-on, run OneDrive setup using the /silent parameter and enter your user name. Setup should not prompt
for credentials.
NOTE
Silent account configuration won't work on devices for which you've required multi-factor authentication. Select third-party
identity providers (IdPs) are supported, but there are caveats. For more information, make sure to check out the Azure AD
federation compatibility list.
If the computers on your network are not connected to Active Directory on-premises, but only to Azure AD, we
recommend using Intune and a Microsoft PowerShell script to set the registry keys required to enable silent
config. Be sure you have automatic enrollment set up for Windows 10 devices.
Using a script:
$TenantGUID = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
IF(!(Test-Path $HKLMregistryPath))
IF(!(Test-Path $DiskSizeregistryPath))
New-ItemProperty -Path $HKLMregistryPath -Name 'SilentAccountConfig' -Value '1' -PropertyType DWORD -Force |
Out-Null ##Enable silent account configuration
New-ItemProperty -Path $DiskSizeregistryPath -Name $TenantGUID -Value '102400' -PropertyType DWORD -Force |
Out-Null ##Set max OneDrive threshold before prompting
Send feedback
Please let us know if you have feedback on this feature or encounter any issues:
1. Right-click the blue OneDrive icon in the notification area, at the far right of the taskbar.
2. Click Report a problem.
3. Enter a brief description and include the phrase "SilentConfig" in your message to send your feedback
directly to engineers working on this feature.
4. Click OK. You'll receive an email message with a ticket number to track your feedback.
Transition from the previous OneDrive for Business
sync client
6/7/2019 • 5 minutes to read • Edit Online
This article is for Office 365 admins who would like to transition their users off of the previous OneDrive for
Business sync client (Groove.exe) so that they sync only with the new OneDrive sync client (OneDrive.exe).
If you're not an IT admin, see Sync files with the new OneDrive sync client in Windows to learn how to begin
syncing files using the new OneDrive sync client.
IMPORTANT
If your organization never used the previous OneDrive for Business sync client, or had fewer than 250 licensed Office 365
users in June 2016, your users are already using the new OneDrive sync client to sync files in OneDrive and SharePoint
Online.
The new OneDrive sync client supports Windows 10, Windows 8.1, Windows 8, and Windows 7. It can also be used with
SharePoint Server 2019.
The OneDrive sync client for Windows now supports syncing IRM-protected SharePoint document libraries and OneDrive
locations. To create a seamless IRM sync experience for your end users, deploy the latest Rights Management Service (RMS)
client to your users' computers.
If you're ready now, download the latest version of the new OneDrive sync client that's fully released to
production. To learn about other versions that are rolling out to different rings, see New OneDrive sync client
release notes.
IMPORTANT
OneDrive.exe must be deployed and configured before you try the takeover command.
Overview
When users who are syncing files with the previous OneDrive for Business sync client (Groove.exe) sign in to the
new OneDrive sync client (OneDrive.exe), the following things happen:
If the new OneDrive sync client can take over syncing a library, the previous sync client stops syncing it and
the new OneDrive sync client takes over syncing it without re-downloading the content. If the new
OneDrive sync client can't sync the library, the previous sync client continues to sync it. If a library requires
checkout or has required columns or metadata, it will be synced read-only.
The previous sync client stops running and removes itself from automatic startup, unless it's still syncing
libraries that the new OneDrive sync client can't sync.
When SharePoint Online libraries begin syncing with the new OneDrive sync client, the folder hierarchy that
appears in File Explorer may be simplified.
To help your users get started with the OneDrive sync client, you can refer them to the following articles:
Sync files with the new OneDrive sync client in Windows
Get started with the new OneDrive sync client on Mac OS X
Sync SharePoint files with the new OneDrive sync client
The following library types are not yet supported by the new OneDrive sync client, and will not transition from the
previous sync client:
On-premises locations in SharePoint Server 2016 or earlier.
SharePoint Online libraries that people from other organizations shared that your users are syncing with
the previous sync client.
For more info about sync restrictions and limitations, see Invalid file names and file types in OneDrive, OneDrive
for Business, and SharePoint
Prerequisites
1. Make sure users have the following versions of Office or higher installed. For info about deploying Office, see
Choose how to deploy Office 365 ProPlus. Make sure you don't install the previous OneDrive for Business
sync client. For info, see Changes to the previous OneDrive sync client (Groove.exe) in Office 2016 Click-to-
Run.
2. Make sure users have version 17.3.6743.1212 or higher of the new OneDrive sync client installed. For info
about deploying the new OneDrive sync client, see Deploy OneDrive apps by using System Center
Configuration Manager.
NOTE
If any users have Office 2010 installed, we strongly recommend removing the SharePoint Workspace component. If users
previously set up SharePoint Workspace (even if they're no longer using it), it will cause problems syncing team sites. Before
starting OneDrive Setup, either Uninstall Office from a PC or modify the installation. To do this by running Setup, first create
the following XML file:
<Configuration Product="ProPlus"> <Display Level="none" CompletionNotice="no" SuppressModal="yes"
NoCancel="yes" AcceptEula="yes" /> <Logging Type="standard" Path="C:\Windows\temp\"
Template="MicrosoftSharePointWorkspaceSetup(*).txt" /> <Setting Id="SETUP_REBOOT" Value="Never" />
<OptionState Id="GrooveFiles" State="absent" Children="force" /> </Configuration>
Then run Setup: Setup.exe /modify ProPlus /config RemoveSharepointDesigner.xml For more info, see Setup
command-line options for Office 2010 and Config.xml file in Office 2010.
Configure takeover
When the new OneDrive sync client (OneDrive.exe) is deployed and configured on a computer, it will automatically
transition off of the previous OneDrive for Business sync client (Groove.exe).
You can configure the sync client in two ways:
Silently - Review the prerequisites and steps, and then use this policy.
Manually - In the SharePoint admin center, set OneDrive and SharePoint to sync with the new OneDrive sync
client. This will run the new sync client the next time users click the Sync button in a SharePoint document
library. If the options aren't available in the SharePoint admin center, the new OneDrive sync client is already
set up to sync files in OneDrive and SharePoint Online. Once OneDrive.exe is installed and configured,
Groove.exe should no longer be able to sync.If the takeover did not succeedor your users are stuck in a hybrid
state (some content syncing with OneDrive.exe and some with Groove.exe), try running
%localappdata%\Microsoft\OneDrive\OneDrive.exe /takeover. You must set up OneDrive.exe on the computer
before you run this command.
TIP
Make sure to run the command in a user context, rather than as admin, or the user will see the error "OneDrive.exe cannot
be run with Admin privileges."
To affect all users on the computer, configure the command to run on every user account so it will run for any user who
signs in.
If the takeover did not succeed, the previous OneDrive for Business sync client (Groove.exe) may be an older
version that can't successfully transition to the new client. To patch the previous sync client, update groove-x in
Office 2016 or Office 2013, and then try again.
WARNING
Running this command will disconnect Groove.exe even if the user is still syncing content.
This article is for IT admins managing the OneDrive sync client in a Windows Server enterprise environment that
uses Active Directory Domain Services.
There are two primary advantages of moving or redirecting Windows known folders (Desktop, Documents,
Pictures, Screenshots, and Camera Roll) to OneDrive for Business for the users in your domain:
Your users can continue using the folders they're familiar with. They don't have to change their daily work
habits to save files to OneDrive.
Saving files to OneDrive backs up your users' data in the cloud and gives them access to their files from
any device.
For these reasons, we recommend moving or redirecting known folders to OneDrive if you're an enterprise or
large organization. Small or medium businesses may also find this useful, but keep in mind you'll need some
experience with Group Policy. For info about the end-user experience, see Protect your files by saving them to
OneDrive.
IMPORTANT
The OneDrive Known Folder Move Group Policy objects won't work if you previously used Windows Folder Redirection
Group Policy objects to redirect the Documents, Pictures, or Desktop folders to a location other than OneDrive. Remove the
Windows Group Policy objects for these folders before you enable the OneDrive Group Policy objects. The OneDrive Group
Policy objects won't affect the Music and Videos folders, so you can keep them redirected with the Windows Group Policy
objects. For info about Windows Folder Redirection, see Deploy Folder Redirection with Offline Files.
If your organization is large and your users have a lot of files in their known folders, make sure you roll out the Group Policy
objects slowly to minimize the network impact of uploading files. For users who have a lot of files in their known folders,
consider using the policy "Limit the sync client upload rate to a percentage of throughput" temporarily if you would like to
minimize the network impact and then disable the policy once uploads are complete.
If users have OneNote notebooks in their known folders, the known folders won't be moved. For guidance on moving
OneNote notebooks to OneDrive, see Move a OneNote notebook to OneDrive.
If a user has already redirected their known folders to a different OneDrive account, they'll be prompted to
direct the folders to the account for your organization (leaving existing files behind).
Silently move Windows known folders to OneDrive
Use this setting to redirect known folders to OneDrive without any user interaction. Before sync client build
18.171.0823.0001, this setting redirected only empty known folders to OneDrive. Now, it redirects known
folders that contain content and moves the content to OneDrive.
NOTE
You can choose to display a notification to users after their folders have been redirected.
A number of errors can prevent this setting from taking effect, such as:
A known folder contains an Outlook database file (.pst), or a OneNote file that isn't already stored in
OneDrive.
A known folder is on a different volume than the OneDrive folder.
A file exceeds the maximum path length
The known folders aren't in the default locations
A folder isn't selected for syncing
Folder protection is unavailable
Known folders are prohibited from being redirected
For info about these errors, see Fix problems with folder protection.
We recommend using this setting together with "Prompt users to move Windows known folders to
OneDrive." If moving the known folders silently does not succeed, users will be prompted to correct the
error and continue.
Prevent users from redirecting their Windows known folders to their PC
Use this setting to force users to keep their known folders directed to OneDrive.
NOTE
Users can direct their known folders by opening OneDrive sync client settings, clicking the Backup tab, and then
clicking Manage backup.
The OneDrive sync client now lets users sync libraries or folders in SharePoint or OneDrive that have been shared
from other organizations. This scenario is often referred to as Business-to-Business (B2B ) Collaboration. We’re
calling this new feature in the OneDrive sync client "B2B Sync".
IMPORTANT
This feature is not yet enabled for our customers in our Enterprise ring. Once build 19.086.* or newer is available to
Enterprise ring users, the B2B Sync feature will be enabled. See the release notes for rollout info.
Azure Active Directory (AAD ) guest accounts play a key role in making B2B Collaboration possible. A guest
account at one organization links to a member account at another organization. Once created, a guest account
allows Office 365 services like OneDrive and SharePoint to grant a guest permission to sites and folders the same
way a member within the organization is granted permission. Since the accounts at two organizations are linked,
the user only needs to remember the username and password for the account at their organization. As a result, a
single sign in to their account enables access to content from their own organization and from any other
organization that have created guest accounts for them.
IMPORTANT
We recommend that you sign up for the SharePoint and OneDrive integration with Azure AD B2B Preview to help ensure
that the required Azure AD guest account for the share recipient is created in your organization's directory.
2. When the recipient clicks the link in the email to go to the shared item, they need to click "Organizational
account" to sign in with their Fabrikam account. Behind the scenes, this creates the Contoso guest account in
Azure AD.
3. The recipient may need to enter their Fabrikam username or password, and then they can view the shared
item. If they don't want to sync everything that was shared, they can browse to the library or folder they
want to sync. To set up syncing, they need to click the Sync button.
4. The guest’s browser will display up a message asking if they want to open "Microsoft OneDrive," and they
will need to allow this.
5. If this is the first time the guest has used the sync client with their Fabrikam account, they'll need to sign in.
The email address will be automatically set to the Fabrikam account used in the previous steps. The guest
needs to select "Sign in."
6. The guest might be able to sign in to the sync client without entering their Fabrikam password if they're
signed in to Windows with the same account. Otherwise they'll need to enter their password.
7. The guest will confirm where they want to sync the shared item on their computer.
NOTE
The content is placed in a folder whose name includes the name of the organization ("SharePoint - Contoso" in this
example). If the user is syncing SharePoint content from Fabrikam as well, they'll also have a "SharePoint - Fabrikam"
folder.
8. The guest will continue through the OneDrive sync client setup wizard.
9. After closing the wizard, the site will begin syncing. The user can click the blue cloud icon in the notification
area to open the OneDrive sync activity center and see the files syncing, open the local folder with the files,
or open the SharePoint site in a web browser.
IMPORTANT
If you allow “anyone” links (sometimes referred to as “anonymous access” or “shareable”), these links do not create guest
accounts and therefore the external share recipient will not be able to leverage B2B Sync when receiving that link type.
IMPORTANT
Any synced content will remain on the user's computer after permissions have been removed.
NOTE
If you have Office 365 Germany, sign in at https://portal.office.de. If you have Office 365 operated by 21Vianet
(China), sign in at https://login.partner.microsoftonline.cn/. Then select the Admin tile to open the admin center.
2. In the left pane, under Admin centers, select SharePoint. (You might need to select Show all to see the
list of admin centers.)
3. If the classic SharePoint admin center appears, click Try it now to open the new SharePoint admin center
preview.
4. Under Sites, click Active sites, and customize the view as necessary to see the External sharing column.
5. If you need to, change the external sharing setting for a site.
Methods of sharing
Sites and folders can be shared in different ways in SharePoint and OneDrive:
If users are syncing a folder, they can right-click it in File Explorer to share it.
Users can go to the SharePoint site or folder on the web and click the Share button to share the it.
Users can share sites and folders in the SharePoint and OneDrive mobile apps.
Admins can create guest accounts and use the admin center or PowerShell to add them to sites.
NOTE
For more info about these methods, see Learn how to share a site and Learn how to share a folder.
B2B Sync works with all these methods of sharing. It has only the following requirements:
For guests to sync shared content, the content must be shared at the site or folder level. Guests can't sync files
that are shared individually (for example, from the Office apps).
B2B sync works only when guest accounts are created in the organization, and when the recipient has an Azure
AD account. It doesn't work when users share by creating an anonymous access link (also known as "anyone"
link or "shareable" link), or when they share with people who have a Microsoft account or other personal
account.
Add guests to SharePoint sites
As an admin in Office 365, you can share with people outside the organization by creating guests individually in
the Azure AD admin center, and then adding them to a SharePoint team site individually or by adding them to a
security group that already has permissions to the site you want to share. If you grant permissions by using the
advanced permissions page (instead of by using the Share site button), you'll need to inform the guest that you've
given them permission to the site. They won't receive an invitation email.
IMPORTANT
If you use the advanced permissions page, we recommend granting permissions at the site level, not at the document library
or folder level.
Use PowerShell to bulk create guest accounts and add them to a SharePoint group
If you need to create and grant permissions to many guest accounts, you can use the following PowerShell script,
which creates guest accounts and grants them permissions to a site. The script takes a CSV (comma separated
value) file as input, which contains a list of user display names and email addresses. For each name and email
address, a guest account is created and that account is added to a security group to grant it permission. The script
is designed so that you can feed the resulting output CSV as input to the script on a subsequent run. This lets you
add more users to your CSV file or retry creating any failed account.
As users are added to the Azure AD Group, they should receive an email welcoming them to the group. After
running the script, you'll need to email the users with a direct link to the SharePoint site you gave them
permissions to. When they click the link, they'll be presented with the below UI to accept the terms of the
invitation. Once they accept, they will be taken to the site you shared with them. At that point they can click the
Sync button to begin syncing the sites files to their PC or Mac.
$csvDir = ''
$csvInput = $csvDir + 'BulkInvite.csv'
$csvOutput = $csvDir + 'BulkInviteResults.csv'
$domain = 'YourTenantOrganization.onmicrosoft.com'
$admin = "admin@$domain"
$redirectUrl = 'https://YourTenantOrganization.sharepoint.com/sites/SiteName/'
$groupName = 'SiteName'
$out = $row
$out|Add-Member -MemberType ScriptProperty -force -name 'time' -Value {$(Get-Date -Format u)}
$out|Add-Member -MemberType ScriptProperty -force -name 'status' -Value {$inv.Status}
$out|Add-Member -MemberType ScriptProperty -force -name 'userId' -Value {$inv.InvitedUser.Id}
$out|Add-Member -MemberType ScriptProperty -force -name 'redeemUrl' -Value {$inv.inviteRedeemUrl}
$out|Add-Member -MemberType ScriptProperty -force -name 'inviteId' -Value {$inv.Id}
When the guest clicks the icon, they will see an error banner in the activity center.
When they click the “One or more libraries could not be synced” banner, they can learn how to resolve the issue.
This article gives you an overview of how sync works in OneDrive. It helps you understand the logic behind how
information flows between applications, how the technologies work together, and how data is secured.
Download the PDF
How information flows
The OneDrive sync client uses Windows Push Notification Services (WNS ) to sync files in real time. WNS informs
the sync client whenever a change actually happens, eliminating redundant polling and saving on unnecessary
computing power.
Here’s how it works:
A change occurs in Office 365.
WNS alerts the OneDrive sync client of the change.
OneDrive adds it to the Internal Server Changes Queue.
Any metadata changes happen immediately, like renaming or deleting files.
Downloading content also starts a specific session with the client.
Office 365 has metadata pointers directing it through Microsoft Azure.
The changes are processed in the order they are received.
The previous OneDrive for Business sync client (Groove.exe) used a polling service to check for changes on a
predetermined schedule. Polling can lead to system lag and slowness because it requires a lot of computing power.
Using WNS is a significant enhancement.
This article is for IT admins who manage the new OneDrive sync client in a Windows Server enterprise
environment that uses Active Directory Domain Services (AD DS ).
NOTE
If you're not an IT admin, see Sync files with the new OneDrive sync client in Windows for info about OneDrive sync settings.
NOTE
For information about storage see OneDrive Files On-Demand and Storage Sense for Windows 10 and Policy CSP - Storage.
List of policies
Allow syncing OneDrive accounts for only specific organizations
Allow users to choose how to handle Office file sync conflicts
Block syncing OneDrive accounts for specific organizations
Coauthor and share in Office desktop apps
Configure team site libraries to sync automatically
Continue syncing on metered networks
Continue syncing when devices have battery saver mode turned on
Convert synced team site files to online-only files
Disable the tutorial that appears at the end of OneDrive Setup
Limit the sync client download speed to a fixed rate
Limit the sync client upload rate to a percentage of throughput
Limit the sync client upload speed to a fixed rate
Prevent the sync client from generating network traffic until users sign in
Prevent users from changing the location of their OneDrive folder
Prevent users from fetching files remotely
Prevent users from moving their Windows known folders to OneDrive
Prevent users from redirecting their Windows known folders to their PC
Prevent users from syncing libraries and folders shared from other organizations
Prevent users from syncing personal OneDrive accounts
Prompt users to move Windows known folders to OneDrive
Receive OneDrive sync client updates on the Enterprise ring
Require users to confirm large delete operations
Set the default location for the OneDrive folder
Set the maximum size of a user's OneDrive that can download automatically
Set the sync client update ring
Silently move Windows known folders to OneDrive
Silently sign in users to the OneDrive sync client with their Windows credentials
Use OneDrive Files On-Demand
NOTE
"Specify SharePoint Server URL and organization name" and "Specify the OneDrive location in a hybrid environment" are for
customers who have SharePoint Server 2019. More info about using the new OneDrive sync client with SharePoint Server
2019
If you enable this setting, and enter a percentage (from 10-99) in the Bandwidth box, computers will use the
percentage of upload throughput that you specify when uploading files to OneDrive, and users will not be able to
change it.
Enabling this policy sets the following registry key value. For example:
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"AutomaticUploadBandwidthPercentage"="dword:00000032"
The above registry key sets the upload throughput percentage to 50%, using the hexadecimal value for 50, which
is 00000032.
If you disable or do not configure this setting, users can choose to limit the upload rate to a fixed value (in
KB/second), or set it to "Adjust automatically," which sets the upload rate to 70% of throughput. For info about the
end-user experience, see Change the OneDrive sync client upload or download rate.
IMPORTANT
If you enable or disable this setting, and then change it back to Not Configured, the last configuration will remain in effect.
We recommend enabling this setting instead of "Limit the sync client upload speed to a fixed rate" to limit the upload rate.
You should not enable both settings at the same time.
Prevent the sync client from generating network traffic until users sign in
This setting lets you block the OneDrive sync client (OneDrive.exe) from generating network traffic (checking for
updates, etc.) until users sign in to OneDrive or start syncing files on their computer.
If you enable this setting, users must sign in to the OneDrive sync client on their computer, or select to sync
OneDrive or SharePoint files on the computer, for the sync client to start automatically.
If you disable or do not configure this setting, the OneDrive sync client will start automatically when users sign in
to Windows.
IMPORTANT
If you enable or disable this setting, and then change it back to Not Configured, the last configuration will remain in effect.
NOTE
Moving known folders to personal OneDrive accounts is already blocked on domain-joined PCs.
If you enable this setting, users won't be prompted with a window to protect their important folders, and the
"Start protection" command will be disabled. If the user has already moved their known folders, the files in those
folders will remain in OneDrive. This setting will not take effect if you've enabled "Prompt users to move
Windows known folders to OneDrive" or "Silently move Windows known folders to OneDrive."
If you disable or do not configure this setting, users can choose to move their known folders.
Enabling this policy sets the following registry key value to 1.
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptIn"="dword:00000001"
Prevent users from redirecting their Windows known folders to their PC
This setting forces users to keep their Documents, Pictures, and Desktop folders directed to OneDrive.
NOTE
This setting is available in the OneDrive sync client build 18.111.0603.0004 or later.
If you enable this setting, the "Stop protecting" button in the "Set up protection of important folders" window will
be disabled and users will receive an error if they try to stop syncing a known folder.
If you disable or do not configure this setting, users can choose to redirect their known folders back to their PC.
Enabling this policy sets the following registry key:
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptOut"="dword:00000001"
Prompt users to move Windows known folders to OneDrive
This setting displays the following window that prompts users to move their Documents, Pictures, and Desktop
folders to OneDrive.
NOTE
This setting is available in the OneDrive sync client build 18.111.0603.0004 or later.
If you enable this setting and provide your tenant ID, users who are syncing their OneDrive will see the window
above when they're signed in. If they close the window, a reminder notification will appear in the activity center
until they move all three known folders. If a user has already redirected their known folders to a different
OneDrive account, they will be prompted to direct the folders to the account for your organization (leaving
existing files behind).
If you disable or do not configure this setting, the window that prompts users to protect their important folders
won't appear.
Enabling this policy sets the following registry key:
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMOptInWithWizard"="1111-2222-3333-4444"
(where "1111-2222-3333-4444" is the tenant ID )
More info about known folder move
Require users to confirm large delete operations
This setting makes users confirm that they want to delete files in the cloud when they delete a large number of
synced files.
If you enable this setting, a warning will always appear when users delete a large number of synced files. If a user
does not confirm a delete operation within 7 days, the files will not be deleted.
If you disable or do not configure this setting, users can choose to hide the warning and always delete files in the
cloud.
Enabling this policy sets the following registry key value to 1.
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"ForcedLocalMassDeleteDetection"="dword:00000001"
Set the maximum size of a user's OneDrive that can download automatically
This setting is used in conjunction with Silently sign in users to the OneDrive sync client with their Windows
credentials on devices that don't have OneDrive Files On-Demand enabled. Any user who has a OneDrive that's
larger than the specified threshold (in MB ) will be prompted to choose the folders they want to sync before the
OneDrive sync client (OneDrive.exe) downloads the files.
In the Options box, click Show to enter the tenant ID and the maximum size in MB (from 0 to 4294967295). The
default value is 500.
Enabling this policy sets the following registry key.
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive\DiskSpaceCheckThresholdMB ]"1111-2222-3333-
4444"=dword:0005000
(where "1111-2222-3333-4444" is the tenant ID and 0005000 sets a threshold of 5000 MB )
Set the sync client update ring
We release OneDrive sync client (OneDrive.exe) updates to the public through three rings- first to Insiders, then
Production, and finally Enterprise. This setting lets you specify the ring for users in your organization. When you
enable this setting and select a ring, users won't be able to change it.
Insiders ring users will receive builds that let them preview new features coming to OneDrive.
Production ring users will get the latest features as they become available. This ring is the default.
Enterprise ring users get new features, bug fixes, and performance improvements last. This ring lets you deploy
updates from an internal network location and control the timing of the deployment (within a 60-day window ).
If you disable or do not configure this setting, users can join the Windows Insider program or the Office Insider
program to get updates on the Insiders ring.
Enabling this policy sets the following registry key:
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"GPOSetUpdateRing"="dword:0000000X"
Set the value 4 for Insider, 5 for Production, or 0 for Enterprise. Note that when you configure this setting to 5 for
Production, or 0 for Enterprise, the "Get OneDrive Insider preview updates before release" checkbox will not
appear on the client Settings > About tab.
For more info on the builds currently available in each ring, see the release notes. For more info about the update
rings and how the sync client checks for updates, see The OneDrive sync client update process.
Silently move Windows known folders to OneDrive
Use this setting to redirect your users' Documents, Pictures, and Desktop folders to OneDrive without any user
interaction. This setting is available in the OneDrive sync client build 18.111.0603.0004 or later. Before sync client
build 18.171.0823.0001, this setting redirected only empty known folders to OneDrive. Now, it redirects known
folders that contain content and moves the content to OneDrive.
NOTE
If you're using this setting with a build earlier than 18.171.0823.0001, we recommend also enabling Prompt users to move
Windows known folders to OneDrive.
If you enable this setting and provide your tenant ID, you can choose whether to display a notification to users
after their folders have been redirected.
If you disable or do not configure this setting, your users' known folders will not be silently redirected to
OneDrive.
Enabling this policy sets the following registry keys:
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMSilentOptIn"="1111-2222-3333-4444"
(where "1111-2222-3333-4444" is the tenant ID )
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMSilentOptInWithNotification"
Setting this value to 1 displays a notification after successful redirection.
More info about known folder move
Silently sign in users to the OneDrive sync client with their Windows credentials
IMPORTANT
ADAL is now enabled automatically when you enable this setting through Group Policy or by using the registry key, so you
don't have to download and enable it separately.
If you enable this setting, users who are signed in on a PC that's joined to Azure AD can set up the sync client
without entering their account credentials. Users will still be shown OneDrive Setup so they can select folders to
sync and change the location of their OneDrive folder. If a user is using the previous OneDrive for Business sync
client (Groove.exe), the new sync client will attempt to take over syncing the user's OneDrive from the previous
client and preserve the user's sync settings. This setting is frequently used together with Set the maximum size of
a user's OneDrive that can download automatically on PCs that don't have Files On-Demand, and with Set the
default location for the OneDrive folder.
Enabling this policy sets the following registry key value to 1.
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"SilentAccountConfig"="dword:00000001"
For more info about this feature, see Silently configure user accounts. Please let us know if you have feedback on
this feature or encounter any issues. Right-click the OneDrive icon in the notification area and click "Report a
problem." Please tag any feedback with "SilentConfig" so that your feedback will be sent directly to engineers
working on this feature.
Use OneDrive Files On-Demand
This setting lets you control whether OneDrive Files On-Demand is enabled for your organization. Files On-
Demand helps you save storage space on your users' computers and minimize the network impact of sync. The
feature is available to users running Windows 10 Fall Creators update (version 1709 or later). Learn about
OneDrive Files On-Demand.
If you enable this setting, new users who set up the sync client will download online-only files by default. If you
disable this setting, Windows 10 users will have the same sync behavior as users of previous versions of
Windows, and won't be able to turn on Files On-Demand. If you do not configure this setting, users can turn Files
On-Demand on or off.
Enabling this policy sets the following registry key value to 1.
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"FilesOnDemandEnabled"="dword:00000001"
Meet Windows and OneDrive sync client requirements and still can't see Files On-Demand option available at
"Settings"? Make sure service "Windows Cloud Files Filter Driver" start type is set to 2 (AUTO_START). Enabling
this feature sets the following registry key value to 2.
[HKLM\SYSTEM\CurrentControlSet\Services\CldFlt]"Start"="dword:00000002"
Prevent users from syncing libraries and folders shared from other organizations
The B2B Sync feature of the OneDrive sync client allows users at an organization to sync OneDrive for Business
and SharePoint libraries and folders shared with them from another organization. Learn about OneDrive B2B
Sync.
Enabling this setting will prevent users at your organization from being able to use B2B Sync. Once the setting is
enabled (value 1) on a computer, the sync client will not sync libraries and folders shared from other
organizations. Modify the setting to the disabled state (value 0) in order to restore B2B Sync capability for your
users.
prevent B2B Sync with: [HKLM\SOFTWARE\Policies\Microsoft\OneDrive] "BlockExternalSync"="dword:1"
restore B2B Sync with: [HKLM\SOFTWARE\Policies\Microsoft\OneDrive] "BlockExternalSync"="dword:0"
IMPORTANT
Do not enable this setting for libraries with more than 5,000 files or folders. Do not enable this setting for the same library
to more than 1,000 devices.
If you enable this setting, the OneDrive sync client will automatically sync the contents of the libraries you
specified as online-only files the next time the user signs in. The user won't be able to stop syncing the libraries.
If you disable this setting, team site libraries that you've specified won't be automatically synced for new users.
Existing users can choose to stop syncing the libraries, but the libraries won't stop syncing automatically.
To configure the setting, in the Options box, click Show, and then enter a friendly name to identify the library in
the Value Name field and the entire library ID
(tenantId=xxx&siteId=xxx&webId=xxx&listId=xxx&webUrl=httpsxxx&version=1) in the Value field.
To find the library ID, sign in as a global or SharePoint admin in Office 365, browse to the library, and click the
Sync button. In the "Starting sync" dialog box, click the Copy library ID link.
Enabling this policy sets the following registry key, using the entire URL from the library you copied:
[HKCU\Software\Policies\Microsoft\OneDrive\TenantAutoMount]"LibraryName"="LibraryID"
Disable the tutorial that appears at the end of OneDrive Setup
This setting lets you prevent the tutorial from launching in a web browser at the end of OneDrive Setup.
If you enable this setting, users will not see the tutorial after they complete OneDrive Setup.
Enabling this policy sets the following registry key value to 1.
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive] "DisableTutorial"="dword:00000001"
Limit the sync client download speed to a fixed rate
This setting lets you configure the maximum speed at which the OneDrive sync client (OneDrive.exe) can
download files. This rate is a fixed value in kilobytes per second, and applies only to syncing, not to downloading
updates. The lower the rate, the slower files will download.
We recommend that you use this setting in cases where Files On-Demand is NOT enabled and where strict traffic
restrictions are required, such as when you initially deploy the sync client in your organization or enable syncing
of team sites. We don't recommend that you use this setting on an ongoing basis because it will decrease sync
client performance and negatively impact the user experience. After initial sync, users typically sync only a few
files at a time, and it doesn't have a significant effect on network performance. If you enable this setting,
computers will use the maximum download rate that you specify, and users will not be able to change it.
If you enable this setting, enter the rate (from 1 to 100000) in the Bandwidth box. The maximum rate is 100000
KB/s. Any input lower than 50 KB/s will set the limit to 50 KB/s, even if the UI shows a lower value.
If you disable or do not configure this setting, the download rate is unlimited and users can choose to limit it in
OneDrive sync client settings. For info about the end-user experience, see Change the OneDrive sync client
upload or download rate.
Enabling this policy sets the following registry key value to a number from 50 through 100,000. For example:
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive] "DownloadBandwidthLimit"="dword:00000032"
The above registry key sets the download throughput rate limit to 50KB/sec, using the hexadecimal value for 50,
which is 00000032.
NOTE
OneDrive.exe must be restarted on users' computers to apply this setting.
For info about estimating the network bandwidth you need for sync, see Network utilization planning for the
OneDrive sync client.
Limit the sync client upload speed to a fixed rate
This setting lets you configure the maximum speed at which the OneDrive sync client (OneDrive.exe) can upload
files. This rate is a fixed value in kilobytes per second. The lower the rate, the slower the computer will upload files.
If you enable this setting and enter the rate (from 1 to 100000) in the Bandwidth box, computers will use the
maximum upload rate that you specify, and users will not be able to change it in OneDrive settings. The maximum
rate is 100000 KB/s. Any input lower than 50 KB/s will set the limit to 50 KB/s, even if the UI shows a lower value.
If you disable or do not configure this setting, users can choose to limit the upload rate to a fixed value (in
KB/second), or set it to "Adjust automatically" which sets the upload rate to 70% of throughput. For info about the
end-user experience, see Change the OneDrive sync client upload or download rate.
We recommend that you use this setting only used in cases where strict traffic restrictions are required. In
scenarios where you need to limit the upload rate (such as when you roll out Known Folder Move), we
recommend enabling Limit the sync client upload rate to a percentage of throughput to set a limit that adjusts to
changing conditions. You should not enable both settings at the same time.
Enabling this policy sets the following registry key value to a number from 50 through 100,000. For example:
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive]"UploadBandwidthLimit"="dword:00000032"
The above registry key sets the upload throughput rate limit to 50KB/sec, using the hexadecimal value for 50,
which is 00000032.
NOTE
OneDrive.exe must be restarted on users' computers to apply this setting.
For info about estimating the network bandwidth you need for sync, see Network utilization planning for the
OneDrive sync client.
Prevent users from changing the location of their OneDrive folder
This setting lets you block users from changing the location of the OneDrive folder on their computer.
To use this setting, in the Options box, click Show to enter your tenant ID, and enter 1 to enable the setting or 0
to disable it.
If you enable this setting, the “Change location” link is hidden in OneDrive Setup. The OneDrive folder will be
created in the default location, or in the custom location you specified if you enabled Set the default location for
the OneDrive folder.
Enabling this policy sets the following registry key value to 1.
[HKCU\Software\Policies\Microsoft\OneDrive\DisableCustomRoot] "1111-2222-3333-
4444"="dword:00000001"
(where "1111-2222-3333-4444" is the tenant ID )
If you disable this setting, users can change the location of their sync folder in OneDrive Setup.
Prevent users from syncing personal OneDrive accounts
This setting lets you block users from signing in with a Microsoft account to sync their personal OneDrive files. By
default, users are allowed to sync personal OneDrive accounts.
If you enable this setting, users will be prevented from setting up a sync relationship for their personal OneDrive
account. Users who are already syncing their personal OneDrive when you enable this setting won’t be able to
continue syncing (and will be shown a message that syncing has stopped), but any files synced to the computer
will remain on the computer.
Enabling this policy sets the following registry key value to 1.
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive]"DisablePersonalSync"="dword:00000001"
Receive OneDrive sync client updates on the Enterprise ring
This setting lets you specify the Enterprise ring for users in your organization. We release OneDrive sync client
(OneDrive.exe) updates to the public through three rings— first to Insiders, then Production, and finally
Enterprise.
Selecting the Enterprise ring gives you some extra time to prepare for updates, but means users will need to wait
to receive the latest improvements. The Enterprise ring also lets you deploy updates from an internal network
location on your own schedule.
Enabling this policy sets the following registry key value to 1:
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive] "EnableEnterpriseUpdate"="dword:00000001"
IMPORTANT
This setting will be removed soon. We recommend using the new setting Set the sync client update ring instead.
For more info about the update rings and how the sync client checks for updates, see The OneDrive sync client
update process.
Set the default location for the OneDrive folder
This setting lets you set a specific path as the default location of the OneDrive folder on users' computers. By
default, the path is under %userprofile%.
If you enable this setting, the default location of the OneDrive - {organization name} folder will be the path that
you specify. Click Show in the Options box to specify your tenant ID and the path.
This policy sets the following registry key to a string that specifies the file path.
[HKCU\SOFTWARE\Policies\Microsoft\OneDrive\DefaultRootDir] "1111-2222-3333-4444"="{User path}"
(where "1111-2222-3333-4444" is the tenant ID )
If you disable this setting, the local OneDrive - {organization name} folder location will default to %userprofile%.
NOTE
The %logonuser% environment variable won't work through Group Policy. We recommend you use %username% instead.
See also
Deploy the new OneDrive sync client in an enterprise environment
Prevent users from installing the sync client
Allow syncing only on computers joined to specific domains
Block syncing of specific file types
Deploy and configure the new OneDrive sync client for Mac
Find your Office 365 tenant ID
6/7/2019 • 2 minutes to read • Edit Online
Your Office 365 tenant ID is a globally unique identifier (GUID ) that is different than your organization name or
domain. You might need this identifier when you configure Group Policy objects for OneDrive.
To find your Office 365 tenant ID in the Azure AD admin center
1. Sign in to the Azure Active Directory admin center as a global or user management admin.
2. Under Manage, select Properties. The tenant ID is shown in the Directory ID box.
NOTE
For info about finding your tenant ID by using PowerShell instead, first read Azure Active Directory PowerShell for Graph
and then use Get-AzureADTenantDetail.
Use the sync client on virtual desktops
8/6/2019 • 2 minutes to read • Edit Online
For all supported operating systems, the OneDrive sync client supports:
Virtual desktops that persist between sessions.
Non-persistent environments that use Windows Virtual Desktop preview.
The sync client also supports non-persistent environments that have FSLogix Apps 2.8 or later, FSLogix Office 365
Container, and a Microsoft 365 or Office 365 subscription for all of the following operating systems:
Windows 10, 32 or 64-bit (supports VHDX files)
Windows 7, 32 or 64-bit (supports VHD files)
Windows Server 2016 R2 or Windows Server 2012 R2 (both support VHDX)
Windows Server 2008 R2 (supports VHD )
Using the OneDrive sync client with non-persistent environments requires that you install the sync client per
machine.
NOTE
For Windows Server, the SMB network file sharing protocol is also required.
See also
Learn more about VHDX and VHD
For info about creating virtual hard disks, see Manage virtual hard disks
Deploy and configure the new OneDrive sync client for Mac
6/7/2019 • 5 minutes to read • Edit Online
This article is for IT administrators managing OneDrive for Business settings in work or school environments. If you're not an IT administrator, read Get
started with the new OneDrive sync client on Mac OS X.
Overview of settings
The following table lists all the settings that are currently exposed for the OneDrive sync client. You need to configure the parameters in parentheses.
Disable personal accounts Blocks users from signing in and syncing DisablePersonalSync (Bool): When set to <key>DisablePersonalSync</key>
files in personal OneDrive accounts. If true, this parameter prevents users from <(Bool)/>
this key is set after a user has set up adding or syncing personal accounts.
sync with a personal account, the user
will be signed out.
Default folder location Specifies the default location of the TenantID (String): TenantID determines <key>Tenants</key>
OneDrive folder for each organization which accounts the default folder <dict>
location setting should apply to. Find <key>(TenantID)</key>
your Office 365 tenant ID <dict>
DefaultFolderPath (String): DefaultFolder <key>DefaultFolder</key>
specifies the default folder location. <string>(DefaultFolderPath)</string>
Mac App Store: </dict>
The path must already exist when users </dict>
set up the sync client.
Standalone:
The path will be created on users'
computers if it doesn't already exist.
Only with the Standalone sync client can
you prevent users from changing the
location.
Automatic upload bandwidth Enables the sync client to automatically AutomaticUploadBandwidthPercentage <key>AutomaticUploadBandwidthPerce
percentage set the amount of bandwidth used (int): This parameter determines the ntage</key>
based on available bandwidth for percentage of local upload bandwidth <int>(Bandwidth)</int>
uploading files that the sync client can use. Accepted
values are from 1 through 99.
Set maximum upload throughput Sets the maximum upload throughput UploadBandwidthLimited (int): This <key>UploadBandwidthLimited</key>
rate in kilobytes (KB)/sec for computers parameter determines the upload <int>(Upload Throughput Rate in
running the OneDrive sync client throughput in KB/sec that the sync KB/sec)</int>
client can use. The minimum rate is 50
KB/sec and the maximum rate is
100,000 KB/sec.
SETTING DESCRIPTION PARAMETERS EXAMPLE PLIST ENTRY
Set maximum download throughput Sets the maximum download DownloadBandwidthLimited (int): This <key>DownloadBandwidthLimited</key
throughput rate in kilobytes (KB)/sec for parameter determines the download >
computers running the OneDrive sync throughput in KB/sec that the sync <int>(Download Throughput Rate in
client client can use. The minimum rate is 50 KB/sec)</int>
KB/sec and the maximum rate is
100,000 KB/sec.
Dock icon Specifies whether a dock icon for HideDockIcon (Bool): When set to true, <key>HideDockIcon</key>
OneDrive is shown this parameter hides the OneDrive dock <(Bool)/>
icon even when the application is
running.
Open at login Specifies whether OneDrive starts OpenAtLogin (Bool): When set to true, <key>OpenAtLogin</key>
automatically when the user logs in OneDrive will start automatically when <(Bool)/>
the user logs in on the Mac.
Enable Files On-Demand Specifies whether Files On-Demand is FilesOnDemandEnabled (Bool): When set <key>FilesOnDemandEnabled</key>
enabled. If you don't set this setting, to true, new users who set up the sync <(Bool)/>
Files On-Demand will be enabled client will download online-only files by
automatically as we roll out the feature, default. When set to false, Files On-
and users can turn the setting on or off Demand will be disabled and users won't
be able to turn it on.
Disable download toasts Prevents toasts from appearing when DisableHydrationToast (Bool): When set <key>DisableHydrationToast</key>
applications cause file contents to be to true, toasts will not appear when <(Bool)/>
downloaded applications trigger the download of file
contents.
Block apps from downloading online- Prevents applications from automatically HydrationDisallowedApps (String): Json <key>HydrationDisallowedApps </key>
only files downloading online-only files. You can in the following format <string>
use this setting to lock down [{"ApplicationId":"appId","MaxBundleVersion":"1.1","MaxBuildVersion":"1.0"}]
[{"ApplicationId":"appId","MaxBundleVersion":"1.1","M
applications that don't work correctly {"ApplicationId":"appId2","MaxBundleVersion":"3.2","M
"AppID" can be either the BSD process
with your deployment of Files On- name or the bundle display name. </string>
Demand. MaxBuildVersion denotes the maximum <(Bool)/>
build version of the application that will
be blocked. MaxBundleVersion denotes
the maximum bundle version of the
application that will be blocked
SharePoint Server Front Door URL Specifies the SharePoint Server 2019 on- SharePointOnPremFrontDoorUrl (string): <key>SharePointOnPremFrontDoorUrl
premises URL that the OneDrive sync The URL of the on-premises SharePoint </key>
client should try to authenticate and Server. <string>https://Contoso.SharePoint.co
sync against m</string>
SharePoint Server Tenant Name Specifies the name of the folder created SharePointOnPremTenantName (string): <key>SharePointOnPremTenantName<
for syncing the SharePoint Server 2019 The name that will be used when /key>
files specified in the Front Door URL. creating a folder to sync the on- <string>Contoso</string>
premises SharePoint Server files. If
specified, the folder names will take the
form of:
OneDrive – TenantName
TenantName
If not specified, the folder names will use
the first segment of the FrontDoorURL
as the Tenant Name.
Example -
https://Contoso.SharePoint.com will use
Contoso as the Tenant Name
SharePoint OnPrem Prioritization For hybrid scenarios where the email is SharePointOnPremPrioritizationPolicy <key>SharePointOnPremPrioritizationP
the same for both SharePoint Server on- (int): This parameter determines which olicy</key>
premises and SharePoint Online, service to attempt to authenticate <int>(0 or 1)</int>
determines whether or not the client against for setting up sync.
should set up sync for SharePoint Server 1 indicates OneDrive should setup
or SharePoint Online first during the SharePoint Server on-premises first,
first-run scenario. followed by SharePoint Online.
BlockExternalSync Prevents the sync client from syncing BlockExternalSync (Bool): Set to true to <key>BlockExternalSync</key>
libraries and folders shared from other prevent syncing OneDrive for Business <(Bool)/>
organizations. and SharePoint libraries and folders from
organizations other than the user's own
organization. Set to false or do not
include the setting to allow.
Learn about OneDrive B2B Sync.
You can also configure the OneDrive Standalone sync client to receive delayed updates.
Tier Defines the update ring for the UpdateRing (String): This parameter has <key>Tier</key>
computer two different values. <string>(UpdateRing)</string>
Production - The default update ring for
OneDrive updates.
Insiders - This update ring receives
updates that are "pre-production" and
will allow you to play with features
before they are released. Note that
builds from this ring may be less stable.
Enterprise - This update ring receives
updates after they have rolled out
through the Production ring. It also lets
you control the deployment of updates.
For more info about the update rings
and how the sync client checks for
updates, see The OneDrive sync client
update process.
Deploy OneDrive apps by using Intune
6/7/2019 • 2 minutes to read • Edit Online
You can use Intune to deploy the mobile apps for iOS and Android and to deploy the new OneDrive sync client
(OneDrive.exe). Before you begin deploying, make sure you have reviewed the planning information and
deployment options in the OneDrive guide for enterprises.
6. Click to configure the required App Suite information, and then click OK.
7. Click to configure the required App Suite Settings, and then click OK.
8. Click Add.
9. Select Assignments and choose the group you created.
10. If you want to use silent account configuration, add a PowerShell script to do this and assign it to the group. For
info about this, see Silently configure user accounts.
For more info about deploying Office 365 apps to Windows 10 devices using Intune, see How to assign Office 365
apps to Windows 10 devices with Microsoft Intune.
Network utilization planning for the OneDrive sync
client
6/7/2019 • 6 minutes to read • Edit Online
This article is for IT admins planning to deploy the OneDrive sync client and wanting to estimate the network
bandwidth users will need for syncing. If you're not an IT admin, follow the steps in this article to limit the network
bandwidth used for syncing your files: Change the OneDrive sync client upload or download rate.
Operational sync
After the initial sync is complete, the network usage will decrease and then level out.
NOTE
Network usage varies depending on file types most frequently synced. When users change Office files, only the changes are
uploaded or downloaded and not the whole file. For other types of files, the whole file is uploaded or downloaded. You
should expect traffic to be higher during regular work hours when users are online and working on files.
A spike in upload traffic is expected if you deploy the Known Folder Move setting in your organization. If your
organization is large and your users have a lot of files in their known folders, make sure you roll out the Group
Policy objects slowly to minimize the network impact of uploading files.
See also
Network planning and performance tuning for Office 365
The OneDrive sync client update process
6/7/2019 • 4 minutes to read • Edit Online
This article is for IT admins who manage the new OneDrive sync client in an enterprise environment. It explains
how we release updates to the Windows sync client and the standalone Mac sync client through rings of
validation, and how the sync client (OneDrive.exe) checks for updates.
NOTE
If you allow your users to sync personal OneDrive accounts, the update process described in this article and any settings
you select apply to all instances of the sync client.
The sync client installed from the Mac App Store follows a separate update process. After we finish rolling out updates
within the Production ring, we publish them to the Mac App Store, where they're immediately released to everyone.
The Enterprise ring provides builds that have been monitored throughout the Production rollout, so fewer
releases are suspended. The Enterprise ring also lets you as an admin:
Control when you deploy updates (within 60 days of their release).
Deploy new versions from an internal network location to avoid using Internet bandwidth. (If you don't
deploy an update after 60 days, it will be automatically downloaded and installed.)
However, as the slowest ring, the Enterprise ring receives performance improvements, reliability fixes, and new
features last.
NOTE
Microsoft reserves the right to bypass the 60-day grace period for critical updates.
To learn how to set the Enterprise ring for the Windows sync client using Group Policy, see Set the sync client
update ring. To learn how to set it for the Mac sync client, see Configure the new OneDrive sync client on macOS.
For info about the Office 365 update process, see Overview of update channels for Office 365 ProPlus. For info
about the Windows 10 update process, see Build deployment rings for Windows 10 updates.
How the sync client checks for and applies updates
The OneDrive sync client checks for available updates every 24 hours when it's running. If it has stopped and
hasn't checked for updates in more than 24 hours, the sync client will check for updates as soon as it's started.
Windows 10 also has a scheduled task that updates the sync client even when it's not running.
To determine if an update is available, the OneDrive sync client checks if:
The latest version released to the update ring is higher than what's installed on the computer. If the
installed version is too old to be updated to the current version, the sync client will first be updated to the
minimum version within the ring.
The update is available to the computer based on the rollout percentage we set within the ring.
If both of these are true, OneDrive downloads the update to a hidden folder without any user interaction. After
the download is complete, OneDrive verifies and installs it. If OneDrive is running, it's stopped and then restarted.
Users don't need to sign in again, and they don't need administrative rights to install the update.
For info about the latest releases, see New OneDrive sync client release notes.
NOTE
To apply sync client updates, computers in your organization must be able to reach the following: "oneclient.sfx.ms" and
"g.live.com." Make sure you don't block these URLs. They are also used to enable and disable features and apply bug fixes.
More info about the URLs and IP address ranges used in Office 365.
Where pathToExecutable is a location on the local computer or an accessible network share and
OneDriveSetup.exe is the target version downloaded from the release notes page. Running this command
restarts OneDrive.exe on all computers. If you don't want to restart the sync client, remove the /restart parameter.
See Deploy using SCCM for tips on how to set up the SCCM deployment package.
To deploy an updated version of the sync client for Mac, deploy the OneDrive.pkg with the target version by using
your MDM solution.
Block syncing of specific file types
6/7/2019 • 2 minutes to read • Edit Online
You can prevent users from uploading specific file types when they sync their OneDrive for Business files.
NOTE
This setting prevents file types from being uploaded but not downloaded. If users already have blocked file types in their
OneDrive, the files will sync to their computer, but any changes they make on their computer won't be uploaded.
IMPORTANT
Do not include the periods with the extensions, or any other punctuation, spaces, or special characters.
Starting in October 2017, we're changing how the previous OneDrive for Business sync client installs for enterprise
customers using Office 365 ProPlus or Office 2016 with Click-to-Run.
The previous OneDrive for Business sync client (Groove.exe) will no longer be installed by default with
Office 2016 Click-to-Run. If your organization provides an Office deployment configuration file to
Setup.exe, you'll need to update your file to exclude Groove from the install.
When not in use or running, the previous OneDrive for Business sync client (Groove.exe) will be uninstalled,
unless: (a) Groove is already configured to sync one or more SharePoint Online or SharePoint Server
libraries or (b) a "PreventUninstall" registry key is present on the computer.
These changes won't affect Office 365 customers who are already using the new OneDrive sync client
(OneDrive.exe) to sync OneDrive and SharePoint Online files. Neither will these changes affect enterprises who
have deployed Office with the traditional Windows Installer-based (MSI) method.
NOTE
The new OneDrive sync client (OneDrive.exe) is the recommended option for Office 365 customers. However, the previous
OneDrive for Business sync client (Groove.exe) is still fully supported and is used for on-premises instances of OneDrive for
Business or SharePoint Server (when your organization doesn't subscribe to an Office 365 Business plan). Which version of
OneDrive am I using?
For more information about configuration options, see Configuration options for the Office 2016 Deployment
Tool.
To override the default behavior and make sure the previous OneDrive for Business sync client installs and stays
installed, you'll need to provide a config file that doesn't exclude Groove.exe. Also, you'll need to set the
"PreventUninstall" registry key on all computers where you need Groove.exe installed, so that the process doesn't
uninstall Groove.exe.
Office 2016 Click-to-Run - Office Sept. 2017 - Version 1710 (Build Sept. 2017 - Version 1710 (Build
Insider channel 8530.1000) 8530.1000)
Office 2016 Click-to-Run - Monthly Oct. 2017 - Version 1709 (Build Oct. 2017 - Version 1709 (Build
channel 8528.2139) 8528.2139)
Office 2016 Click-to-Run - Semi-annual Sept. 2018 - Version 1808 (Build Sept. 2018 - Version 1808 (Build
channel (Targeted) 10730.20102) 10730.20102)
Office 2016 Click-to-Run - Semi-annual Jan. 2019 - Version 1808 (Build Jan. 2019 - Version 1808 (Build
channel 10730.20264) 10730.20264)
For more information about Office channels, see Overview of update channels for Office 365 ProPlus.
Unless you need Groove.exe for some of your scenarios (for example, syncing on-premises SharePoint files), we
strongly recommend leaving the new defaults in place and excluding Groove.exe from Office 2016 installations.
Related Topics
Learn more about the Sync button update on SharePoint sites
Prevent users from installing the OneDrive sync client
6/7/2019 • 2 minutes to read • Edit Online
The Sync button helps users install and set up the new OneDrive sync client. If you want to manage the rollout of
the sync client to your organization, you can hide the Sync button on the OneDrive website to prevent your users
from downloading the sync client themselves.
To prevent users from downloading the OneDrive sync client
1. Open the OneDrive admin center, and click Sync in the left pane.
2. Clear the Show the Sync button on the OneDrive website check box.
3. Click Save.
See also
Use Group Policy to control OneDrive sync client settings
Manage sharing in OneDrive and SharePoint
7/17/2019 • 6 minutes to read • Edit Online
As a global admin or SharePoint admin in Office 365, you can use the OneDrive admin center to control how
sharing works at the organization level in OneDrive and SharePoint Online. Because each OneDrive is a site
(previously called "site collection") within SharePoint, your organization's SharePoint settings and OneDrive
settings are related.
To learn how to change the external sharing setting of an individual user's OneDrive, see Change the external
sharing setting for a user's OneDrive. For info about how to share a file or folder in OneDrive, see Share OneDrive
files and folders.
NOTE
Some sharing settings exist in multiple admin centers. When you change them in one place, the other admin centers will
reflect the change. If you have multiple admins in your organization, make sure you communicate the changes you're
making. In the Microsoft 365 admin center, under Settings > Services & add-ins > Sites, the External sharing setting is the
same as the SharePoint external sharing setting in the OneDrive admin center. The Sharing page in the OneDrive admin
center and the in the classic SharePoint admin center control the same settings.
IMPORTANT
The following setting applies to both SharePoint and OneDrive. It syncs with the setting in the SharePoint admin
center. For more info about this setting in the SharePoint admin center, see Change the default link type when users
get links for sharing.
Shareable links (accessible by anyone with the link). This option is only available if your external sharing
setting for SharePoint is set to Anyone. If the external sharing setting for OneDrive or a specific site isn't set
to "Anyone," the default link type for OneDrive or the site will be "Internal."
Internal links (accessible only by users within your organization, can be shared internally). If you allow
external sharing, users will have to switch the link type every time they share externally.
Direct links (accessible only by the people specified when the user creates the link). Select this type if most
of the time users will share with guests (who will need to authenticate) or with a small group of individuals
in your organization.
3. Click Save.
Advanced settings for shareable links
Links must expire within this number of days This value sets the expiration time for links. Entering a
value of 0 will set it so that links do not expire.
Files and Folders
View Using this setting will make it so that the shared files or folders can only be viewed or accessed.
Think of this as a "read only" option.
View, edit, and upload Using this setting will make it so that the shared files or folders can be
edited by anyone who has the link.
Let users create links that don't Anyone Users can create links that can be
require sign-in (previously referred to freely shared. They can also select to
as "anonymous access links") require sign-in when they share
items.
Require external users to prove who New and existing external users Users can send invitations to anyone
they are by entering a verification (unless you choose to restrict
code or by signing in with a domains). Invitations to access files
Microsoft account or a work or can be redeemed only once. After
school account before they can they've been redeemed, they can't be
access shared files. used by others to gain access. New
external users will be added to Azure
Active Directory when they sign in to
view the shared item.
Allow sharing only for external users Existing external users Users can send sharing invitations to
who are already in Azure Active any external user who has been
Directory. added to Azure Active Directory.
Invitations to access files can be
redeemed only once. After they've
been redeemed, they can't be used
by others to gain access.
Turn off external sharing. Only people in your organization External sharing is not allowed.
NOTE
If you turn off external sharing for SharePoint, you can still change the advanced settings for external sharing in the
next step. Your changes won't take effect until you turn on external sharing.
IMPORTANT
These settings apply to both SharePoint and OneDrive. The settings you change in the OneDrive admin center sync
with your settings in the SharePoint admin center.
Allow or block sharing with people on specific domains. You specify a list of allowed or blocked
domains. Note that if you allow shareable links (which don't require sign-in), users who share items with
these links can share with anyone, including people who have accounts on restricted domains. This setting is
the same as the setting on the sharing page in the SharePoint admin center. For more info, see Restricted
domains sharing in SharePoint Online and OneDrive for Business
External users must accept sharing invitations using the same account that the invitations were
sent to. This lets you control the accounts external users use to access shared items.
Let external users share items they don't own. This setting is selected by default.
4. Click Save.
Other settings
1. Open the OneDrive admin center, and select Sharing in the left pane.
2. Under Other settings, select or clear Display to owners the names of people who viewed their files.
This setting lets you control whether the owner of a shared file can see the people who only view (and don't
edit) the file in OneDrive file access statistics. File access statistics appear on a card when users hover over a
file name or thumbnail in OneDrive. The statistics include the number of views on the file, the number of
people who viewed it, and the list of people who viewed it.
NOTE
This setting is selected by default. If you clear it, file viewer info is still recorded and available to you to audit as an
admin. OneDrive owners will also still be able to see people who viewed their shared Office files by opening the files
from Office.com or from the Office desktop apps.
3. Click Save.
Change the external sharing setting for a user's
OneDrive
6/7/2019 • 2 minutes to read • Edit Online
After you set the organization-wide sharing settings for SharePoint and OneDrive, you can further restrict the
external sharing for a specific OneDrive user.
NOTE
Instead of changing the external sharing setting for an individual user's OneDrive, you might want to block external sharing
of sensitive information for all users. To learn how, see Overview of data loss prevention policies.
1. Sign in to https://admin.microsoft.com as a global or SharePoint admin. (If you see a message that you
don't have permission to access the page, you don't have Office 365 administrator permissions in your
organization.)
NOTE
If you have Office 365 Germany, sign in at https://portal.office.de. If you have Office 365 operated by 21Vianet
(China), sign in at https://login.partner.microsoftonline.cn/. Then select the Admin tile to open the admin center.
NOTE
You can also change the external sharing setting for a specific OneDrive user by using Microsoft PowerShell and running the
cmdlet Set-SPOSite with the parameter -SharingCapability. For more info, see Set-SPOSite.
Turn on external sharing notifications for OneDrive
6/7/2019 • 2 minutes to read • Edit Online
To help your OneDrive users monitor and control which external users have access to their files, make sure
external sharing notifications are turned on. File and folder owners will be emailed when:
Another user invites external users to shared files
An external user accepts an invitation to access their files
If external sharing is enabled in your organization, these notifications are enabled by default.
NOTE
Office 365 admins can use Search the audit log in the Office 365 Security & Compliance Center to monitor content that is
shared externally.
2. Under Email OneDrive owners when, make sure the following check boxes are selected:
Other users invite additional users to shared files
External users accept invitations to access files
NOTE
This setting no longer works for the new sharing experience that appears in most places. This setting will be
removed.
Allow syncing only on computers joined to specific
domains
6/7/2019 • 2 minutes to read • Edit Online
To make sure that users sync OneDrive files only on managed computers, you can configure OneDrive to sync
only on PCs that are joined to specific domains.
To allow syncing only on PCs joined to specific domains
1. Open the OneDrive admin center and select Sync in the left pane.
2. Select the Allow syncing only on PCs joined to specific domains check box.
3. Click Add domains.
4. Add the GUID of each domain for the member computers that you want to be able to sync.
NOTE
Make sure to add the domain GUID of the computer domain membership. If users are in a separate domain, only the
domain GUID that the computer account is joined to is required.
IMPORTANT
This setting is only applicable to Active Directory domains. It does not apply to Azure AD domains. If you have devices which
are only Azure AD joined, consider using a Conditional Access Policy instead.
5. If you want to prevent Mac OS users from syncing entirely, select the Block sync on Mac OS check box.
6. Click Save on the Sync page.
For info about setting this sync client restriction by using PowerShell, see Set-SPOTenantSyncClientRestriction
Control access based on network location or app
6/7/2019 • 2 minutes to read • Edit Online
To prevent users from accessing OneDrive and SharePoint content on devices outside of specific domains, and to
prevent them from accessing files in apps that don't check for device status, use the Device access page of the
OneDrive admin center. Note that the first two settings on this page are also on the "Access control" page in the
new SharePoint admin center.
IMPORTANT
Make sure you include your own IP address so you don't lock yourself out. This setting not only restricts access to
OneDrive and SharePoint sites, but also to the OneDrive and SharePoint admin centers, and to running PowerShell
cmdlets. If you lock yourself out and can't connect from an IP address within a range you specified, you will need to
contact Support for help.
See also
Manage OneDrive for Business mobile access
Control access to features in the OneDrive and
SharePoint mobile apps
6/7/2019 • 2 minutes to read • Edit Online
If your organization has Microsoft Intune or Enterprise Mobility + Security, you can use the OneDrive admin
center to create a global policy that manages the OneDrive and SharePoint mobile apps for Android and iOS. This
policy only applies to users in your organization who are licensed for Microsoft Intune or Enterprise Mobility +
Security.
NOTE
Your admin account needs to have an Intune license assigned to it for you to change the mobile application management
settings in the OneDrive admin center.
See also
Intune Documentation
Configure and deploy mobile application management policies in the Microsoft Intune console
Control access based on network location or app
Enable conditional access support in the OneDrive
sync client for Windows
7/15/2019 • 2 minutes to read • Edit Online
Conditional access control capabilities in Azure Active Directory offer simple ways for you to secure resources in
the cloud. The new OneDrive sync client works with the conditional access control policies to ensure syncing is only
done with compliant devices. For example, you might require sync to be available only on domain-joined devices or
devices that meet compliance as defined by the Mobile Device Management system (like Intune).
For information about how conditional access works, see:
Azure Active Directory conditional access
Require managed devices for cloud app access with conditional access
Configure hybrid Azure Active Directory join for managed domains
Getting started
Use the following steps on each computer.
To enable conditional access support on the OneDrive sync client
1. Download and install the OneDrive sync client.
2. Download and open EnableCAPreview.reg to enable the conditional access feature.
3. Restart the sync client.
If you want to disable this feature, you can delete the registry key by running DisableCAPreview.reg. You need to
restart the sync client for the change to take effect.
Known issues
The following are known issues with this release:
If you create a new access policy after the device has authenticated, it may take up to twenty-four hours for
the policy to take effect.
In some cases, the user may be prompted for credentials twice. We are working on a fix for this issue.
Certain ADFS configurations may require additional setup to work with this release. Please run the
following command on your ADFS server to ensure FormsAuthentication is added to the list of
PrimaryIntranetAuthenticationProvider:
Set-AdfsGlobalAuthenticationPolicy -PrimaryIntranetAuthenticationProvider @('WindowsAuthentication',
'FormsAuthentication')
If you enable location-based conditional access, users will get a prompt about every 90 to 120 minutes by
default when they leave the set of approved IP address ranges. The exact timing depends on the access
token expiry duration (60 minutes by default), when their computer last obtained a new access token, and
any specific conditional access timeouts put in place.
Reporting problems
Please let us know if you run into any problems while using this release.
To report a problem
1. Right-click the blue OneDrive cloud icon in the Windows taskbar notification area.
2. Click Get help.
3. Type a brief description of your issue, and then click Submit.
See also
Deploy the new OneDrive sync client
Sync files with the new OneDrive sync client in Windows
Required URLs and ports for OneDrive
6/7/2019 • 2 minutes to read • Edit Online
This reference article lists every endpoints used by the consumer version of OneDrive. If your organization restricts
computers on your network from connecting to the Internet, this article lists the Fully Qualified Domain Names
(FQDNs) and ports that you should include in your outbound allow lists to ensure your computers can successfully
use the consumer version of OneDrive.
IMPORTANT
Filtering internet traffic requires advanced networking knowledge and isn't suitable for all customers.
If you are looking for a listing of endpoints used by OneDrive for Business in Office 365, see Office 365
URLs and IP address ranges.
By default, the first time that a user browses to their OneDrive it's automatically provisioned for them. In some
cases, such as the following, you might want your users' OneDrive locations to be ready beforehand, or pre-
provisioned:
Your organization has a custom process for adding new employees, and you want to create a OneDrive
when you add a new employee.
Your organization plans to migrate from SharePoint Server on-premises to Office 365.
Your organization plans to migrate from another online storage service.
This article describes how to pre-provision OneDrive for your users by using PowerShell.
user1@contoso.com
user2@contoso.com
user3@contoso.com
NOTE
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and
uninstall “SharePoint Online Management Shell.”
On the Download Center page, select your language and then click the Download button. You’ll be asked to choose
between downloading a x64 and x86 .msi file. Download the x64 file if you’re running the 64-bit version of Windows
or the x86 file if you’re running the 32-bit version. If you don’t know, see
https://support.microsoft.com/help/13443/windows-which-operating-system. After the file downloads, run it and
follow the steps in the Setup Wizard.
3. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see
Getting started with SharePoint Online Management Shell.
4. Run the PowerShell command Request-SPOPersonalSite, consuming the text file you previously created in
Step 1.
To verify that OneDrive has been created for your users, see Get a list of all user OneDrive URLs in your
organization.
NOTE
If you are pre-provisioning OneDrive for many users, it might take up to 24 hours for the OneDrive locations to be created. If
a user's OneDrive isn't ready after 24 hours, please contact Support.
See also
Plan hybrid OneDrive for Business
Set the default storage space for OneDrive users
6/21/2019 • 2 minutes to read • Edit Online
For most subscription plans, the default storage space for each user's OneDrive is 1 TB. Depending on your plan
and the number of licensed users (see the OneDrive for Business service description for info), you can increase the
storage up to 5 TB.
NOTE
For help finding out which subscription you have, see What Office 365 for business subscription do I have?
If your organization has a qualifying Office 365 plan and 5 or more users, you can change the storage space to more than 5
TB. Contact Microsoft support to discuss your needs. You must assign at least one license to a user before you can increase
the default OneDrive storage space.
The new storage limit is applied the next time a user accesses their OneDrive.
Set the default OneDrive storage space in the OneDrive admin center
This storage space setting applies to all new and existing users who are licensed for a qualifying plan and for
whom you haven't set specific storage limits. (To check if a user has a specific storage limit, see the next section.) To
change the storage space for specific users, you need to use Microsoft PowerShell. For info on how to do this, see
Change your users' OneDrive storage space using PowerShell.
WARNING
If you decrease the storage limit and a user is over the new limit, their OneDrive will become read-only.
1. Open the OneDrive admin center and click Storage in the left pane.
2. Enter the default storage amount (in GB ) in the Default storage box, and then click Save.
NOTE
The minimum storage is 1 GB.
Check if a user has the default storage limit or a specific limit
1. Sign in to https://admin.microsoft.com as a global or SharePoint admin. (If you see a message that you
don't have permission to access the page, you don't have Office 365 administrator permissions in your
organization.)
NOTE
If you have Office 365 Germany, sign in at https://portal.office.de. If you have Office 365 operated by 21Vianet
(China), sign in at https://login.partner.microsoftonline.cn/. Then select the Admin tile to open the admin center.
Where <quota> is the value in megabytes for the storage space. For example, 1048576 for 1 TB or
5242880 for 5 TB. You can specify any value that you want, however, if you specify a value greater than that
allowed by a given user's license, that user's storage space will be rounded down to the maximum value
allowed by their license.
To reset an existing user's OneDrive to the new default storage space, run the following command:
NOTE
When you set site storage limits in PowerShell, you enter them in MB. The values are converted and rounded down
to the nearest integer to appear in the admin centers in GB, so a value of 5000 MB becomes 4 GB. If you set a value
of less than 1024 MB using PowerShell, it will be rounded up to 1 GB.
See also
More info about using Set-SPOTenant
Change a specific user's OneDrive storage space
6/7/2019 • 2 minutes to read • Edit Online
As a global or SharePoint admin in Office 365, you can set the OneDrive storage space for a specific user by using
Microsoft PowerShell.
NOTE
For info about setting the default storage space, see Set the default storage space for OneDrive users. For info about the
storage available for your Office 365 plan, see the OneDrive for Business service description.
NOTE
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and
uninstall “SharePoint Online Management Shell.”
On the Download Center page, select your language and then click the Download button. You’ll be asked to choose
between downloading a x64 and x86 .msi file. Download the x64 file if you’re running the 64-bit version of Windows
or the x86 file if you’re running the 32-bit version. If you don’t know, see
https://support.microsoft.com/help/13443/windows-which-operating-system. After the file downloads, run it and
follow the steps in the Setup Wizard.
2. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see
Getting started with SharePoint Online Management Shell.
3. Run the following command:
(Where <user's OneDrive URL> is the URL of the user's OneDrive and <quota> is the value in megabytes
for the storage space.
A user’s OneDrive URL is based on their username. For example,
https://microsoft-my.sharepoint.com/personal/user1_contoso_com. You can find their username on the
Active users (or Deleted users) page in the Microsoft 365 admin center.
For storage space, you would enter 1048576 for 1 TB or 5242880 for 5 TB. 1024 MB (1 GB ) is the
minimum. If you enter a lower value, it will be rounded up. If you specify a value greater than that allowed
by a user's license, the value will be rounded down to the maximum value allowed by their license.
NOTE
If you want to change the storage space for multiple users, you can use PowerShell to Display a list of OneDrive
accounts by using PowerShell. To disable OneDrive creation for specific users, see Manage user profiles in the
SharePoint admin center.
Set the OneDrive retention for deleted users
6/7/2019 • 2 minutes to read • Edit Online
If a user's Office 365 account is deleted, their OneDrive for Business files are preserved for a period of time that
you can specify.
To set the retention time for OneDrive accounts
1. Open the OneDrive admin center, and select Storage in the left pane.
2. Enter the number of days you want to retain OneDrive files in the Days to retain files in OneDrive after
a user account is marked for deletion box.
The setting takes effect for the next user that is deleted. The count begins as soon as the user account is
deleted in the Microsoft 365 admin center, even though the deletion process takes time. The minimum
value is 30 days and the maximum value is 3650 days (ten years).
3. Click Save.
See also
Delete a user from your organization
Set up OneDrive to alert managers and delegate access automatically when users leave your organization
Overview of retention policies
Restore a deleted OneDrive
6/7/2019 • 2 minutes to read • Edit Online
When you delete a user in the Microsoft 365 admin center (or when a user is removed through Active Directory
synchronization), the user's OneDrive will be retained for the number of days you specify in the OneDrive admin
center. (For info, see Set the default file retention for deleted OneDrive users.) The default is 30 days. During this
time, shared content can still be accessed by other users. At the end of the time, the OneDrive will be in a deleted
state for 93 days and can only be restored by a global or SharePoint admin.
NOTE
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and
uninstall “SharePoint Online Management Shell.”
On the Download Center page, select your language and then click the Download button. You’ll be asked to choose
between downloading a x64 and x86 .msi file. Download the x64 file if you’re running the 64-bit version of Windows
or the x86 file if you’re running the 32-bit version. If you don’t know, see
https://support.microsoft.com/help/13443/windows-which-operating-system. After the file downloads, run it and
follow the steps in the Setup Wizard.
2. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see
Getting started with SharePoint Online Management Shell.
3. Determine if the OneDrive is available for restore
If you know the URL of the OneDrive, run the following command:
If you don't know the URL of the deleted OneDrive, run the following command:
For more info about these cmdlets, see Get-SPODeletedSite and Restore-SPODeletedSite.
Cau t i on
When you permanently delete a OneDrive, you will not be able to restore it.
See also
OneDrive retention and deletion
OneDrive retention and deletion
6/7/2019 • 4 minutes to read • Edit Online
This article describes what happens to a user's OneDrive when you delete the user's Office 365 account for your
organization.
NOTE
If you have Office 365 Germany, sign in at https://portal.office.de. If you have Office 365 operated by 21Vianet
(China), sign in at https://login.partner.microsoftonline.cn/. Then select the Admin tile to open the admin center.
2. In the left pane, under Admin centers, select SharePoint. (You might need to select Show all to see the
list of admin centers.) If this opens the new SharePoint admin center, select Classic SharePoint admin
center in the left pane.
3. Select user profiles in the left pane.
4. Under My Site Settings, select Setup My Sites.
5. Next to My Site Cleanup, make sure Enable access delegation is selected.
6. We recommend that you also specify a secondary owner account in the My Site Cleanup section. This
account will be the appointed owner of the OneDrive if the user's manager isn't set in Azure AD. Email
notifications will also be sent to the secondary owner account when the value is populated.
7. Select OK.
If a manager or secondary owner isn't set for the user, or if access delegation is disabled, OneDrive will follow the
deletion process described in the next section. However, email messages won't be sent automatically.
NOTE
The Recycle Bin is not indexed and therefore searches do not find content there. This means that an eDiscovery hold
can't locate any content in the Recycle Bin in order to hold it.
NOTE
Retention policies always take precedence to the standard OneDrive deletion process, so content included in a policy could
be deleted before 30 days or retained for longer than the OneDrive retention. For more info, see Overview of retention
policies. Likewise, if a OneDrive is put on hold as part of an eDiscovery case, managers and secondary owners will be sent
email about the pending deletion, but the OneDrive won't be deleted until the hold is removed. The retention period for
cleanup of OneDrive begins when a user account is deleted from Azure Active Directory. No other action will cause the
cleanup process to occur including disablement of a user account or removal of a user's license. For more information, see
Remove licenses from users in Office 365 for business.
Get a list of all user OneDrive URLs in your
organization
6/7/2019 • 2 minutes to read • Edit Online
NOTE
If you have Office 365 Germany, sign in at https://portal.office.de. If you have Office 365 operated by 21Vianet
(China), sign in at https://login.partner.microsoftonline.cn/. Then select the Admin tile to open the admin center.
2. In the left pane, select Reports > Usage. (You might need to select Show all to see the Reports option.)
3. Select the OneDrive files tile, or select Select a report > OneDrive usage.
NOTE
If you see GUIDs in the report instead of URLs and names, in the left pane, select Settings > Services & add-ins,
and then select Reports. Clear the box Display anonymous identifiers instead of names in all reports.
NOTE
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and
uninstall “SharePoint Online Management Shell.”
On the Download Center page, select your language and then click the Download button. You’ll be asked to choose
between downloading a x64 and x86 .msi file. Download the x64 file if you’re running the 64-bit version of Windows
or the x86 file if you’re running the 32-bit version. If you don’t know, see
https://support.microsoft.com/help/13443/windows-which-operating-system. After the file downloads, run it and
follow the steps in the Setup Wizard.
2. Save the following text to a PowerShell file. For example, you could save it to a file named
OneDriveSites.ps1.
$TenantUrl = Read-Host "Enter the SharePoint Online Tenant Admin Url"
$LogFile = [Environment]::GetFolderPath("Desktop") + "\OneDriveSites.log"
Connect-SPOService -Url $TenantUrl
Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '-my.sharepoint.com/personal/"
|select Url | Out-File $LogFile -Force
Write-Host "Done! File saved as $($LogFile)."
3. Open the SharePoint Online Management Shell. Navigate to the directory where the script has been saved
and run:
PS C:\>.\OneDriveSites.ps1
NOTE
If you get an error message about being unable to run scripts, you might need to change your execution policies. For
info, see About Execution Policies.
4. The script will prompt you for the SharePoint Online tenant admin Url. For example, "https://contoso-
admin.sharepoint.com" is the Contoso SharePoint Online tenant admin Url.
5. You will then be prompted to log into the tenant. Use a SharePoint Online Administrator or Global
Administrator account.
After the script successfully completes, a text file is created in the location specified by the $LogFile variable in the
script. This file contains a list of all OneDrive Urls in your organization. The following text provides an example of
how the list of Urls in this file should be formatted.
Url
---
https://contoso-my.sharepoint.com/personal/annb_contoso_onmicrosoft_com/
https://contoso-my.sharepoint.com/personal/carolt_contoso_onmicrosoft_com/
https://contoso-my.sharepoint.com/personal/esterv_contoso_onmicrosoft_com/
https://contoso-my.sharepoint.com/personal/hollyh_contoso_onmicrosoft_com/
More information
Once you have the URL for a user's OneDrive, you can get more info about it by using the Get-SPOSite cmdlet,
and change settings by using the Set-SPOSite cmdlet.
Help users use the Discover view in OneDrive
6/7/2019 • 6 minutes to read • Edit Online
This article is for IT administrators. If you're not an IT admin, see Are my documents safe in the Discover view in
OneDrive for Business? for info about using the Discover view.
The more your users use OneDrive for Business in Office 365 to work together, by viewing, editing and sharing
each other's documents, the more useful the Discover view in OneDrive for Business will be for everyone. Learn
more about how you as an admin can help users get the most out of the Discover view.
The Discover view is powered by Office Delve, and both have a dependency on the Office Graph. It shows users
the most relevant content based on who they work with and what they're working on. The information in the
Discover view is tailored to each user. The Discover view doesn't change permissions and users will only see what
they already have access to.
As an admin, you can make sure that you allow your organization to access the Office Graph, and that you have set
up other Office 365 services that the Discover view uses, for instance SharePoint Online and Delve. You can also
help people get started with the Discover view, and address questions that users might have.
NOTE
For more information, see Office Delve for Office 365 admins.
Additional resources
End users
Are my documents safe in the Discover view in OneDrive for Business?
What is Office Delve?
How does Office Delve know what's relevant to me?
What is OneDrive for Business?
Should I save my documents to OneDrive for Business or a team site?
Upload a folder or files to a document library
Admins
Office Delve for Office 365 admins