mirror of
https://github.com/Disassembler0/Win10-Initial-Setup-Script.git
synced 2026-04-23 03:00:50 -04:00
Add "DisableThumbnails"
This commit is contained in:
13
Win10.ps1
13
Win10.ps1
@@ -75,6 +75,7 @@ $tweaks = @(
|
||||
"HidePicturesFromThisPC", # "ShowPicturesInThisPC",
|
||||
"HideVideosFromThisPC", # "ShowVideosInThisPC",
|
||||
"SetVisualFXPerformance", # "SetVisualFXAppearance",
|
||||
# "DisableThumbnails", # "EnableThumbnails",
|
||||
"DisableThumbsDB", # "EnableThumbsDB",
|
||||
# "AddENKeyboard", # "RemoveENKeyboard",
|
||||
# "EnableNumlock", # "DisableNumlock",
|
||||
@@ -1096,6 +1097,18 @@ Function SetVisualFXAppearance {
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\DWM" -Name "EnableAeroPeek" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Disable thumbnails, show only file extension icons
|
||||
Function DisableThumbnails {
|
||||
Write-Host "Disabling thumbnails..."
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "IconsOnly" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Enable thumbnails
|
||||
Function EnableThumbnails {
|
||||
Write-Host "Enabling thumbnails..."
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "IconsOnly" -Type DWord -Value 0
|
||||
}
|
||||
|
||||
# Disable creation of Thumbs.db thumbnail cache files
|
||||
Function DisableThumbsDB {
|
||||
Write-Host "Disabling creation of Thumbs.db..."
|
||||
|
||||
@@ -65,6 +65,7 @@ HideMusicFromThisPC
|
||||
HidePicturesFromThisPC
|
||||
HideVideosFromThisPC
|
||||
SetVisualFXPerformance
|
||||
DisableThumbnails
|
||||
DisableThumbsDB
|
||||
AddENKeyboard
|
||||
EnableNumlock
|
||||
|
||||
@@ -65,6 +65,7 @@ ShowMusicInThisPC
|
||||
ShowPicturesInThisPC
|
||||
ShowVideosInThisPC
|
||||
SetVisualFXAppearance
|
||||
EnableThumbnails
|
||||
EnableThumbsDB
|
||||
RemoveENKeyboard
|
||||
DisableNumlock
|
||||
|
||||
@@ -65,6 +65,7 @@ HideMusicFromThisPC
|
||||
HidePicturesFromThisPC
|
||||
HideVideosFromThisPC
|
||||
SetVisualFXPerformance
|
||||
DisableThumbnails
|
||||
DisableThumbsDB
|
||||
AddENKeyboard
|
||||
EnableNumlock
|
||||
|
||||
@@ -65,6 +65,7 @@ ShowMusicInThisPC
|
||||
ShowPicturesInThisPC
|
||||
ShowVideosInThisPC
|
||||
SetVisualFXAppearance
|
||||
EnableThumbnails
|
||||
EnableThumbsDB
|
||||
RemoveENKeyboard
|
||||
DisableNumlock
|
||||
|
||||
Reference in New Issue
Block a user