This repository was archived by the owner on May 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ HideVideosFromThisPC # ShowVideosInThisPC
198
198
# HideVideosFromExplorer # ShowVideosInExplorer
199
199
Hide3DObjectsFromThisPC # Show3DObjectsInThisPC
200
200
# Hide3DObjectsFromExplorer # Show3DObjectsInExplorer
201
+ # HideNetworkFromExplorer # ShowNetworkInExplorer
201
202
# HideIncludeInLibraryMenu # ShowIncludeInLibraryMenu
202
203
# HideGiveAccessToMenu # ShowGiveAccessToMenu
203
204
# HideShareMenu # ShowShareMenu
Original file line number Diff line number Diff line change @@ -3013,6 +3013,18 @@ Function Show3DObjectsInExplorer {
3013
3013
Remove-ItemProperty - Path " HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" - Name " ThisPCPolicy" - ErrorAction SilentlyContinue
3014
3014
}
3015
3015
3016
+ # Hide Network icon from Explorer namespace - Hides the icon also from personal folders and open/save dialogs
3017
+ Function HideNetworkFromExplorer {
3018
+ Write-Output " Hiding Network icon from Explorer namespace..."
3019
+ Set-ItemProperty - Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum" - Name " {F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" - Type DWord - Value 1
3020
+ }
3021
+
3022
+ # Show Network icon in Explorer namespace
3023
+ Function ShowNetworkInExplorer {
3024
+ Write-Output " Showing Network icon in Explorer namespace..."
3025
+ Remove-ItemProperty - Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum" - Name " {F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" - ErrorAction SilentlyContinue
3026
+ }
3027
+
3016
3028
# Hide 'Include in library' context menu item
3017
3029
Function HideIncludeInLibraryMenu {
3018
3030
Write-Output " Hiding 'Include in library' context menu item..."
You can’t perform that action at this time.
0 commit comments