LoginSignup
1
1

More than 3 years have passed since last update.

AnsibleでwindowsのRDP複数セッションを有効化する

Posted at

モチベーション :innocent:

Windows の踏み台サーバとかで、複数セッション張りたいシチュエーションがありました。
ユーザー作成とかの流れで実行するといいかと。

環境 :computer:

  • local
    • macOS 10.15.3
    • ansible 2.9.6 (Python 3.7.5)
  • remote
    • GCE instance
    • Windows Server 2016 Datacenter

やり方 :muscle:

レジストリを編集します。

multi-rdp-sessions/tasks/main.yml
- name: "Allow Multiple RDP Sessions"
  win_regedit:
    path: HKLM:\System\CurrentControlSet\Control\Terminal Server
    name: fSingleSessionPerUser
    data: 0
    type: dword
    state: present

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1