disable wddm

This commit is contained in:
L3D 2022-12-31 19:10:47 +01:00
parent f6452a9a40
commit c056aa8dd8
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -48,3 +48,8 @@
script: 'Add-LocalGroupMember -Group "Remote Desktop Users" -Member {{ win__special_rdp_user }}'
when: win__allow_special_rdp_user | bool
changed_when: _a.changed
- name: Windows RDP disable wddm
ansible.windows.win_powershell:
script: 'REG ADD “HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services” /v “fEnableWddmDriver” /t REG_DWORD /d 0 /f'
changed_when: _a.changed