Running choco feature enable --name='showAllPackagesInProgramsAndFeatures' does not initially enable the feature. There is no change present to the Programs and Features table in Control Panel. However, upon running choco feature disable --name='showAllPackagesInProgramsAndFeatures' the Programs and Features table then lists all packages.
It is important to note that the reverse of this also happens. If you have the feature enabled, and then try to disable it, the packages will remain in Programs and Features. Once you try to reenable it, they then disappear, and the process starts all over again.
What is Expected?
Enabling the feature should list all packages.
How Did You Get This To Happen? (Steps to Reproduce)
Open administrative PowerShell.
Run choco feature enable --name='showAllPackagesInProgramsAndFeatures' to enable the feature.
Check Control Panel > Programs and Features. Packages are not listed.
Run choco feature disable --name='showAllPackagesInProgramsAndFeatures' to disable the feature.
Check Control Panel > Programs and Features. Packages are listed.
System Details
Operating System: Windows 10, Windows 11, Windows Server 2022
Windows PowerShell Version: 5.1
Chocolatey CLI Version: 2.3.0
Chocolatey Licensed Extension version: 6.2.1
Chocolatey License type (Professional / Business / ?): BusinessTrial
Terminal/Emulator: Windows PowerShell
Output Log
None.
Workarounds
Currently, you can enable the feature and then restart the machine, and with the feature enabled it will work as intended.
Proposed Solution
None currently known.
Related Issues and Tickets
No tickets relating to this specific issue; I was attempting to replicate a different issue with this feature and came across the bug trying to enable it.
What You Are Seeing?
Running
choco feature enable --name='showAllPackagesInProgramsAndFeatures'
does not initially enable the feature. There is no change present to the Programs and Features table in Control Panel. However, upon runningchoco feature disable --name='showAllPackagesInProgramsAndFeatures'
the Programs and Features table then lists all packages.It is important to note that the reverse of this also happens. If you have the feature enabled, and then try to disable it, the packages will remain in Programs and Features. Once you try to reenable it, they then disappear, and the process starts all over again.
What is Expected?
Enabling the feature should list all packages.
How Did You Get This To Happen? (Steps to Reproduce)
choco feature enable --name='showAllPackagesInProgramsAndFeatures'
to enable the feature.choco feature disable --name='showAllPackagesInProgramsAndFeatures'
to disable the feature.System Details
Output Log
None.
Workarounds
Currently, you can enable the feature and then restart the machine, and with the feature enabled it will work as intended.
Proposed Solution
None currently known.
Related Issues and Tickets
No tickets relating to this specific issue; I was attempting to replicate a different issue with this feature and came across the bug trying to enable it.
Done Checklist
┆Issue is synchronized with this Gitlab issue by Unito