If you have previously logged into Office 365 accounts for different business or school tenants, they may remain even when you sign out of those accounts. This is how to remove old school or work OneDrive accounts from File Explorer in Windows.
Exit OneDrive by right clicking on the OneDrive system tray icon > Close OneDrive.
Open the Registry Editor by clicking the Windows + R button and enter regedit, OK.
Navigate to HKEY_CURRENT_USER > Software > Microsoft > OneDrive > Accounts > BusinessName.
There may be a number of Business or School accounts depending on how many you have logged into previously. Find the specific one by looking at the UserEmail value. After you found the correct one, delete the entire folder containing that key.
5. Navigate to HKEY_CLASSES_ROOT > CLSID. Inside the folder, search (CTRL + F) for keyword: OneDrive.
6. Find next until you find one that has the OneDrive – Company name as the Default value and looks something like the screenshot below:
Modify the System.IsPinnedToNameSpaceTree value to 0 > OK.
If the icon is still visible, restart your computer.
The Microsoft OneDrive Admin has now been removed from (https://admin.microsoft.com – All Admins Centers) as of 14th January 2022. All OneDrive administration can now be completed via the SharePoint Admin Center, which I believe is a very sensible move by Microsoft and just makes sense.
So you if need to complete any configuration visit your SharePoint Admin Center as shown below
OneDrive: Consolidation of OneDrive-SharePoint admin centers
All OneDrive admin capabilities, including controls for sharing, access, sync, and storage, will be available in the SharePoint admin center, consolidating admin tools in one place.
There is a registry key that decreases the delay for end-users to see their administratively assigned libraries via the OneDrive sync client.
The purpose of this Proactive Remediation profile is so that the reg key is set everytime a user reboots the client device. As this key is removed at reboot. Proactive Remediation is a solution that detects if this registry key exists and if not, create it, on a recurring schedule.
So lets get creating the Proactive Remediation profile
First of all, we need to create Configuration Profile within Microsoft Endpoint Manager, you’ll need to gather the SharePoint document library ID or ID), for all the locations you would like to publish to your Windows 10 Devices. In this blog I am going to publish the Blogabout Cloud Library to all my devices.
A window will now appear, (if you receive any prompts to open OneDrive ignore it), click Copy library ID, keep this handy.
Creating the Configuration Profile
In order to apply the configuration to your Windows 10 devices that are enrolled into Microsoft Endpoint Manager. Launch Microsoft Endpoint Manager go to Devices –> Configuration Profiles –> Create Profile
Select Windows 10 and Administrative Templates
Provide a Name for the profile and brief description as shown below
Under Computer Configuration and OneDrive, look for the setting Configure team site libraries to sync automatically
Click Enable Enter the name you would like to be displayed and the Library ID as shown below
I am now going to recommend a number of other Microsoft OneDrive settings
Silently sign in users to the OneDrive sync app with their Windows credentials
Silently move Windows known folders to OneDrive
Use OneDrive Files On-Demand
Require user to confirm large delete operations
Convert synced team site files to online-only files
That completes the Configuration Profile setup, deploy this to your test users before deploying to production.
In my next post I am going to be looking leverage Proactive Remediation to decrease the synchronization time of assigned libraries to the Windows 10 device. The Microsoft default is 8 hours before the assigned libraries are published.