• Install & Activate
  • Troubleshooting
BEST Antivirus KBS : Largest Anti-Malware Knowlegde Base and Support
  • Install & Activate
  • Troubleshooting

Device Control Printer Protection (Microsoft)

/Download, Install & Active / Microsoft / Download, Install & Active / Microsoft / Microsoft Endpoint / Device Control Printer Protection (Microsoft)
  • December 24, 2021
  • BEST Antivirus Staff 2
  • Microsoft / Microsoft Endpoint

Contents

  1. Licensing
  2. Permission
  3. Prepare your endpoints
  4. Deploy Device Control Printer Protection policy
  5. Deploy policy via Intune
    1. Scenario 1: Block people from printing via any non-corporate printer using Intune
    2. Scenario 2: Allow specific approved USB printers using Intune
  6. Deploy policy via Group Policy
    1. Scenario 1: Block people from printing via any non-corporate printer using Group Policy
    2. Scenario 2: Allow specific approved USB printers using Group Policy
  7. View Device Control Printer Protection data in Microsoft Defender for Endpoint portal
    1. Source : Official Microsoft Brand Editor by : BEST Antivirus KBS Team
0
(0)

Microsoft Defender for Endpoint Device Control Printer Protection blocks people from printing via non-corporate printers or non-approved USB printer.

Licensing

Before you get started with Printer Protection, you should confirm your Microsoft 365 subscription. To access and use Printer Protection, you must have the following:

  • Microsoft 365 E3 for functionality/policy deployment
  • Microsoft 365 E5 for reporting

Permission

For Policy deployment in Intune, to deploy policy via OMA-URI, the account must have permissions to create, edit, update, or delete device configuration profiles. You can create custom roles or use any of the built-in roles with these permissions:

  • Policy and profile Manager role.
  • Or custom role with Create/Edit/Update/Read/Delete/View Reports permissions turned on for Device Configuration profiles
  • Or Global admin

To see device configuration reports, the account must have view reports permissions. You can create custom roles or use the built-in roles with these permissions:

  • Global security admin
  • Security admin
  • Security Reader

Prepare your endpoints

Make sure that the Windows 10 or Windows 11 devices that you plan on deploying Printer Protection to meet these requirements.

  1. The following Windows Updates are installed.
    • For Windows 1809: install Windows Update KB5003217
    • For Windows 1909: install Windows Update KB5003212
    • For Windows 2004 or later
  2. If you’re planning to deploy policy via Group Policy, the device must be onboarded to Microsoft Defender for Endpoint joined; if you’re planning to deploy policy via Microsoft Endpoint Manager, the device must be joined by using Microsoft Intune.

Deploy Device Control Printer Protection policy

You can deploy the policy via Group Policy or Intune.


DEPLOY DEVICE CONTROL PRINTER PROTECTION POLICY
Title Description CSP Support GPO Support User-based Support Machine-based Support
Enable Device control Printing Restrictions Block people from printing via non-corporate printer Yes Yes Yes Yes
List of Approved USB-connected print devices* Allow specific USB printer Yes Yes Yes Yes

* This policy must be used together with Enable Device control Printing Restrictions.

Deploy policy via Intune

For Intune, currently Device Control Printer Protection supports OMA-URI only.

Scenario 1: Block people from printing via any non-corporate printer using Intune

  • Apply policy over machine:

    ./Vendor/MSFT/Policy/Config/Printers/EnableDeviceControl

  • Apply policy over user:

    ./Vendor/MSFT/Policy/Config/Printers/EnableDeviceControlUser

The CSP support string with <enabled/>:

custom edit row.

Scenario 2: Allow specific approved USB printers using Intune

  • Apply policy over machine:

    ./Vendor/MSFT/Policy/Config/Printers/ApprovedUsbPrintDevices

  • Apply policy over user:

    ./Vendor/MSFT/Policy/Config/Printers/ApprovedUsbPrintDevicesUser

The CSP support string with approved USB printers via ‘ApprovedUsbPrintDevices’ property, example <enabled><data id="ApprovedUsbPrintDevices_List" value="03F0/0853,0351/0872">:

edit row.

Deploy policy via Group Policy

If the device isn’t Intune joined, you can also deploy the policy via Group Policy.

Scenario 1: Block people from printing via any non-corporate printer using Group Policy

  • Apply policy over machine:

    Computer Configuration > Administrative Templates > Printer: Enable Device control Printing Restrictions

  • Apply policy over user:

    User Configuration > Administrative Templates > Control Panel > Printers: Enable Device control Printing Restrictions

enable device printing restrictions.

Scenario 2: Allow specific approved USB printers using Group Policy

  • Apply policy over machine:

    Computer Configuration > Administrative Templates > Printer: List of Approved USB-connected print devices

  • Apply policy over user:

    User Configuration > Administrative Templates > Control Panel > Printers: List of Approved USB-connected print devices

list of approved usb connected print devices.

View Device Control Printer Protection data in Microsoft Defender for Endpoint portal

The Microsoft 365 Defender portal shows printing blocked by the Device Control Printer Protection policy above.

Kusto

DeviceEvents
| where ActionType == 'PrintJobBlocked'
| extend parsed=parse_json(AdditionalFields)
| extend PrintedFile=tostring(parsed.JobOrDocumentName)
| extend PrintPortName=tostring(parsed.PortName)
| extend PrinterName=tostring(parsed.PrinterName)
| extend Policy=tostring(parsed.RestrictionReason) 
| project Timestamp, DeviceId, DeviceName, ActionType, InitiatingProcessAccountName, Policy, PrintedFile, PrinterName, PrintPortName, AdditionalFields
| order by Timestamp desc

advanced hunting.

You can use the PnP event to find the USB printer used in the organization:

Kusto

//find the USB Printer VID/PID
DeviceEvents
| where ActionType == "PnpDeviceConnected"
| extend parsed=parse_json(AdditionalFields)
| extend DeviceDescription = tostring(parsed.DeviceDescription) 
| extend PrinterDeviceId = tostring(parsed.DeviceId) 
| extend VID_PID_Array = split(split(PrinterDeviceId, "\\")[1], "&")
| extend VID_PID = replace_string(strcat(VID_PID_Array[0], '/', VID_PID_Array[1]), 'VID_', '')
| extend VID_PID = replace_string(VID_PID, 'PID_', '')
| extend ClassId = tostring(parsed.ClassId) 
| extend VendorIds = tostring(parsed.VendorIds) 
| where DeviceDescription == 'USB Printing Support'
| project Timestamp , DeviceId, DeviceName, ActionType, DeviceDescription, VID_PID, ClassId, PrinterDeviceId, VendorIds, parsed
| order by Timestamp desc

advanced hunting


Source : Official Microsoft Brand
Editor by : BEST Antivirus KBS Team

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Tagged: MicrosoftMicrosoft for Endpoint

Related Articles

  • All about Microsoft

  • Overview of Microsoft 365 Lighthouse

  • Microsoft Defender for Business (preview) – Frequently asked questions and answers

  • Get help and support for Microsoft Defender for Business (preview)

  • Manage your custom rules for firewall policies in Microsoft Defender for Business (preview)

  • Firewall in Microsoft Defender for Business (preview)

ask or enter a search term

Top Rated Posts

5 (1)

Identity Protection – Enrolment/Registering (TotalAV)

5 (1)

All about Bitdefender Antivirus

5 (1)

Base Filtering Engine not found (Kaspersky)

5 (1)

[KB7857] Set up an HTTPS/SSL connection for ESET PROTECT (8.x) Linux

5 (1)

Installing on iPhone & iPad

About

We are BEST Antivirus , Trusted Comparison and Cheap Antivirus Software 2020. KBS is Knowledge Base and Support : This page was created to guide customers through the installation and to resolve all the common errors of anti-virus software.

Partners

› Avast
› AVG
› BitDefender
› ESET
› Trend Micro
› All Partners

Resources

› Store
› Advertise
› Brand Reviews
› Review Platforms
› Contact Page
› Knowledge Base

  • Install & Activate
  • Troubleshooting
© Copyright by BEST Antivirus by SSG Limited