Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-1675 — A small powershell script to disable print spooler service using desired state configuration | Kitploit
Tools/GitHubGitHub/kougyokugentou/cve-2021-1675
Defensive ToolsPrivilege EscalationVulnerability AnalysisExploitationScripting & AutomationConfiguration Auditing
GitHubkougyokugentou/cve-2021-1675

CVE-2021-1675

A small powershell script to disable print spooler service using desired state configuration

View Repository
15 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-1675 - PrintNightmare DSC Mitigation (PowerShell)

Kougyoku Gentou | July 1, 2021


CVE-2021-1675 is a critical remote code execution and local privilege escalation vulnerability dubbed "PrintNightmare."

The mitigation is to disable Print Spooler service. Well, most websites say to do this on Domain Controllers only, but realistically it should be done on bascially any Windows Server that is not a print server. So let's fix it! This is using Powershell and Desired State Configuration to stop and disable the print spooler service from all computers in OUs of your choice. You might need to change up some of the variables in the top of the script to fit your environment, but should be self-explanatory.

Download Tool