From 6b3fecb947d7003a2b4285d18e5de6c0e2dbdf35 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 5 Dec 2022 19:47:05 +0100 Subject: [PATCH] =?UTF-8?q?Taskbar=20gr=C3=B6=C3=9Fe=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + install.ps1 | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 }