(119) Microsoft Intune - Set Windows 11 Task Bar
- Mr B SOE way
- Apr 13, 2024
- 1 min read
Whenever you setup and install Windows 11 by default, it sits on the center of the taskbar.
To modify this with Intune, there are a number of way of doing it:
Manual Registry
PowerShell
Win32 App
Manual Registry:
Key: HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Value: TaskbarAl
Where TaskbarAl registry values:
0 is left
1 is center
2 is right
PowerShell: Save this as a PowerShell script: Set-Win11-TaskbarSettings.ps1
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAl" -Value 0 -Force
Win32 App:
Download and run the Microsoft Win32 Content Prep Tool from GitHub: https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool
It should look like this:
Under Program:
Install Command:
PowerShell -ExecutionPolicy Bypass -WindowStyle Hidden -File Set-Win11-TaskbarSettings.ps1
Uninstall Command:
PowerShell -ExecutionPolicy Bypass -WindowStyle Hidden -File Set-Win11-TaskbarSettings.ps1
Install behaviour: User
Device restart behaviour: No specific action
Under Detection rules:
Rule type: Registry
Key path: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Value name: TaskbarAl
Detection method: Integer comparison
Operator: Equals
Value: 0
Associated with a 32-bit app on 64-bit clients: Yes
Create the app and deploy.
Comments