diff --git a/modules.d/GPO_OneDrive.conf b/modules.d/GPO_OneDrive.conf index 6410cfd..48b1fa9 100644 --- a/modules.d/GPO_OneDrive.conf +++ b/modules.d/GPO_OneDrive.conf @@ -67,6 +67,20 @@ "action" : "DelRegKey", "key" : "OneDriveSetup", "path" : "HKU:\\Default\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" + }, + { + "_comment" : "Hide Onedrive icon from explorer", + "action" : "AddRegKey", + "value" : "0", + "key" : "System.IsPinnedToNameSpaceTree", + "path" : "HKCR:\\Wow6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" + }, + { + "_comment" : "Hide Onedrive icon from explorer (2)", + "action" : "AddRegKey", + "value" : "0", + "key" : "System.IsPinnedToNameSpaceTree", + "path" : "HKCR:\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" } ] }