Forum Discussion
Device Control Printer Protection - Blocks Print to PDF
SecD3 , the V2 code has been released to production for a while, but because of holiday, the public document update has been delayed. V2 OMA-URI and GPO support has been released and Intune UX is in progress.
- jvonthunJan 20, 2023Copper Contributor
Tewang_Chen So if we use Group Policy and Enable the "Enable Device Control Printer Restrictions" policy, how do we exclude "Microsoft Print to PDF"? It looks like documentation was updated on 1/10/23 but I'm not seeing this addressed. I see a in the requirements "If you're planning to deploy policy via Group Policy, the device must be onboarded to Microsoft Defender for Endpoint joined" I guess that is probably what is preventing it from working in our environment? We don't have our workstations Onboarded to Defender.
- Tewang_ChenJan 20, 2023
Microsoft
No, the above setting will block 'PDF/XPS' or any network printer.
Please do not use this https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/printer-protection?view=o365-worldwide, we added note on this doc: If you want to manage printers, see Microsoft Defender for Endpoint Device Control Printer Protection.
you should use: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/printer-protection-overview?view=o365-worldwide. About how to manage 'PDF', you can search PDF on the doc, the doc explains which policy attribute you can use.
- "File: Microsoft Print to PDF or Microsoft XPS Document Writer. To enforce Microsoft Print to PDF only, use the FriendlyNameId value 'Microsoft Print to PDF'."- Wallace4444Feb 02, 2023Copper Contributor
We have an issue where the "Enable Device Control Printing Restrictions" is set to Disabled (we don't want to manage printers...), but because we have the "Device Control Default Enforcement Policy" set to Default Deny, it blocks all printers anyway.
We have added a new device group into our groups XML (with every imaginable type of printer listed but can't seem to get it to work.
<MatchType>MatchAny</MatchType> <DescriptorIdList> <PrimaryId>PrinterDevices</PrimaryId> <PrinterConnectionId>Corporate</PrinterConnectionId> <PrinterConnectionId>Network</PrinterConnectionId> <FriendlyNameId>Microsoft XPS Document Writer</FriendlyNameId> <FriendlyNameId>Adobe PDF</FriendlyNameId> <FriendlyNameId>Microsoft Print to PDF</FriendlyNameId> </DescriptorIdList>
This seems to only affect Windows 10 22h2, our Windows 11 devices appear to be functioning fine.