error when trying to install chocolatey via powershell : cannot connect to remote server

Question:

I am trying to install chocolatey by following official documentation (https://chocolatey.org/install), this is what I am doing :

I am working in a company (our os is windows 10 enterprise), and when trying or any colleague machine it’s working perfectly and there is no (from what we have seen) any configuration difference between them and me.

Thanks in advance

Answer:

There is nothing wrong with the code you tried. Basically, it is telling you that you are unable to connect, which might be a restriction or policy. Try the following:

Then run the comment again. It has something to do with the credentials used in windows 10 for the request.

Source:

error when trying to install chocolatey via powershell : cannot connect to remote server by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply