Hide All Remote Chocolatey Sources

Hide All Remote Chocolatey Sources

There are times when you want to use Chocolatey GUI in a read-only mode, meaning that you can view what packages are currently installed, but to not allow access to install any other packages. When this is enabled, Chocolatey GUI would change from showing the following:

What Chocolatey GUI looks like before enabling the HideAllRemoteChocolateySources feature

to only showing a single "This PC" source:

What Chocolatey GUI looks like after enabling the HideAllRemoteChocolateySources feature

Notice that the ChocolateyInternal and chocolatey.licensed sources are no longer displayed.

📝 NOTE

This is a Chocolatey for Business feature, and will require install of the Chocolatey GUI Licensed Extension

📝 NOTE

After enabling this feature through the Chocolatey GUI User Interface, it will be necessary to close and open the application again in order to make use of it

Resources

Below is a short video which shows this feature in action:


Example

This feature can be enabled, for the currently logged in user, by running the following command:

chocolateyguicli feature enable --name="'HideAllRemoteChocolateySources'"

This feature can be disabled, for the currently logged in user, by running the following command:

chocolateyguicli feature disable --name="'HideAllRemoteChocolateySources'"

Or, to enable/disable it globally at the machine level, run the following commands:

chocolateyguicli feature enable --name="'HideAllRemoteChocolateySources'" --global

chocolateyguicli feature disable --name="'HideAllRemoteChocolateySources'" --global

Default Value

The default value for this feature is disabled.

Availability

The ability to control this feature from the Chocolatey GUI Settings screen has existed since Chocolatey GUI v0.18.0.

The ability to control this feature from the command line using chocolateyguicli has existed since Chocolatey GUI v0.18.0.