Skip to content

Instantly share code, notes, and snippets.

@boxrick
Created September 10, 2018 22:44
Show Gist options
  • Save boxrick/afec3e2406bdd3494819f49635f2f4fd to your computer and use it in GitHub Desktop.
Save boxrick/afec3e2406bdd3494819f49635f2f4fd to your computer and use it in GitHub Desktop.
- name: Disable Web Search
win_regedit:
path: HKLM:\ANSIBLE\SOFTWARE\Microsoft\Windows\CurrentVersion\Search
name: "{{ item.name }}"
data: "{{ item.data }}"
type: dword
state: present
hive: C:\Users\Default\NTUSER.dat
loop:
- name: BingSearchEnabled
data: 0
- name: CortanaConsent
data: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment