@@ -36,7 +36,7 @@ actions:
3636    value : " NoResolveSearch" 
3737    data : " 1" 
3838    type : REG_DWORD 
39-    
39+ 
4040  #  Disallow Online Tips
4141  - !registryValue: 
4242    path : ' HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' 
@@ -58,6 +58,13 @@ actions:
5858    data : " 1" 
5959    type : REG_DWORD 
6060
61+   #  Show file extensions
62+   - !registryValue: 
63+     path : ' HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' 
64+     value : " HideFileExt" 
65+     data : " 0" 
66+     type : REG_DWORD 
67+ 
6168  #  Remove 'shortcut' text from shortcuts
6269  - !registryValue: 
6370    path : ' HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates' 
@@ -71,3 +78,116 @@ actions:
7178    value : " FolderType" 
7279    data : " NotSpecified" 
7380    type : REG_SZ 
81+ 
82+   #  Hide Folders from This PC
83+   - !run:  { 
84+       exe : " reg" , 
85+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
86+       option : " hidefoldersthispc" , 
87+       runas : " currentUserElevated" , 
88+     } 
89+   - !run:  { 
90+       exe : " reg" , 
91+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
92+       option : " hidefoldersthispc" , 
93+       runas : " currentUserElevated" , 
94+     } 
95+   - !run:  { 
96+       exe : " reg" , 
97+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
98+       option : " hidefoldersthispc" , 
99+       runas : " currentUserElevated" , 
100+     } 
101+   - !run:  { 
102+       exe : " reg" , 
103+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
104+       option : " hidefoldersthispc" , 
105+       runas : " currentUserElevated" , 
106+     } 
107+   - !run:  { 
108+       exe : " reg" , 
109+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
110+       option : " hidefoldersthispc" , 
111+       runas : " currentUserElevated" , 
112+     } 
113+   - !run:  { 
114+       exe : " reg" , 
115+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
116+       option : " hidefoldersthispc" , 
117+       runas : " currentUserElevated" , 
118+     } 
119+   - !run:  { 
120+       exe : " reg" , 
121+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
122+       option : " hidefoldersthispc" , 
123+       runas : " currentUserElevated" , 
124+     } 
125+   - !run:  { 
126+       exe : " reg" , 
127+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
128+       option : " hidefoldersthispc" , 
129+       runas : " currentUserElevated" , 
130+     } 
131+   - !run:  { 
132+       exe : " reg" , 
133+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
134+       option : " hidefoldersthispc" , 
135+       runas : " currentUserElevated" , 
136+     } 
137+   - !run:  { 
138+       exe : " reg" , 
139+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
140+       option : " hidefoldersthispc" , 
141+       runas : " currentUserElevated" , 
142+     } 
143+   - !run:  { 
144+       exe : " reg" , 
145+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
146+       option : " hidefoldersthispc" , 
147+       runas : " currentUserElevated" , 
148+     } 
149+   - !run:  { 
150+       exe : " reg" , 
151+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
152+       option : " hidefoldersthispc" , 
153+       runas : " currentUserElevated" , 
154+     } 
155+   - !run:  { 
156+       exe : " reg" , 
157+       args : ' add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
158+       option : " hidefoldersthispc" , 
159+       runas : " currentUserElevated" , 
160+     } 
161+   - !run:  { 
162+       exe : " reg" , 
163+       args : ' add HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag /v ThisPCPolicy /t REG_SZ /d "Hide" /f' , 
164+       option : " hidefoldersthispc" , 
165+       runas : " currentUserElevated" , 
166+     } 
167+ 
168+   #  Disable Windows Spotlight
169+   - !registryValue: 
170+     path : ' HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' 
171+     value : " DisableWindowsSpotlightFeatures" 
172+     data : " 1" 
173+     type : REG_DWORD 
174+   - !registryValue: 
175+     path : ' HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' 
176+     value : " DisableWindowsSpotlightWindowsWelcomeExperience" 
177+     data : " 1" 
178+     type : REG_DWORD 
179+   - !registryValue: 
180+     path : ' HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' 
181+     value : " DisableWindowsSpotlightOnActionCenter" 
182+     data : " 1" 
183+     type : REG_DWORD 
184+   - !registryValue: 
185+     path : ' HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' 
186+     value : " DisableWindowsSpotlightOnSettings" 
187+     data : " 1" 
188+     type : REG_DWORD 
189+   - !registryValue: 
190+     path : ' HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' 
191+     value : " DisableThirdPartySuggestions" 
192+     data : " 1" 
193+     type : REG_DWORD 
0 commit comments