很简单……只需要在需要使用OneDrive的客户端输入如下注册表就 可以了。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive]
"SharePointOnPremFrontDoorUrl"="https://sharepoint.contoso.local"
"SharePointOnPremPrioritization"=dword:00000001
"SharePointOnPremTenantName	"="Contoso"