TN 3704: Custom “Deep Freeze” configuration to avoid interference with KeyAccess

The K2 client, KeyAccess, writes data to local private files in order to remember important state information such as Offline Usage Events. If Deep Freeze is used on the same computer as KeyAccess, it must be configured to avoid overwriting this private data.

The essential idea in avoiding interference between Deep Freeze and KeyAccess is to make sure that KeyAccess stores its "Application Data" in a location that will never be "frozen" by Deep Freeze (e.g. will never be periodically restored to an initial state). This will require client computers to be set up with a second "thawed" volume in addition to the main "frozen" system volume.

First, with KeyAccess installed as usual on the System volume, set up its initial state:

  1. Stop KeyAccess
  2. With Deep Freeze, thaw the system volume
  3. Start KeyAccess and let it run for 30 seconds or so
  4. Stop KeyAccess again

KeyAccess private data is stored in the file:

C:\Documents and Settings\All Users\Application Data\KeyAccess
or on Mac, in the file:
/Library/Preferences/KeyAccess

This file must be moved to the second thawed drive and replaced in the original location by a junction or link.

Follow the platform specific instructions below, after which you can freeze the system volume and start KeyAccess.

Win XP:

On Win XP, the System volume must be formated as NTFS in order to create a junction:

  1. Download Junction from Microsoft.
  2. Copy
    C:\Documents and Settings\All Users\Application Data\KeyAccess
    to a directory on a thawed drive where you will store the KeyAccess data - e.g.
    E:\Data\KeyAccess
  3. Delete
    C:\Documents and Settings\All Users\Application Data\KeyAccess
  4. In a DOS prompt, do:
    junction "C:\Documents and Settings\All Users\Application Data\KeyAccess" "E:\Data\KeyAccess"

Win 7 (and higher):

  1. Copy
    C:\Documents and Settings\All Users\Application Data\KeyAccess
    to a directory on a thawed drive where you will store the KeyAccess data - e.g.
    E:\Data\KeyAccess
  2. Delete
    C:\Documents and Settings\All Users\Application Data\KeyAccess
  3. In a DOS prompt, do:
    mklink /J "C:\ProgramData\KeyAccess" "E:\Data\KeyAccess"

OS X:

  1. Create a directory on a thawed drive where you will store the KeyAccess data - e.g.
    /Volumes/Thawed/Data
  2. sudo mv  /Library/Preferences/KeyAccess /Volumes/Thawed/Data/KeyAccess
  3. sudo ln -s   /Volumes/Thawed/Data/KeyAccess /Library/Preferences/KeyAccess

On a somewhat related issue, when cloning a computer image, either to a physical disk or as a virtual computer image file, similar considerations apply - the private data preference files listed above should be excluded from the cloned image. For details regarding other settings that should also be excluded, read the cloning documentation.