diff --git a/README.md b/README.md index 3777864..968cbd1 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Hier werden Windows Einstellungen modifiziert. - Vollständigen Pfad im Explorer anzeigen. - Erweitertest Kontextmenü im Explorer. - Optionale Installation eines Powershell CMDlets um Windows Updates zu installieren. +- Größe der Taskbar festlegen. ### Update System diff --git a/install.ps1 b/install.ps1 index 1dab5c9..d0d61b0 100644 --- a/install.ps1 +++ b/install.ps1 @@ -95,12 +95,15 @@ do { Read-Host "Computer muss neugestartet werden!" } } '4' { - $decision = $Host.UI.PromptForChoice('Explorer', 'Soll das Kontextmenü von Windows 10 wiederhergestellt werden?' , $choices, 1) + $decision = $Host.UI.PromptForChoice('Explorer', 'Sollen Explorer und Taskbar Settings eingerichtet werden?' , $choices, 1) if ($decision -eq 0) { New-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Value "" -Force Set-Itemproperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'Hidden' -value '00000001' Set-Itemproperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'HideFileExt' -value '00000000' Set-Itemproperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CabinetState' -Name 'FullPath' -value '00000001' + # Taskbar größe ändern + Remove-ItemProperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'TaskbarSi' + New-ItemProperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'TaskbarSi' -value '0000001' -PropertyType DWORD Write-Host "Starte Explorer neu um änderungen zu übernehmen" Get-Process explorer | Stop-Process }