Extrait d'un playbook Ansible qui désactive les trucs pénibles de Windows 11:

- name: "Disable Windows Welcome Experience and other annoying stuff"
  ansible.windows.win_regedit:
    path: "{{ item.path }}"
    name: "{{ item.name }}"
    type: dword
    data: 0
  with_items:
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: SubscribedContent-310093Enabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: SubscribedContent-338389Enabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: OemPreInstalledAppsEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: PreInstalledAppsEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: PreInstalledAppsEverEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: SilentInstalledAppsEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: SoftLandingEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: SystemPaneSuggestionsEnabled
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
      name: ContentDeliveryAllowed
    - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement
      name: ScoobeSystemSettingEnabled
Extrait d'un playbook Ansible qui désactive les trucs pénibles de Windows 11: - name: "Disable Windows Welcome Experience and other annoying stuff" ansible.windows.win_regedit: path: "{{ item.path }}" name: "{{ item.name }}" type: dword data: 0 with_items: - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: SubscribedContent-310093Enabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: SubscribedContent-338389Enabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: OemPreInstalledAppsEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: PreInstalledAppsEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: PreInstalledAppsEverEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: SilentInstalledAppsEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: SoftLandingEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: SystemPaneSuggestionsEnabled - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager name: ContentDeliveryAllowed - path: HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement name: ScoobeSystemSettingEnabled