Fix broken display settings

This commit is contained in:
Gašper Fele-Žorž 2025-10-01 23:58:09 +02:00
parent c1ade197c3
commit 725737321d

View file

@ -52,6 +52,16 @@
win_command: wuauclt.exe /updatenow
ignore_errors: yes
- name: Fix broken display settings - start CDPSvc
win_regedit:
path: "{{item}}"
name: "Start"
type: dword
data: 0x00000002
with_items:
- HKLM\SYSTEM\CurrentControlSet\Services\CDPSvc
- HKLM\SYSTEM\CurrentControlSet\Services\CDPUserSvc
- name: Reboot
win_command: "shutdown /r"
when: domain_state.reboot_required