Print Director with Windows App Control
Print Director with Windows App Control
Some organisations lock down their computers with App Control for Business (formerly Windows Defender Application Control, or WDAC). An App Control policy lets Windows run only the code it allows, usually by the publisher that signed the file. It checks every program and every DLL a program loads, so an unsigned DLL is blocked even when the program that loads it is signed.
From Print Director 2.5.16, every program and DLL that the Print Director installers and updaters put on a computer carries a valid digital signature. This article lists what a policy must allow for Print Director to run.
What is signed
- Print Director’s own programs and DLLs are signed by Blue Swift Software CC.
- Third-party DLLs that their publishers ship unsigned (for example SQLite, Serilog, Dapper and the Syncfusion controls) are signed by Blue Swift Software CC when we package them.
- Third-party DLLs that their publishers sign keep their publisher’s signature (see the table below).
- The DLLs packed inside PDUpdate and the setup program
PrintDirector.exeare signed the same way. When the program starts, it writes them to a temporary folder and loads them from there, so the policy checks them like any other DLL. - The updaters (
PDServerUpdate.exe,PDAgentUpdate.exeand the others) and the helper DLLs they unpack while they run are signed by Blue Swift Software CC. - The MSI installers are signed, and so is the program that carries out their setup actions,
PDSetupActions.exe(Blue Swift Software CC). Windows Installer writes it toC:\Windows\Installerwhile an installer runs and deletes it afterwards.
Publishers to allow
Allow these publishers in the policy. Microsoft’s own example policies already allow Microsoft.
| Publisher (signing certificate) | Files | Needed for |
|---|---|---|
| Blue Swift Software CC | All Print Director programs and DLLs, the updaters, and third-party DLLs we sign | Every Print Director component |
| Microsoft Corporation, Microsoft Windows, .NET | .NET and SQL Server client libraries | Every Print Director component |
| Json.NET (.NET Foundation) | Newtonsoft.Json.dll |
Every Print Director component |
| Yang Li | SharpSnmpLib.dll |
PDAgent |
| KONICA MINOLTA, INC. | The Konica Minolta SDK libraries | Resource Manager (Konica Minolta integrated devices) |
| HP Inc. | OXPdLib-1.8.4.dll |
Resource Manager (HP integrated devices) |
| WiX Toolset (.NET Foundation) | A helper of the installation wizard inside the MSI installers | Installing with the MSI installers |
A publisher rule (the signing certificate’s issuer and publisher name) is the most practical choice: it keeps working when Print Director is updated, because each new version is signed with the same certificate.
The Crystal Reports runtime
PDReports, and scheduled report exports on the PDServer computer, use SAP’s Crystal Reports runtime, which you install from SAP, not from Print Director. SAP signs almost all of the runtime, so allow the publisher SAP SE. Seven of its files are unsigned and must be allowed by file hash (or by a path rule on the runtime folder, if your policy allows path rules):
In C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86:
slcryptokernel.dlllibcrypto-3.dlllibssl-3.dlllibcurl.dllu25azalea.dllusp10.dlldotnet\iPoint\log4net.dll
And in the Global Assembly Cache: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\log4net\v4.0_2.0.12.0__669e0ddf0bb1aa2a\log4net.dll (the same file as the one in dotnet\iPoint).
Allow these on every computer that runs PDReports, and on the PDServer computer if you use scheduled report exports. A file hash changes when the runtime is updated, so create the hash rules again after installing a new version of the Crystal Reports runtime.
If one of these files is blocked, PDReports shows Blocked by application control and names the file when a report is opened.
Dynamic Code Security
Microsoft’s example policies turn on the option Dynamic Code Security, under which .NET Framework programs cannot load DLLs from memory, even signed ones. PDUpdate from versions before 2.5.16 loads its DLLs that way and does not start under such a policy. PDUpdate 2.5.16 loads them from files, so always run the 2.5.16 PDUpdate to update.
Updating from an earlier version
Print Director versions before 2.5.16 include unsigned DLLs, so under an App Control policy:
- PDServer and PDAgent update themselves as usual after PDUpdate has updated the database. They run as a Windows service, which starts the updater directly.
- Resource Manager, PDReports and DBTools cannot start, because the policy blocks their unsigned DLLs, so they cannot download and run their own update. Run their updaters by hand, as an administrator, from
C:\ProgramData\Blue Swift Software\Print Director\Updateson each computer:ResourceManagerUpdate.exe,PDReportsUpdate.exeandDBToolsUpdate.exe. Once updated, they start normally.
The simplest way to avoid this is to update every computer to 2.5.16 before you enforce the policy, or to keep the policy in audit mode while you update.
Installing on a new computer
From 2.5.16, Print Director installs, and uninstalls, under an enforced App Control policy that allows the publishers above. The installers’ setup actions (creating the Print Director database, closing running Print Director programs, stopping the services, finding the folder of an earlier installation, and removing the application folder at uninstall) run in the signed program PDSetupActions.exe, which the Blue Swift Software CC publisher rule allows. This works with PrintDirector.exe, by double-clicking an MSI, and with a silent installation such as Group Policy or Intune.
Install the two prerequisites before you enforce the policy. Print Director setup can install them for you, but under the policy their own installers are blocked, because they contain unsigned helper DLLs:
- SQL Server Express: the Microsoft OLE DB Driver and ODBC Driver 17 installers inside SQL Server Express setup are blocked, so the database engine is not installed. The ODBC driver’s error asks you to install the Visual C++ 2017 Redistributable. That message is misleading: the real cause is the blocked DLL.
- The Crystal Reports runtime: SAP’s installer stops with Error 1723. A DLL required for this install to complete could not be run.
For these two, Event Viewer shows events 3033 and 3077 for a file named like C:\Windows\Installer\MSI45AF.tmp, the installer’s helper DLL. Install SQL Server (or point Print Director at an existing SQL Server) and the Crystal Reports runtime before the policy is enforced, or while it is in audit mode, then install Print Director.
Use the MSI installers as we ship them. Windows refuses to install an MSI whose signature is not valid (error 1625). Changing an MSI after it is signed breaks its signature, and that includes an MSI to which Resource Manager has added database connection settings. Under an enforced policy, install the MSI as shipped and enter the database connection settings after the installation.
Upgrading an installation older than 2.5.16 with an MSI works under the policy too, and stays in the folder the older version was installed in. While the older version is removed, the policy blocks its own setup actions (its unsigned helper DLL, event 3033 for a file named like C:\Windows\Installer\MSI45AF.tmp). That does no harm: the 2.5.16 installer closes the running Print Director programs itself, and the older version’s services are stopped and removed by their own programs, which are signed.
When something is blocked
Windows records each blocked file in Event Viewer, under Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational:
- Event 3077: a file was blocked (enforced policy).
- Event 3076: a file would have been blocked (policy in audit mode).
- Event 3033: a file did not meet the policy’s signing requirements. For a Windows Installer helper DLL (
C:\Windows\Installer\MSI*.tmp) this is a block even when no event 3077 follows it.
Each event names the blocked file and the program that tried to load it. A DLL loaded from memory (see Dynamic Code Security) is not recorded there; the program shows an error instead, mentioning “An Application Control policy has blocked this file” (0x800711C7).
Running the policy in audit mode first, and checking for event 3076 while you use every part of Print Director, is a good way to find anything else your environment needs before you enforce it.
| Document revision date: 2026/12/03 Software version: 2.5.16.7 |
