Appendix B: Deep Freeze Update Script - FARONICS DEEP FREEZE ENTERPRISE - PATCH MANAGEMENT 6-26-2009 Manual

Patch management
Table of Contents

Advertisement

Appendix B: Deep Freeze Update Script
The entire script explained in the Logon Patch Maintenance section has been included here. It can
be downloaded from the following address:
ADUpdateScript.zip
' ****************************************************************
' ***
' ***
' *** Author:
' *** Date:
' ***
' *** Associated Files:
' *** <ComputerName>.mar - Used to indicate patch is running
' *** COMPLETE-<ComputerName>.fin - Indicates patch complete
' *** DFC.exe - Deep Freeze Command Line Control
' ****************************************************************
' NOTES:
' The following script will turn off Deep Freeze, run updates and turn on Deep Freeze.
' ********** GLOBAL ASSEMBLIES **********
Set objNet = CreateObject("WScript.NetWork")
' ********** GLOBAL VARIABLES **********
' Modify the UNC path to match that of your server envrionment.
strUNCPath = "\\FarDemo.local\NETLOGON\"
strMarkerFile = objNet.ComputerName & ".mar"
strMarkerCompleteFile = "COMPLETED-" & objNet.ComputerName & ".fin"
' ********** MAIN **********
' Calls all of the other routines...
If UpdateRunning = True Then
RunPatch
RemoveMarker
BootFrozen
Else
If UpdateComplete = False Then
If UserPatchPrompt = True Then
InsertMarker
If Frozen = True Then
BootThawed
Else
RunPatch
RemoveMarker
BootFrozen
End If
Else
' Exit Script
End If
Else
' Exit Script
DF SIMPLE UPDATE SCRIPT SAMPLE
Faronics Corporation
12/29/2005
http://www.faronics.com/Faronics/Documents/DFEnt_
ENTERPRISE
***
***
***
***
***
***
***
***
***
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Deep freeze enterprise

Table of Contents