Created
June 3, 2022 17:40
-
-
Save Patrick-Kelley/c8d67e32c504d4af67346dc576a1619b to your computer and use it in GitHub Desktop.
CVE-2022-30190 Microsoft Support Diagnostic Tool Vulnerability - Ansible - Removal Playbook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Remove MS-MSDT Key | |
hosts: win-test | |
gather_facts: false | |
tasks: | |
- win_command: powershell.exe - | |
args: | |
stdin: reg export HKCR\ms-msdt c:\msdt-export.reg | |
- win_command: powershell.exe - | |
args: | |
stdin: reg delete HKEY_CLASSES_ROOT\ms-msdt /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment