FARONICS DEEP FREEZE ENTERPRISE - TREND MICRO OFFICESCAN 6-13-2005 Manual - page 6
6
DFC Status Query
Syntax
Description
DFC get /ISFROZEN
Queries workstation if it is Frozen. Returns 0 if Thawed.
Returns 1 if Frozen.
Configuration Update
Syntax
Description
DFC password /CFG=[path] depfrz.rdx
Replaces Deep Freeze configuration information.
Works onThawed or Frozen workstations.
Password changes are effective immediately.
Other changes require restart.
Example Batch File
Below is a sample batch file that can be modified for use with any antivirus software that supports
updating through a command line.
@ECHO OFF
\\SERVER\SHARE\FOLDER\DFC.EXE get /isfrozen
IF ERRORLEVEL 1 GOTO FROZEN
IF ERRORLEVEL 0 GOTO THAWED
ECHO Errors where encountered running the command line control on this
workstation.
:FROZEN
\\SERVER\SHARE\FOLDER\DFC.EXE password /bootthawed
GOTO END
:THAWED
REM **********************************************************************
REM * Insert the command to update the antivirus software here. *
REM **********************************************************************
\\SERVER\SHARE\FOLDER\DFC.EXE password /freezenextboot
REM Send commands to reboot the system.
REM For Windows 95/98/ME
RUNDLL32 SHELL32.DLL,SHExitWindowsEx 2
REM For Windows 2000 (may need to be called 2x)
RUNDLL32 USER32.DLL,ExitWindowsEx 2
RUNDLL32 USER32.DLL,ExitWindowsEx 2
REM For Windows XP
SHUTDOWN -s -t 01
GOTO END
:END