Skip to content

Instantly share code, notes, and snippets.

@hazcod
Last active July 22, 2021 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hazcod/e50779fa6403364d1ceee1c9ecb3f552 to your computer and use it in GitHub Desktop.
Save hazcod/e50779fa6403364d1ceee1c9ecb3f552 to your computer and use it in GitHub Desktop.
disables the printer spooler (disables local and remote printing) to fix PrintNightmare vulnerabilities.
<wap-provisioningdoc id="1162DF07-F217-449B-95F8-FB85A34D3CA5" name="windows-printerspooler-disable">
<characteristic type="com.airwatch.winrt.registryoperation" uuid="3fa91319-eac0-4a16-9d10-093ba845b698">
<parm RegistryPath="HKLM\SYSTEM\CurrentControlSet\Services\Spooler" Action="Replace">
<Value Name="Start" Data="4" Type="DWORD" />
</parm>
</characteristic>
</wap-provisioningdoc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment