Problem or Issue

User settings in Zoom are not retained in large Citrix/Terminal Service environments or environments where devices are reset back to a stock configuration.

Cause

Several of the configuration settings for PP Zoom are stored in the registry in the HKEY_CURRENT_USER key.  Due to this, global settings are often difficult to set.  Furthermore, for customers that have a large multi-server Citrix or Terminal Services environment, or customers that have environments that do not retain user registry settings, these settings will not store in perpetuity.  Below is the information about where in the registry this information is stored as well as a sample script of how to set the information using VBScript.  

The script below is a sample and will need to be modified to fit your needs.  The writing and support of the custom script for end-users is not part of the standard McKesson support agreement and any custom work to implement this script is the responsibility of the customer as are any issues that arise when trying to implement this solution.  McKesson recommends that you test this solution before implementing it into a production environment.  This document involves editing the Windows registry (either by script or by hand) which should only be attempted by qualified IT personnel.

Solution

The user settings in the registry can be input manually or by a script that can be part of a logon routine that injects the settings into the registry.

Settings that are stored in the registry

Scan Folder
File Prefix
Loaded File Handling
Delete loaded
Archive loaded
Archive Folder
Archive Prefix
Expanding explorer window
Expanding image window
Clear patient/insurance data after save
Clear note/attachment data after save
Default note date to date of last file in list
Default note date to current date
Default note date to last chosen date
Clear note date


The following is a sample of a registry export of the Zoom configuration settings:

 

[HKEY_CURRENT_USER\Software\Physician Micro Systems, Inc.\Practice Partner]

"Percents"=""
"Increment"=".007752"
"LoadedFileHandling"="Delete"
"ArchivePath"="P:\\Scans\\Archive\\"
"ArchivePrefix"="Archive_"
"AcquirePath"="P:\\Scans\\ "
"FilePrefix"="Scan_"
"ExpandingExplorer"="True"
"ExpandingImage"="False"
"ClearPatientData"="True"
"ClearNoteData"="True"
"DefaultNoteDateType"="1"

The following is a sample VBScript to insert the values into the registry:

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\", "" ,"REG_SZ"

WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\AcquirePath", "P:\"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ArchivePrefix", "Archive_"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ClearNoteData", "True"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ClearPatientData", "True"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\DefaultNoteDateType", "2"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ExpandingExplorer", "True"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ExpandingImage", "False"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ExplorerLock", "True"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\FilePrefix", "Scan_"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\Increment", ""
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\LoadedFileHandling", "Delete"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\Percents", ""
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\ScanType", "2"
WshShell.RegWrite "HKCU\Software\Physician Micro Systems, Inc.\Practice Partner\DefaultNoteDateType", "2"
set WshShell = Nothing


Additional Notes:

The Default Titles that can be configured and used from the drop down list are stored in the [Scan] section of ppart.ini
[Scan]
ApplicationName=PPZoom.exe
DefaultTitles_All=Zoom test|Scan Test|defaultzoomtitle