Posted On November 1, 2021

Indications that Chocolatey is locked down

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> Indications that Chocolatey is locked down
# System's version is less than vendor's current (Chocolatey v0.10.15)
0+000+00[LAX-WEB005]: PS C:\Users\testadmin\Documents> choco source
Please run chocolatey /? or chocolatey help - chocolatey v0.9.8.28

# Server unable to reach chocolatey.org
[LAX-WEB005]: PS C:\Users\testadmin\Documents> wget https://community.chocolatey.org/api/v2/
The request was aborted: Could not create SSL/TLS secure channel.
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest],WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

What to do?

When a system has outbound firewall access control lists (ACL’s) blocking HTTP outbound as shown above, one may assume that it’s as intended. Proper protocol when attempting to make changes to these sorts of systems would be to obtain authorization from systems owner. Once approved, one may proceed to apply the knowledge from this documentation (https:// docs.chocolatey.org/en-us/features/host-packages) to administer this system.

Note: when I have time, I may provide practical examples on how to deploy & admin private Chocolatey repos…

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

CSS: Variables & Simple Animation

CSS can mimic other interpreted programming languages by enabling features such as variables. The limitation…

PowerShell: Use EMCOPY to Mirror a Directory

# Purpose: this PowerShell snippet is to demonstrate the use of Emcopy$source="C:\Users\tester\Desktop\Clients"$destination="C:\Users\tester\Desktop\Test"#$switches="/o /secforce /s /de…

PowerShell: Get Failed Scheduled Tasks on a Windows Machine

The following function will query the local Windows Tasks Scheduler for custom schedules and output…