Blueprint Enterprise: Force the Print Scout to require login for every print job
  • 23 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Blueprint Enterprise: Force the Print Scout to require login for every print job

  • Dark
    Light
  • PDF

Article summary

Blueprint Enterprise: Force the Print Scout to require login for every print jobQuestion


GOAL:

Force Print Scout to require a login for every print job.  

SUPPORTED ENVIRONMENTS:

  • Pharos Blueprint Enterprise v5.2 Service Pack 3 or newer

  • Pharos Blueprint Enterprise v5.2 Release 2 or newer.

  • Pharos Print Scout for Blueprint v7.7.0.2216 (Windows) or newer


NOTE: This procedure is only valid for Pharos Print Scout installed on a Microsoft Windows platform. The Pharos Print Tracker for MacOS does not offer this capability.  

RESOLUTION:  

This solution is only viable if the Print Scout has already been installed with the /authenticateusers  installation option.

  1. Run Microsoft Windows Registry Editor (regedit.exe) as an Administrator on the workstation.

  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PharosSystems\PrintAgent\PrintTracker\PrintProfiler

  3. Add a new DWORD named AuthenticateEveryJob.

  4. Change its value to 1.

  5. Restart the Pharos Systems Print Scout service.

This can be readily incorporated into a Visual Basic file and appended to a Print Scout deployment through Microsoft SCCM or other software distribution platforms. The example script below can be used on both 32-bit and 64-bit Windows platforms.  

'Make the Registry Entry
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "." 
Set objCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
objCtx.Add "__ProviderArchitecture", 32
Set objLocator = CreateObject("Wbemscripting.SWbemLocator")
Set objServices = objLocator.ConnectServer("","root\default","","",,,,objCtx)
Set objStdRegProv = objServices.Get("StdRegProv")
strKeyPath = "SOFTWARE\PharosSystems\PrintAgent\PrintTracker\PrintProfiler"
strEntryName = "AuthenticateEveryJob"
dwValue = 1
objStdRegProv.SetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath, strEntryName, dwValue,,objCtx
'Stop Service
strServiceName = "Pharos Systems Print Scout Service"
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name ='" & strServiceName & "'")
For Each objService in colListOfServices
objService.StopService()
Next
'Start Service
strServiceName = "Pharos Systems Print Scout Service"
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
For Each objService in colListOfServices
objService.StartService()
Next

NOTE: If the Print Scout is in "Secure Release" mode, the computer will require rebooting after the Registry change due to service load order dependencies.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.