From 9ca87b129cba8c36106949998ac2bcb72e7f4015 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Sat, 25 Apr 2026 18:46:36 +0200 Subject: [PATCH] Update HideOnedrive option to also work in Windows 11 (#559) --- Config/Features.json | 156 +++++++++++----------- Regfiles/Hide_Onedrive_Folder.reg | Bin 546 -> 1466 bytes Regfiles/Sysprep/Hide_Onedrive_Folder.reg | Bin 546 -> 1902 bytes Regfiles/Undo/Show_Onedrive_folder.reg | Bin 542 -> 1464 bytes 4 files changed, 78 insertions(+), 78 deletions(-) diff --git a/Config/Features.json b/Config/Features.json index 5db2739..75a86ff 100644 --- a/Config/Features.json +++ b/Config/Features.json @@ -1277,15 +1277,29 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "HideDupliDrive", + "Label": "duplicate removable drive entries", + "ToolTip": "By default, Windows shows removable drives both under 'This PC' and in the navigation pane with its own entry. Enable this setting to only show removable drives under 'This PC'.", + "Category": "File Explorer", + "Priority": 4, + "Action": "Hide", + "RegistryKey": "Hide_duplicate_removable_drives_from_navigation_pane_of_File_Explorer.reg", + "ApplyText": "Hiding duplicate removable drive entries from the File Explorer navigation pane...", + "UndoAction": "Show", + "RegistryUndoKey": "Show_duplicate_removable_drives_in_navigation_pane_of_File_Explorer.reg", + "MinVersion": null, + "MaxVersion": null + }, { "FeatureId": "HideHome", "Label": "'Home' from navigation pane", "ToolTip": "Hides the 'Home' section from the File Explorer navigation pane.", "Category": "File Explorer", - "Priority": 4, + "Priority": 5, "Action": "Hide", "RegistryKey": "Hide_Home_from_Explorer.reg", - "ApplyText": "Hiding the home section from the File Explorer navigation pane...", + "ApplyText": "Hiding the 'Home' section from the File Explorer navigation pane...", "UndoAction": "Show", "RegistryUndoKey": "Show_Home_in_Explorer.reg", "MinVersion": 22000, @@ -1296,40 +1310,12 @@ "Label": "'Gallery' from navigation pane", "ToolTip": "Hides the 'Gallery' section from the File Explorer navigation pane.", "Category": "File Explorer", - "Priority": 5, - "Action": "Hide", - "RegistryKey": "Hide_Gallery_from_Explorer.reg", - "ApplyText": "Hiding the gallery section from the File Explorer navigation pane...", - "UndoAction": "Show", - "RegistryUndoKey": "Show_Gallery_in_Explorer.reg", - "MinVersion": 22000, - "MaxVersion": null - }, - { - "FeatureId": "HideDupliDrive", - "Label": "duplicate removable drive entries", - "ToolTip": "By default, Windows shows removable drives both under 'This PC' and in the navigation pane with its own entry. Enable this setting to only show removable drives under 'This PC'.", - "Category": "File Explorer", "Priority": 6, "Action": "Hide", - "RegistryKey": "Hide_duplicate_removable_drives_from_navigation_pane_of_File_Explorer.reg", - "ApplyText": "Hiding duplicate removable drive entries from the File Explorer navigation pane...", + "RegistryKey": "Hide_Gallery_from_Explorer.reg", + "ApplyText": "Hiding the 'Gallery' section from the File Explorer navigation pane...", "UndoAction": "Show", - "RegistryUndoKey": "Show_duplicate_removable_drives_in_navigation_pane_of_File_Explorer.reg", - "MinVersion": null, - "MaxVersion": null - }, - { - "FeatureId": "AddFoldersToThisPC", - "Label": "common folders back to 'This PC' page", - "ToolTip": "This setting will add common folders like Desktop, Documents, Downloads, Music, Pictures and Videos back to the 'This PC' page in File Explorer.", - "Category": "File Explorer", - "Priority": 7, - "Action": "Add", - "RegistryKey": "Add_All_Folders_Under_This_PC.reg", - "ApplyText": "Adding all common folders (Desktop, Downloads, etc.) back to 'This PC' in File Explorer...", - "UndoAction": "Remove", - "RegistryUndoKey": "Remove_All_Folders_Under_This_PC.reg", + "RegistryUndoKey": "Show_Gallery_in_Explorer.reg", "MinVersion": 22000, "MaxVersion": null }, @@ -1411,12 +1397,68 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "HideOnedrive", + "Label": "'OneDrive' from navigation pane", + "ToolTip": "Hides the 'OneDrive' section from the File Explorer navigation pane.", + "Category": "File Explorer", + "Priority": 7, + "Action": "Hide", + "RegistryKey": "Hide_Onedrive_Folder.reg", + "ApplyText": "Hiding the 'OneDrive' section from the File Explorer navigation pane...", + "UndoAction": "Show", + "RegistryUndoKey": "Show_Onedrive_Folder.reg", + "MinVersion": null, + "MaxVersion": null + }, + { + "FeatureId": "Hide3dObjects", + "Label": "'3D objects' folder under 'This PC'", + "ToolTip": "Hides the '3D objects' folder from the File Explorer navigation pane.", + "Category": "File Explorer", + "Priority": 8, + "Action": "Hide", + "RegistryKey": "Hide_3D_Objects_Folder.reg", + "ApplyText": "Hiding the '3D objects' folder from the File Explorer navigation pane...", + "UndoAction": "Show", + "RegistryUndoKey": "Show_3D_Objects_Folder.reg", + "MinVersion": null, + "MaxVersion": 21999 + }, + { + "FeatureId": "HideMusic", + "Label": "'Music' folder under 'This PC'", + "ToolTip": "Hides the 'Music' folder from the File Explorer navigation pane.", + "Category": "File Explorer", + "Priority": 9, + "Action": "Hide", + "RegistryKey": "Hide_Music_Folder.reg", + "ApplyText": "Hiding the 'Music' folder from the File Explorer navigation pane...", + "UndoAction": "Show", + "RegistryUndoKey": "Show_Music_Folder.reg", + "MinVersion": null, + "MaxVersion": 21999 + }, + { + "FeatureId": "AddFoldersToThisPC", + "Label": "common folders back to 'This PC' page", + "ToolTip": "This setting will add common folders like Desktop, Documents, Downloads, Music, Pictures and Videos back to the 'This PC' page in File Explorer.", + "Category": "File Explorer", + "Priority": 10, + "Action": "Add", + "RegistryKey": "Add_All_Folders_Under_This_PC.reg", + "ApplyText": "Adding all common folders (Desktop, Downloads, etc.) back to 'This PC' in File Explorer...", + "UndoAction": "Remove", + "RegistryUndoKey": "Remove_All_Folders_Under_This_PC.reg", + "MinVersion": 22000, + "MaxVersion": null + }, { "FeatureId": "HideIncludeInLibrary", "Label": "'Include in library' option in the context menu", "ToolTip": "Hides the 'Include in library' option from the File Explorer context menu.", "Category": "File Explorer", - "Priority": 8, + "Priority": 11, "Action": "Hide", "RegistryKey": "Disable_Include_in_library_from_context_menu.reg", "ApplyText": "Hiding 'Include in library' in the context menu...", @@ -1430,7 +1472,7 @@ "Label": "'Give access to' option in the context menu", "ToolTip": "Hides the 'Give access to' option from the File Explorer context menu.", "Category": "File Explorer", - "Priority": 9, + "Priority": 12, "Action": "Hide", "RegistryKey": "Disable_Give_access_to_context_menu.reg", "ApplyText": "Hiding 'Give access to' in the context menu...", @@ -1444,7 +1486,7 @@ "Label": "'Share' option in the context menu", "ToolTip": "Hides the 'Share' option from the File Explorer context menu.", "Category": "File Explorer", - "Priority": 10, + "Priority": 13, "Action": "Hide", "RegistryKey": "Disable_Share_from_context_menu.reg", "ApplyText": "Hiding 'Share' in the context menu...", @@ -1453,48 +1495,6 @@ "MinVersion": null, "MaxVersion": 21999 }, - { - "FeatureId": "HideOnedrive", - "Label": "'OneDrive' folder from navigation pane", - "ToolTip": "Hides the 'OneDrive' folder from the File Explorer navigation pane.", - "Category": "File Explorer", - "Priority": 11, - "Action": "Hide", - "RegistryKey": "Hide_Onedrive_Folder.reg", - "ApplyText": "Hiding the OneDrive folder from the File Explorer navigation pane...", - "UndoAction": "Show", - "RegistryUndoKey": "Show_Onedrive_Folder.reg", - "MinVersion": null, - "MaxVersion": 21999 - }, - { - "FeatureId": "Hide3dObjects", - "Label": "'3D objects' folder under 'This PC'", - "ToolTip": "Hides the '3D objects' folder from the File Explorer navigation pane.", - "Category": "File Explorer", - "Priority": 12, - "Action": "Hide", - "RegistryKey": "Hide_3D_Objects_Folder.reg", - "ApplyText": "Hiding the 3D objects folder from the File Explorer navigation pane...", - "UndoAction": "Show", - "RegistryUndoKey": "Show_3D_Objects_Folder.reg", - "MinVersion": null, - "MaxVersion": 21999 - }, - { - "FeatureId": "HideMusic", - "Label": "'Music' folder under 'This PC'", - "ToolTip": "Hides the 'Music' folder from the File Explorer navigation pane.", - "Category": "File Explorer", - "Priority": 13, - "Action": "Hide", - "RegistryKey": "Hide_Music_Folder.reg", - "ApplyText": "Hiding the music folder from the File Explorer navigation pane...", - "UndoAction": "Show", - "RegistryUndoKey": "Show_Music_Folder.reg", - "MinVersion": null, - "MaxVersion": 21999 - }, { "FeatureId": "DisableBraveBloat", "Label": "bloat in Brave browser (AI, Crypto, etc.)", diff --git a/Regfiles/Hide_Onedrive_Folder.reg b/Regfiles/Hide_Onedrive_Folder.reg index d8e037ccec5a2939489968811f93e6e39649f5a6..c500982912a0156283daf0fc3ac65bf28c14b389 100644 GIT binary patch literal 1466 zcmb`HS#Q%o6ot<-692*SGev~%ARdZqL_{~GX)A_NSc5E zfkxIWcb#+2_}kYrl^Q5lrI8v%>Zs5=&KeC>Yr;v2wPaVZk93N?##*u;uwU0hJ!0I~ zJ@-B3>?PJ5zetDp6xt=C)U7-5Q3vX=FR9ccbI5hX&io@?Ppe(&hS-|30e%s?hIQ>K zy`j!4x_hm2B|4$=4!Z+&*`Mf`bw?R$yA`zJ1n>%hceJXb-P8U1s{sOBW_`qs z2kxdh-B$G6!&cz=iPaUWuIsf>tY;uOa%kjw;*d79!H* z$_#VkHKOMdR1Eo4W9)rb(UA6B^c|nJn~!evfRhoiLn=nj=b9Vb5N~W5S2p_^rlJPx zrK^-Lakz(C679gox%Qb8_-%tt>R3Fa$F9yeHKU8Dt2{qf?bI~)X%g>&vn7sC9Ff5F1i!p64zOLo>b@zq+-!~Rd zk?YdiczS2+>R0-o`A<-}=Ou=(z}hAE8FMdtS22GPQ$nzrBL0?>nSXfW0k?noCs=pi E0YDP#uK)l5 delta 127 zcmdnRy@+K(kZLr8E`tYyH-jrfBttxdGlLIM5Qa=)bFlI1f@B{Kv7*atdv4Bhg0F53M4FCWD diff --git a/Regfiles/Sysprep/Hide_Onedrive_Folder.reg b/Regfiles/Sysprep/Hide_Onedrive_Folder.reg index d8e037ccec5a2939489968811f93e6e39649f5a6..6a2caba6e4c90f216c9a8e919831b5eada632ae3 100644 GIT binary patch literal 1902 zcmc(f?N1Xy5XPU+CjJkX`z%5Q6g7Up>nTl(5UCPljTG(*7lk8zp)|&SUH#2&m$OGg z@GWL@x!u{BotfvEneX5BRp?BaN=-FVq}R%IjBKQ_hMFNsxh*)AoFl#Ee#mXX`Hb_r z?rVj0S9jd^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