[SUGGESTION] Switch the wording around for the description of the system tray icons
Please confirm these before moving forward
- [x] I have searched for similar suggestions and have not found a duplicate.
- [x] This is an improvement to an existing feature (not a new feature request).
Describe your suggestion
On line 3047 at https://github.com/memstechtips/UnattendedWinstall/blob/main/autounattend.xml, it says:
Set-RegistryValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer' -Name 'EnableAutoTray' -Type 'DWord' -Value 0 -Description 'Show all system tray icons directly on the taskbar instead of hiding them in the overflow menu (up arrow)'
-Value 0 = True in this case, which means it should be 1 when using the wording provided above. The 0 currently displays all system tray icons, yet the 0 being used typically implies the opposite when we assume 0 is False, Off or Disabled, which would be wrong.
-Value 1 = False in this case, which means it should be 0 when using the wording provided above. The 1 would hide all system tray icons, yet a 1 typically implies the opposite when we assume 1 is True, On or Enabled, which would be wrong.
Having -Value 0 makes the icons all be displayed, but the wording suggests that having it enabled (-Value 1) should show them all. This makes the wording itself backwards with respect to the numbering where 0 is used as True, On or Enabled, while 1 is used as False, Off or Disabled in this case.
It should say this:
Set-RegistryValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer' -Name 'EnableAutoTray' -Type 'DWord' -Value 0 -Description 'Hide all system tray icons directly on the taskbar instead of showing them in the overflow menu (up arrow)'
Since they are all being displayed with a -Value 0, which is what is being used in the autounattend.xml file, if we want the system tray icons to all be hidden, as explained in my proposal above using the updated wording, then setting it to -Value 1 would make sense.
I believe other descriptions like the one above may follow this incorrect reversed wording style with respect to the -Value 0 and -Value 1 setting being applied. Please confirm and consider correcting any additional inconsistencies as necessary.
Thank you.
Current behavior
The system tray icons are all being displayed with a -Value 0.
Proposed behavior
If the wording was reversed, the -Value 0 would make sense.
Benefit
It would be clear and correct.
Additional context
No response