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 10ビルド17634が改善点を含んだリリースで公開されました

Windows 10ビルド17634が改善点を含んだリリースで公開されました

Windows 10 バージョン 1809 のビルド 17634 が、スキップ アヘッド オプションを有効にした Fast リングに登録されている PC 向けに現在配信されています。この新しい Redstone 5 アップデートでは、Microsoft は新しいカレンダー検索機能と、音声コマンドに対応した更新版 Cortana Show Me を導入しています。知っておくべきことはすべてここにあります...

新機能を搭載したWindows 10ビルド17623がリリースされました

新機能を搭載したWindows 10ビルド17623がリリースされました

ビルド17623が、Fastリングに登録され、Skip Aheadオプションが有効になっているWindows 10デバイスをお持ちのInsider向けに提供開始されました。このRedstone 5プレビュー版では、HEIFサポート、新しい外部GPU機能、プライバシー設定の変更、Defenderなどが導入され、2018年10月にリリース予定のバージョン1809に搭載されます。

Windows 10:システム設定の説明

Windows 10:システム設定の説明

Windows 10では、設定の「システム」セクションに、ディスプレイ、通知、アプリ、電源オプション、PC情報などをカスタマイズするオプションが含まれています。

メディア作成ツール付きWindows 11ダウンロード(2026年版)

メディア作成ツール付きWindows 11ダウンロード(2026年版)

メディア作成ツールを使用して2026年にWindows 11をダウンロードするには、ユーティリティをダウンロードし、USBフラッシュドライブまたはISOファイルオプションを選択して続行します。

2026年におけるWindows 11のシステム要件

2026年におけるWindows 11のシステム要件

Windows 11のシステム要件はすべてここに記載されています。対応プロセッサ、互換性チェック、TPMとセキュアブートの有効化方法なども含まれています。

Windows 11 用ビルド 27919 では、新しい検索設定の追加とバグ修正が行われています (Canary)

Windows 11 用ビルド 27919 では、新しい検索設定の追加とバグ修正が行われています (Canary)

Windows 11ビルド27919がカナリアチャネルに登場し、検索設定の更新や、ファイルエクスプローラーと入力方法における主要なバグの修正が行われています。

ChatGPTのウェブ版またはアプリ版でアクセントカラーを変更する方法

ChatGPTのウェブ版またはアプリ版でアクセントカラーを変更する方法

ChatGPTのアクセントカラーを変更するには、「設定」>「アクセントカラー」を開き、青、緑、黄、ピンク、オレンジなどの色を選択します。

Windows 11でWindows Hello顔認証を設定する方法

Windows 11でWindows Hello顔認証を設定する方法

Windows 11でWindows Hello顔認証を有効にするには、[設定] > [アカウント] > [サインインオプション]を開き、[設定]をクリックして、画面の指示に従ってください。

Windows 11 26H1 用の KB5073095 (ビルド 28020.1362) が多数の新機能とともにリリースされました (Canary)

Windows 11 26H1 用の KB5073095 (ビルド 28020.1362) が多数の新機能とともにリリースされました (Canary)

Windows 11 26H1 用のビルド 28000.1362 (KB5073095) には、いくつかの新機能、視覚的な改善、およびバグ修正が含まれています。知っておくべきことをすべてご紹介します。

Windows 11 ビルド 22635.4510 (KB5046716) で共有オプションがさらに追加されました (プレビュー)

Windows 11 ビルド 22635.4510 (KB5046716) で共有オプションがさらに追加されました (プレビュー)

Windows 11 用の KB5046716 (ビルド 22635.4510) がリリースされ、ジャンプ リストの共有オプション、ゲームパッドのキーボード レイアウト、アクセシビリティの変更などが追加されました。