ホームページ  >  記事  >  システムチュートリアル  >  Windows キー、Alt+Tab、および固定キーによってゲームが台無しになるのを防ぐ方法

Windows キー、Alt+Tab、および固定キーによってゲームが台無しになるのを防ぐ方法

WBOY
WBOYオリジナル
2024-06-19 12:58:001179ブラウズ

Windows は、ゲーム専用ではなく、一般的なコンピューターでの使用を目的として設計されています。 Windows キー、Alt+Tab、およびスティッキー キーなどのその他のキーボード ショートカットを使用すると、全画面ゲームから抜け出してデスクトップに戻ることができます。幸いなことに、これらを無効にするのは非常に簡単なので、中断されることなくゲーム セッションを楽しむことができます。

Windows キーを無効にする方法

Windows PC で Windows キーを無効にする方法はいくつかあります。すべての方法を詳しく確認してみましょう:

レジストリ エディターを使用する

コンピューターで Windows キーを無効にする最良の方法の 1 つは、レジストリ エディターを使用することです。ただし、開始する前に、レジストリをバックアップし、復元ポイントを作成することが重要です。これにより、編集プロセス中に問題が発生した場合でも、データは安全に保たれます。

そうは言っても、[スタート] メニューを開き、検索バーに「レジストリ エディター」と入力して、Enter キーを押します。

レジストリ エディターで、次の場所に移動します:

<code class="hljs ">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout</code> 

[キーボード レイアウト] キーを右クリックし、[新規] を選択し、[バイナリ値] を選択します。次に、値に「Scancode Map」という名前を付けます。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[スキャンコード マップ] 値を右クリックし、[変更] を選択します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[値のデータ] フィールドに次の値を入力し、[OK] をクリックします。

<code class="hljs xml">00, 00, 00, 00, 00, 00, 00, 0003, 00, 00, 00, 00, 00, 5B, E0,00, 00, 5C, E0, 00, 00, 00, 00</code> 
How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

その後、コンピュータを再起動すると、Windows キーが機能していないことがわかります。今後 Windows キーを再度有効にするには、レジストリ エディターから「Scancode Map」バイナリ値を削除するだけで、Windows キーが再び機能し始めます。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

ローカル グループ ポリシー エディターの使用

Windows Pro または Enterprise エディションを使用している場合は、ローカル グループ ポリシー エディターを使用してコンピューターの Windows キーを無効にすることができます。これを行うには、ローカル グループ ポリシー エディターを開き、次の場所に移動します:

<code class="hljs xml">User Configuration > Administrative Templates > Windows Components > File Explorer</code> 

右側のペインで、[Windows キー ホットキーをオフにする] ポリシーをダブルクリックします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[有効] を選択し、[適用] および [OK] をクリックします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

次に、コンピューターを再起動して変更を確認します。 Windows キーを再度有効にしたい場合は、「Windows キーのホットキーをオフにする」ポリシーを「無効」または「未構成」に構成する必要があります。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Microsoft PowerToys の使用

Microsoft PowerToys は、Windows PC でキーを無効にすることができる Microsoft の無料アプリです。これを使用して Windows キーを無効にするには、まず Microsoft Store からインストールしてから開きます。

左側のサイドバーで「キーボードマネージャー」を選択し、右側のペインで「キーの再マップ」をクリックします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

「キーのリマッピングを追加」を選択します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[選択] ボタンをクリックし、キーボードの [Windows] キーを押します。キーを選択したら「OK」をクリックします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[送信] ドロップダウン メニューから、[無効にする] を選択します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click "OK" and then select "Continue Anyway" to confirm disabling the Windows key.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

When you want to start using the Windows key again, simply click the trash icon next to the key.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Using Your Keyboard Software

If you have a gaming keyboard, it likely has dedicated software that lets you configure how the keys work. Most gaming keyboards also have a gaming mode that, when enabled, disables keys that might interrupt your gaming session, including the Windows key.

For example, if you have an Alienware keyboard, you can use the Fn+F6 key combination to enable gaming mode. If you're unaware of the key combination for your keyboard, check the user manual for more information.

How to Disable the Alt+Tab Shortcut

Pressing Alt+Tab opens the app switcher, which lets you see and switch between different programs running on your computer. However, you might not want to hit this key combination during an intense gaming session because it will minimize your game. You can prevent this from happening by temporarily disabling this shortcut.

Using Microsoft PowerToys

Similar to disabling the Windows key, you can also use Microsoft PowerToys to turn off the Alt+Tab shortcut. To do this, open Microsoft PowerToys, go to "Keyboard Manager," select "Remap a Shortcut," and then click "Add Shortcut Remapping."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click the pen icon next to "Shortcut," press the "Alt+Tab" keys together, and click "OK."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Choose "Disable" from the "Shortcut" dropdown menu under the "To" section.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click "OK" to confirm the change.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

When you're finished gaming on your computer, you can enable this shortcut combination again by clicking the trash can icon next to it.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Using AutoHotKey

AutoHotkey is a popular third-party tool that helps you manage keyboard shortcuts on your Windows computer. It allows you to disable specific keys or key combinations. To use it to disable the Alt+Tab shortcut, first, download and install AutoHotkey on your computer. Then, right-click anywhere on your desktop, select "New," and then "AutoHotkey Script."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Give a name to the script file and press Enter.

Right-click on the newly created script file, choose "Open With," and select "Notepad."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Clear any default text in the Notepad document, paste the following codes and press Ctrl+S to save the changes.

<code class="hljs xml">#=::Return; Disable Alt+Tab!Tab::Return</code> 
How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Go back to your desktop, right-click on the script file again, select "Show More Options," and then choose "Run Script."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Alt+Tab ショートカットが無効になります。再度有効にするには、システム トレイの AutoHotkey アイコンを右クリックし、[終了] を選択します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

スティッキー キーを無効にする方法

Windows 10 と 11 のどちらにも、設定アプリにスティッキー キー専用のトグルがあります。このトグルを使用してオンまたはオフにすることができます。 Windows 10 で固定キーを無効にするには、[設定] メニューを開き、[簡単アクセス] を選択します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

左側のサイドバーから「キーボード」を選択し、右側の「固定キーを使用」トグルを無効にします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

次に、「ショートカット キーによる固定キーの起動を許可する」ボックスのチェックを外します。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Windows 11 の場合は、[設定] を開き、左側から [アクセシビリティ] を選択し、右側の [固定キー] のトグル スイッチを無効にします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

[Sticky Keys] オプションをクリックし、そのキーボード ショートカットを無効にします。

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

以上です! Windows コンピュータでスティッキー キーを無効にしました。将来再び有効にするには、トグルをオンに戻すだけです。


以上は、Windows コンピューターで特定のキーとキーボード ショートカットを無効にする方法についてでした。誤ってキーを押すことなく、中断されることなくゲーム セッションを楽しむことができます。ただし、これらのキーとショートカットを永久に無効にしたままにしておくと、Windows での通常のワークフローが中断される可能性があるため、後で忘れずに再度有効にしてください。


以上がWindows キー、Alt+Tab、および固定キーによってゲームが台無しになるのを防ぐ方法の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。