LabStats works perfectly fine on computers frozen with Deep Freeze, even at the default configuration. You’ll obviously need to install the client while the machine is thawed, but beyond that, there isn’t anything specific that you need to do. To protect against some possible data loss, you might consider making use of a ThawSpace, which will preserve locally tracked data in the event of a reboot while the station is offline. This will also preserve settings from your LabStats instance so that they don’t need to be reloaded every time the station reboots.
Another possible instance where a ThawSpace may be helpful is if a logout script forces a reboot with each logout. Even if a reboot does not occur with each logout, it may still be desirable to redirect, though it’s not necessary to do so given that LabStats infers an end-of-record. This means that if a station suddenly stops checking-in, the entire record will not be lost.
You can redirect the C:\ProgramData\LabStats folder to a ThawSpace using Data Igloo or a symbolic link (Mklink).
Redirecting Using a Symbolic Link (Mklink)
- Thaw the client machine.
- Navigate to the ThawSpace and create a new folder called “LabStats”.
- This is generally the T drive, but a network drive can be used if it has a letter associated with it.
- Create a symbolic link by running Command Prompt as an administrator and enter the following command:
- mklink /d C:\ProgramData\LabStats T:\LabStats
- This will create a new “LabStats” folder in the ProgramData folder with a symbolic link to the one in the ThawSpace.
- Run the LabStats Client Installer as normal.
- When asked about starting the service, click No.
- To confirm that the link is working, navigate to the LabStats folder in the ThawSpace (i.e. T:\LabStats) and verify that the files are also listed there.
- Reboot the frozen machine, and the client will now track data correctly.
Updating the LabStats Client
LabStats will automatically detect the presence of the symbolic link and will prevent automatic updates to those stations. If you want to further restrict which stations will not update automatically, you can add a blank text file called “noupdate.txt” to C:\ProgramData\LabStats. If you would like to turn off automatic updates altogether, you can do so in the LabStats Portal under Admin > Settings > Client Update Settings.
Note: If you elect to create a symbolic link of LabStats to your ThawSpace and then you update the LabStats client, you will need to recreate that symbolic link after the update has finished. This is because the update process will remove the original C:\ProgramData\LabStats folder and then create a new one, breaking the symbolic link in the process.
Updating LabStats manually is very easy, and can be done simply by running the client installer over the top of your existing installation. There is no need to uninstall first, though you certainly can if you are looking for a clean install. This can be done either hands-on or through the use of a deployment tool or script.
Have questions? Contact firstname.lastname@example.org.