Created on
10-29-2024
02:08 AM
Edited on
03-13-2025
07:10 AM
By
Jean-Philippe_P
Description | This article describes how to find a Windows printer UUID. |
Scope | FortiDLP. |
Solution |
For print policies such as Sensitive documents printed using the physical printer, there is the option to configure Printer unique identifiers (UUIDs) for agent v10.2.0+ for macOS and Linux and v10.4.0+ for Windows. This article details how to find the UUID of a printer on Windows.
Note: As printer UUIDs are linked to hardware, some printers, such as Microsoft Print to PDF will not have a UUID associated with it and will therefore return an empty value. Additionally, printers connected via USB will not have a UUID.
PowerShell method: Download the script get-printer-uuid.ps1, attached at the bottom of this article.
In an administrator PowerShell terminal, navigate to the folder containing the downloaded file, and run it by typing:
.\get-printer-uuid.ps1 <printer-name>
This will return the UUID of the printer. Alternatively, it is possible to run the script with no parameters to return the UUIDs of all printers found on the machine:
.\get-printer-uuid.ps1
Manual method: The PowerShell method is recommended for simplicity. However, if for some reason it is not possible to run the script, or it returns an error, the manual GUI approach is detailed here.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.