Open superusercode opened 3 years ago
Previous comment from @ecovio1
a -hidden flag will be nice from a running as admin shell.
AFAIK, this is mostly done per app basis via
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
under a program folder ,
creating a new dword value , where Value Name is SystemComponent and Value Data is 1.
or manually renaming the program's DisplayName key to anything else random.
or hiding the whole "Programs and Features page" completely per user basis
from GPolicy>User Configuration > Administrative Templates > Control Panel > Programs.
[Policy] Command-List
Description of the new feature/enhancement
A minor issue (major if sysadmin) with the current implementation of
winget list
is that it does not show manually hidden apps from the program install list. Programs are hidden officially using the registry via installers and manual tweaking, but they can also be hidden manually by the user using Hide from Uninstall List and similar programs.i.e.
Hidden programs cannot be upgraded as of the current version of winget.
Ideally programs should be visible via
winget list
regardless of status (shown/hidden), or at the very least visible when combined with a flag (winget list -hidden) or winget is run as an admin.Additionally, it would be nice to have the ability to toggle the visibility of apps from winget.
Proposed technical implementation details (optional)