Skip to content

Eutectico/Printnightmare

Repository files navigation

Printnightmare

Fix for PrintNightmare CVE-2021-34527

Printnightmare

Run disable-spooler.ps1 file as administrator to disable spooler

powershell.exe -executionpolicy bypass -file .\disable-spooler.ps1

For batch disabling, make a server list with the names of all your servers (e.g. serverlist.txt) and run the file disable-spooler.cmd as administrator to disable the spooler on all your servers

powershell.exe -executionpolicy bypass -file .\disable-spooler.cmd

Run deny-drivers.ps1 file as administrator to prevent exploits from being installed

powershell.exe -executionpolicy bypass -file .\deny-drivers.ps1

Run the allow-drivers.ps1 file as administrator to reactivate driver installation

powershell.exe -executionpolicy bypass -file .\allow-drivers.ps1

About

Fix for PrintNightmare CVE-2021-34527

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published