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.

コメントを残す

ChatGPTの会話がGoogle検索に表示されないようにする方法

ChatGPTの会話がGoogle検索に表示されないようにする方法

ChatGPTの会話がGoogle検索に表示されないようにするには、公開されているChatGPTの共有リンクを確認して削除する方法をご紹介します。

Windows 11にWindows Subsystem for Android(WSA)をインストールする方法

Windows 11にWindows Subsystem for Android(WSA)をインストールする方法

Windows 11でAndroidアプリを実行するには、Microsoft StoreまたはPowerShellを使用してWindows Subsystem for Android(WSA)をインストールできます。手順は以下のとおりです。

ChatGPTがAIトレーニングに個人データを使用するのを止める方法

ChatGPTがAIトレーニングに個人データを使用するのを止める方法

OpenAIはデフォルトでChatGPTの会話内容をAIの学習のために収集しますが、プライバシー保護のためにこの機能を無効にする方法をご紹介します。

Windows 11向けビルド27913が、設定アプリの変更を含むリリース(Canary版)として公開されました。

Windows 11向けビルド27913が、設定アプリの変更を含むリリース(Canary版)として公開されました。

Windows 11ビルド27913(Canary)では、設定UIが再設計され、Vistaの起動音が復元され、黒画面の壁紙の問題が解決されるなど、さまざまな改善が施されています。

Windows 11 24H2 リリース向けビルド 26120.4733 (KB5062651) (変更点あり) (ベータ版)

Windows 11 24H2 リリース向けビルド 26120.4733 (KB5062651) (変更点あり) (ベータ版)

Windows 11 用ビルド 26120.4733 (KB5062651) がベータ チャネルでリリースされ、新しい AI 画像説明、アプリのアクセス許可の再設計、および管理者保護が提供されます。

Windows 11 25H2 用ビルド 26200.5702 (KB5062653) には新機能が含まれています (開発者向け)

Windows 11 25H2 用ビルド 26200.5702 (KB5062653) には新機能が含まれています (開発者向け)

Windows 11 25H2 用のビルド 26200.5702 (KB5062653) では、AI による画像の説明、新しい管理者セキュリティ、再設計されたアクセス許可ダイアログなどが追加されています。

Windows 10でwingetを使用してアプリをインストールする方法

Windows 10でwingetを使用してアプリをインストールする方法

Windows 10では、wingetコマンドを使用してアプリをインストールできるようになりました。以下は、Windowsパッケージマネージャーを使用してアプリをインストールする手順です。

Windows 11でSnipping ToolのPrint Screenキーを有効(または無効)にする方法

Windows 11でSnipping ToolのPrint Screenキーを有効(または無効)にする方法

Windows 11でSnipping ToolのPrint Screenキーを有効または無効にし、従来のショートカットを復元するか、別のアプリに割り当てることができます。

Windows 11でSnipping Toolを使ってスクリーンショットを撮る方法

Windows 11でSnipping Toolを使ってスクリーンショットを撮る方法

Windows 11でスクリーンショットを撮るには、PrintキーまたはWindowsキー + Shift + Sのショートカットを使用します。全画面スクリーンショットを撮るには、Windowsキー + Printキーを使用します。

Windows 10の旧バージョンのISOファイルをダウンロードする方法(2026年版)

Windows 10の旧バージョンのISOファイルをダウンロードする方法(2026年版)

Windows 10の古いISOファイルをダウンロードするには、UUP Dumpを開き、カスタムISOを作成するためのスクリプトをダウンロードして実行し、Rufusを使用してUSBメディアを作成します。