Skip to content

Instantly share code, notes, and snippets.

@hazcod
Created July 22, 2021 11:32
Show Gist options
  • Save hazcod/9cef0e6e9ca3a7c90c4b8e0d90ec9dce to your computer and use it in GitHub Desktop.
Save hazcod/9cef0e6e9ca3a7c90c4b8e0d90ec9dce to your computer and use it in GitHub Desktop.
CVE-2021-36934 manual mitigation in commandprompt.
echo > CVE-2021-36934 fixer
echo See https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36934
echo Deleting current shadow copies...
vssadmin delete shadows /all /quiet
echo Fixing privilege issue...
icacls %windir%\system32\config\*.* /inheritance:e
echo Creating brand new shadow copy...
vssadmin create shadow /for=c: /quiet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment