When attempting to install a module using Windows PowerShell using the Install-Module cmdlet as an Administrator you see the error 

"WARNING: Unable to download the list of available providers. Check your internet connection."


This can occur when the machine is not configured to connect to the server using TLS version 1.2.


  • Set the current Windows PowerShell session to use TLS version 1.2 by executing the following command in the Windows PowerShell.
    [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;

    - or -

  • To set this for all .NET Framework 4 applications, set the following registry key

    "SchUseStrongCrypto" = dword:00000001

More Information

For more information see the following article.