Created
July 20, 2024 00:51
-
-
Save bytespec/ea428a6f2453742e7a083b2e33f30cfc to your computer and use it in GitHub Desktop.
Windows 11 - enable all tray icons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Path "HKCU:\Control Panel\NotifyIconSettings" | Where-Object { | |
($_ | Get-ItemProperty -Name "IsPromoted" | Select-Object -ExpandProperty "IsPromoted") -eq 0 | |
} | ForEach-Object { | |
$_ | Set-ItemProperty -Name "IsPromoted" -Value 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment