Add "DisableThumbnails"

This commit is contained in:
Disassembler
2017-09-09 08:12:47 +02:00
parent 303eaf737f
commit db90cefd5b
5 changed files with 17 additions and 0 deletions

View File

@@ -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..."

View File

@@ -65,6 +65,7 @@ HideMusicFromThisPC
HidePicturesFromThisPC
HideVideosFromThisPC
SetVisualFXPerformance
DisableThumbnails
DisableThumbsDB
AddENKeyboard
EnableNumlock

View File

@@ -65,6 +65,7 @@ ShowMusicInThisPC
ShowPicturesInThisPC
ShowVideosInThisPC
SetVisualFXAppearance
EnableThumbnails
EnableThumbsDB
RemoveENKeyboard
DisableNumlock

View File

@@ -65,6 +65,7 @@ HideMusicFromThisPC
HidePicturesFromThisPC
HideVideosFromThisPC
SetVisualFXPerformance
DisableThumbnails
DisableThumbsDB
AddENKeyboard
EnableNumlock

View File

@@ -65,6 +65,7 @@ ShowMusicInThisPC
ShowPicturesInThisPC
ShowVideosInThisPC
SetVisualFXAppearance
EnableThumbnails
EnableThumbsDB
RemoveENKeyboard
DisableNumlock