Error with PowerShell cmdlets

Lisa Lownds 66 Reputation points
2020-06-08T18:24:44.077+00:00

Folks,
I've recently started getting errors in PowerShell e.g. "WARNING: MSG:UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «»" and "WARNING: Unable to download the list of available providers. Check your internet connection."

I can run the TLS fix I found on another forum but it is not persistent. Any ideas?

Lisa.

9305-powershellerror.jpg

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,927 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Manu Philip 16,966 Reputation points MVP
    2020-06-08T18:37:26.157+00:00

    Hello @LisaLownds-9214,

    TLS fix you mentioned is a workaround for the issue. You may follow the steps below for a permanent solution by a registry value adjustment

    1. Open Powershell and check for supported protocols by using[Net.ServicePointManager]::SecurityProtocol
    2. Run the following 2 cmdlets to set .NET Framework strong cryptography registry keys:

    Set strong cryptography on 64 bit .Net Framework (version 4 and above)

     Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
    

    set strong cryptography on 32 bit .Net Framework (version 4 and above)

     Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
    

    Restart Powershell and check again for supported protocol by using [Net.ServicePointManager]::SecurityProtocol

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    1 person found this answer helpful.
    0 comments No comments

  2. Lisa Lownds 66 Reputation points
    2020-06-08T21:06:40.167+00:00

    @ManuPhilip thanks. I read that in the article when I found the fix. However, I am now curious to know why I need to do this and what has changed?

    Lisa