Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/Install-Printers/Configure-Policies.ps1 #5

Open
Orava2 opened this issue Aug 23, 2021 · 1 comment
Open

/Install-Printers/Configure-Policies.ps1 #5

Orava2 opened this issue Aug 23, 2021 · 1 comment

Comments

@Orava2
Copy link

Orava2 commented Aug 23, 2021

The script Configure-Policies.ps1 won't remove the "Do you trust this printer" prompt. The script will block connections to the servers which are not defined but Windows doesn't trust the defined servers.

Should the script work after Microsoft's PrintNightmare updates?

@Orava2
Copy link
Author

Orava2 commented Aug 24, 2021

The current version of the script Configure-Policies.ps1 won't disable the "Do you trust this printer" prompt.

To remove the prompt one need to set key RestrictDriverInstallationToAdministrators to 0.
reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f

https://support.microsoft.com/en-gb/topic/kb5005652-manage-new-point-and-print-default-driver-installation-behavior-cve-2021-34481-873642bf-2634-49c5-a23b-6d8e9a302872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants