次の方法で共有

「ログオン失敗:要求された種類のログオンはこのコンピューターではユーザー許可されていません」のエラー

クチナシ 80 評価のポイント
2025-12-05T05:59:17.6566667+00:00

ドメイン環境で、踏み台サーバから本番サーバにRDP接続を考えています。

RDP接続を行うと、接続先画面で「ログオン失敗:要求された種類のログオンはこのコンピューターではユーザー許可されていません」とエラーが出ます。スクリーンショット 2025-12-05 112605 - コピー

原因を調査したのですが、解決しないため、原因と考えられることをご教授頂きたいです。

【サーバ情報】

WindowsServer2022

【接続を行うユーザ】

adminuser

 所属グループ:Domain Admins, Administrator

【確認済の項目】

・本番サーバのWindowsFirewallが無効であること

・本番サーバの、以下のグループポリシー

[Default Domain Controllers Policy]>[Windowsの設定]>[セキュリティ設定]>[ローカルポリシー]>[ユーザ権限の割り当て]

 ネットワーク経由のアクセスを拒否:未定義

 リモートデスクトップサービスを使ったログオンを拒否:未定義

 リモートデスクトップサービスを使ったログオンを拒否:Remote Desktop Users

 ローカルログオンを拒否:未定義

 ローカルログオンを許可:Users、etc...

【イベントログ等】

RDPに関すると思われるログでは、エラー等は出ていない。

ビジネス向け Windows | Windows Server | ユーザー エクスペリエンス | リモート デスクトップ クライアント

質問作成者が受け入れた回答
  1. Daphne Huynh (WICLOUD CORPORATION) 660 評価のポイント Microsoft 外部スタッフ モデレーター
    2025-12-05T08:01:51.75+00:00

    Welcome to the Microsoft Q&A Platform!

    RDP Logon Failed: The Requested Type of Logon Is Not Allowed on This Computer

    This error is almost always caused by Group Policy or Local Security Policy settings that control who is allowed (or denied) to log on via Remote Desktop Services. Even if the user is a Domain Admin or local Administrator, RDP access can still be blocked if these policies are not configured correctly.

    I would like to share you the key causes and solutions that can you get through this.

    1. Allow Logon Through Remote Desktop Services

    • Ensure the user or a group they belong to (e.g., Domain Admins, Administrators) is explicitly listed in the "Allow logon through Remote Desktop Services" policy.

    Path: Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Allow logon through Remote Desktop Services

    • Add Administrators, Domain Admins, or the specific user/group.
    • If only Remote Desktop Users is listed and your admin account is not in that group, RDP will fail.

    2. Check “Deny logon through Remote Desktop Services”

    • If your user or group appears here, it overrides all allow rules. Remove the user or any group they belong to from this policy.
    • Even if the policy is undefined, check for any other GPOs that might apply this setting.

    3. Membership in Remote Desktop Users Group

    On the production server, verify:

    • The user is part of Remote Desktop Users
    • The user is part of a group included in the allow policy.

    4. Policy Precedence

    If multiple GPOs set these rights, the most restrictive setting applies. Run this command on the server to check effective settings:

    gpresult /h report.html

    Open the report and verify which policy is applying the logon rights.

    5. Registry Workaround (if DC query fails)

    If the server cannot read user rights from the domain controller, you can force it to use local settings:

    HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

        fQueryUserConfigFromLocalMachine = 1 (DWORD)

        fQueryUserConfigFromDC = 0       (DWORD)

    Then, restart the server after applying.

    Note: This answer has been translated using a translation tool. Please note that there may be grammatical or semantic errors. Thank you for your understanding. If there is any unclear part of the answer, please leave it in the comments and we will get back to you as soon as possible. 

    Thank you for asking your question.

    1 人がこの回答が役に立ったと思いました。

1 件の追加の回答

並べ替え方法: 最も役に立つ
  1. チャブーン 6,226 評価のポイント MVP ボランティア モデレーター
    2025-12-09T11:21:56.13+00:00

    チャブーンです。

    この件ですが、まず回答が「解決していない」なら、「質問作成者が受け入れた回答」マークを外した方がいいですよ。質問が終わったものと第三者が勘違いしてしまいます。

    本題ですが、RDPを多段で接続する場合、1段目と2段目にそれぞれ条件が必要です。トラブルが起こっているのは1段目ですか?2段目ですか?

    また、接続先が「メンバーサーバー」なのか「ドメインコントローラー」なのかによって、条件が変わります。[Default Domain Controllers Policy]はドメインコントローラーにしか、影響を与えません。メンバーサーバーへの変更を行いたいなら[Default Domain Policy]へ変更を行う必要があります。通常はローカルポリシーに適切なアクセス権利は設定済みなので、そもそも変更は不要なのですが...。

    また[Default Domain Controllers Policy]の「リモートデスクトップサービスを使ったログオンを許可:Remote Desktop Users」を入れることは基本的に間違っています。「リモートデスクトップサービスを使ったログオンを許可:Administrators」を入力し、gpupdate /forceコマンドで再適用させてください。こうすれば、ドメインコントローラーへのRDP接続は「ドメイン管理者である」状況で、成功するでしょう。うまくいかない場合、この設定を修正した後、ドメインコントローラー自体を再起動してください。

    上記の説明で合点がいかない場合、環境の説明をきちんと行ってください。

    0 件のコメント コメントはありません

お客様の回答

質問作成者は回答に "承認済み"、モデレーターは "おすすめ" とマークできます。これにより、ユーザーは作成者の問題が回答によって解決したことを把握できます。