How to fix ‘Unable to find module repositories’ error in PowerShell on Windows 10

PowerShell does a few basic things but there are quite a few modules available for it that you can install and use them to get more out of it. Installing a module in PowerShell is pretty easy however, sometimes when you try to install a module you get the error ‘Unable to find module repositories’ which prevents you from installing it. If you’re getting this error, the fix is pretty easy.

How to fix ‘Unable to find module repositories’ error in PowerShell on Windows 10

Fix ‘Unable to find module repositories’

Open PowerShell with admin rights and run the following command;

Register-PSRepository -Default

Once the command has run, the problem should be resolved. Run the command to install a module or add a repository and this time, it should work. The command completes within a few seconds.

How to fix ‘Unable to find module repositories’ error in PowerShell on Windows 10

Other solutions

The ‘Unable to find module repositories’ error appears when PowerShell cannot find the repository that you’re adding, or the module that you’re trying to add since it too comes from a repository. The command re-registers the repository gallery which is why, in most cases, it will fix the problem.

Other reasons this error may appear is if PowerShell is unable to communicate with the repository that you want to add. This could be a problem with your internet. If you’re using a VPN or a Proxy service, disable it and then try installing the module again. It’s worth running the Register command again after disabling the proxy before you attempt to install a module.

If disabling the proxy is not an option, you need to enable the proxy for PowerShell as well. If you’re using a proxy via a desktop app, it is highly likely PowerShell is bypassing it. Once you enable the proxy for PowerShell, run the Register command again and then try installing the module.

You should also make sure that you’re running the latest version of PowerShell. If you’re not running the latest version of Windows 10, your version of PowerShell might not be the latest and that’s why the command might be failing. You should also uninstall older versions of PowerShell.

Lastly, and this really is a last ditch effort, try changing the execution policy and then import or install the module. You should also make sure the module is still available. Try installing a different module to see if it installs and if it does, perhaps the problem is with the other module that you’re trying to install. Some modules might have other, alternate methods for installing them so try those.

コメントを残す

Windows 11 26H1と26H2:実際の違いと、それぞれのアップデートを実際に受け取れるユーザー

Windows 11 26H1と26H2:実際の違いと、それぞれのアップデートを実際に受け取れるユーザー

Windows 11 26H1と26H2について混乱していませんか?ここでは、アップグレード手順、サポートリセットの詳細、そして既存のPCが実際に受け取る内容について説明します。

マイクロソフトは、Windows 11で2026年に期限切れとなるセキュアブート証明書のセキュリティリスクについて説明している。

マイクロソフトは、Windows 11で2026年に期限切れとなるセキュアブート証明書のセキュリティリスクについて説明している。

セキュアブート証明書は2026年に期限切れとなります。マイクロソフトは現在、アップデートを順次展開しています。Windows 11およびWindows 10搭載PCにおけるその影響について解説します。

Windows 11 25H2を安全にアンインストールする方法

Windows 11 25H2を安全にアンインストールする方法

Windows Updateまたは回復設定を使用して、ファイルを失うことなく、Windows 11 25H2アップデートをアンインストールし、バージョン24H2またはWindows 10に戻します。

Windows 11では、設定に新しいキーボードバックライト機能が追加されました。

Windows 11では、設定に新しいキーボードバックライト機能が追加されました。

Windows 11では、設定にキーボードのバックライトオプションが追加され、物理的なキーやOEMソフトウェアを使用せずにバックライトの明るさを調整できるようになりました。

Windows 11でタスクバーにバッテリー残量を表示する方法

Windows 11でタスクバーにバッテリー残量を表示する方法

Windows 11でタスクバーにバッテリー残量を表示するには、[設定] > [システム] > [電源とバッテリー]を開き、[バッテリー残量]のトグルをオンにします。

Tiny11 ISOがWindows 11 24H2にアップデートされました

Tiny11 ISOがWindows 11 24H2にアップデートされました

Windows 11 24H2 Tiny11 ISOをダウンロードすれば、不要なソフトウェアや機能を含まないクリーンインストールやインプレースアップグレードを実行できます。

お使いのPCにWindows 11 25H2がインストールされているかどうかを確認する方法

お使いのPCにWindows 11 25H2がインストールされているかどうかを確認する方法

Windows 11 25H2がインストールされているかどうかを確認するには、「設定」>「システム」>「バージョン情報」を開き、バージョン番号を確認してください。または、winverコマンドを使用することもできます。

Windows 11 25H2 用ビルド 26200.5742 (KB5064075) で、新しいスタート メニューのビジュアルが追加されました (開発者向け)

Windows 11 25H2 用ビルド 26200.5742 (KB5064075) で、新しいスタート メニューのビジュアルが追加されました (開発者向け)

Windows 11 25H2 用のビルド 26200.5742 (KB5064075) が開発者チャネルに登場。新しいスタート メニュー機能と設定のコントロール パネル オプションが追加されました。

Windows 11 25H2 用ビルド 26200.5751 では、新機能と視覚的な変更が加えられています (開発者向け)

Windows 11 25H2 用ビルド 26200.5751 では、新機能と視覚的な変更が加えられています (開発者向け)

Windows 11 25H2 用のビルド 26200.5751 (KB5064071) が新機能とともに開発者向けチャネルに登場し、ビルド 26120.5751 がベータ版としてリリースされました。

Windows 11でCopilot Visionを使用してAIアシスタントを利用する方法

Windows 11でCopilot Visionを使用してAIアシスタントを利用する方法

Windows 11でCopilot Visionを使用するには、Copilotアプリを開き、Visionメガネのアイコンをクリックし、アプリを選択して、「共有」をクリックします。