Remove/hide One Drive shortcut from File Explorer

Azim 56 Reputation points
2023-09-19T09:59:05.0033333+00:00

I have a mapped drive which redirects user's local folders to the mapped drive. I wish to hide the One Drive so users utilize the mapped drive instead of the OneDrive.

I've attempted to uninstall One Drive but the shortcut is still accessible through file explorer and setting the registry path "HKEY_CLASSES_ROOT\CLSID\ {Customer One Drive path} > *System.IsPinnedToNameSpaceTree*" to 0.

Changing the registry to the above path works for 1 user, I wish to apply to all the users accessing the server which I implement in Group policy management console > Computer configuration > Preferences > Registry. It does not apply through GPO.

Additional facts:

  1. Servers are hosted in a AVD (Azure Virtual Desktop) environment.
  2. Policies implemented are done through GPO (Group Policy object) only and are assigned to the respective OUs (Organizational Units).

Do share your inputs and question you may have!

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,823 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.