File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,13 @@ Begin
208
208
if (! (Test-Path $0 )) { New-Item - Path $0 | Out-Null }
209
209
Set-ItemProperty $0 - Name ' NoDriveTypeAutoRun' - Type DWord - Value 255
210
210
211
- # unlock start menu customization. Some companies may set this to prevent stupid users
212
- # from rearranging the start menu icons.
213
211
$0 = ' HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer'
214
- if (Test-Path $0 ) { Set-ItemProperty $0 - Name ' LockedStartLayout' - Type DWord - Value 0 }
212
+ if (! (Test-Path $0 )) { New-Item - Path $0 | Out-Null }
213
+ # unlock start menu customization. Some companies set this to prevent stupid users
214
+ # from rearranging the start menu icons.
215
+ Set-ItemProperty $0 - Name ' LockedStartLayout' - Type DWord - Value 0
216
+ # hide Recently Added apps sections from Start menu
217
+ Set-ItemProperty $0 - Name ' HideRecentlyAddedApps' - Type DWord - Value 1
215
218
}
216
219
217
220
function EnablePhotoViewer
You can’t perform that action at this time.
0 commit comments