Hi

Today I will share a tip if you need to reset a lot of printers share to the default security.

It come handy to me as if you secure too much your pritnqueue,it might block per computer GPP in example.

First, choose a printer that will be the template for all others.

Make sure Administrators, Everyone, Creator Owner, Print Operator and Server Operator is listed.

It should look that way;

First picture in workgroup, and second you add those accounts in domain.

image-1.png?w=447

image-2.png?w=439

After your template is done, you need a small powershell script, it look that way;

image-3.png?w=785

$printerperms = (Get-Printer -ComputerName PrintSvr -Name admin-printer -Full).PermissionSDDL
$allprinters = Get-Printer -ComputerName PrintSvr -Name * | Select name -ExpandProperty name
foreach ($printer in $allprinters)
{Set-Printer $printer -PermissionSDDL $printerperms -ComputerName PrintSvr}

Make sure to replace PrintSvr with your print server and make sure to replace admin-printer with the printer that you used as a template.

Thats all, Thanks for reading!

Next Post Previous Post