Skip to content

Instantly share code, notes, and snippets.

@jonathanmedd
Created December 6, 2019 13:54
Show Gist options
  • Save jonathanmedd/98922aefbb546fc406cf0e92596a5f32 to your computer and use it in GitHub Desktop.
Save jonathanmedd/98922aefbb546fc406cf0e92596a5f32 to your computer and use it in GitHub Desktop.
_13_registry_entries
---
- hosts: all
tasks:
- name: Create Registry Entry FileNotFoundCacheEntriesMax
win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
name: FileNotFoundCacheEntriesMax
data: 2000
type: dword
- name: Update Existing Registry Entry RequireSecuritySignature
win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
name: RequireSecuritySignature
data: 1
type: dword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment