- #How to turn off microsoft onedrive login for windows 10
- #How to turn off microsoft onedrive login download
- #How to turn off microsoft onedrive login windows
Unlink all pre-existing Business instances in OneDrive.Ĭlear the registry of any previous successful Silent Business Config runs: reg delete HKCU\Software\Microsoft\OneDrive /v SilentBusinessConfigCompleted /f Verify SilentAccountConfig Instructions for SharePoint in Microsoft 365: You can do so by running the following command: reg delete HKCU\Software\Microsoft\OneDrive /v SilentBusinessConfigCompleted /f
#How to turn off microsoft onedrive login windows
If SilentAccountConfig has successfully completed on a computer you're going to use to build a Windows deployment image (for example, SysPrep), you need to ensure this registry key is removed before you prepare your image. This prevents SilentAccountConfig from reprovisioning the user in OneDrive.exe if the user manually stops syncing. SilentAccountConfig creates a SilentBusinessConfigCompleted registry entry once SilentAccountConfig has successfully provisioned the user in OneDrive.exe. New-ItemProperty -Path $DiskSizeregistryPath -Name $TenantGUID -Value '102400' -PropertyType DWORD -Force | Out-Null #Set max OneDrive threshold before prompting New-ItemProperty -Path $HKLMregistryPath -Name 'SilentAccountConfig' -Value '1' -PropertyType DWORD -Force | Out-Null #Enable silent account configuration $TenantGUID = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' $DiskSizeregistryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\DiskSpaceCheckThresholdMB'#Path to max disk size key Using a script: $HKLMregistryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'#Path to HKLM keys
#How to turn off microsoft onedrive login for windows 10
Be sure you have automatic enrollment set up for Windows 10 devices. If the computers on your network aren't 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 account configuration. For more information, make sure to check out the Azure AD federation compatibility list. Select third-party identity providers (IdPs) are supported, but there are caveats. Silent account configuration won't work on devices for users who require multi-factor authentication. For info about using Azure AD Connect, see Getting started with Azure AD Connect using express settings. If you federate your on-premises Active Directory with Azure AD, you must use AD FS to enable this feature. Devices must be running one of the following operating systems: 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. To learn how, see Join your work device to your organization's network. You can join devices running Windows 10 and Windows Server 2016 directly to Azure AD. See all our recommendations for configuring the sync app Prerequisitesīefore you can enable silent account configuration, you need to join your devices to Azure AD. We recommend enabling silent account configuration when you configure the sync app. When the user is configured in the sync app, if the same user account is syncing files with the previous OneDrive for Business sync app (Groove.exe), the new sync app (OneDrive.exe) will attempt to take over syncing those files.
#How to turn off microsoft onedrive login download
For info about setting this threshold using Group Policy, see Set the maximum size of a user's OneDrive that can download automatically. 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. That Windows account must be a Microsoft Azure Active Directory (Azure AD) account or be linked to an Azure AD account through a hybrid authentication configuration (see Prerequisites below).īefore OneDrive.exe begins syncing, it will check the available disk space. If you enable this feature, OneDrive.exe will attempt to silently (without user interaction) sign-in to the work or school user account that was used to sign into Windows (known as the Windows Primary Account). This feature works for computers that are joined to Azure Active Directory (Azure AD). This article is for IT admins who would like to silently configure user accounts when deploying the new OneDrive sync app (OneDrive.exe) to managed Windows computers in their enterprise.