Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
August 27, 2006
A. You can use the following script, which you can download here. You can call the script from an OSD phase (the state restore phase is the most logical option), and it will create the archive_osd.sms file in the correct location and stop the deletion of the minint folder structure.
Option Explicit
Dim targetPath, env, file1, fso set env = CreateObject("OSD.Environment")
targetPath = env("OSDTARGETDRIVE") Set fso = CreateObject("Scripting.FileSystemObject") set file1 = fso.CreateTextFile(targetPath & "MININTarchive_osd.sms",TRUE) file1.Close
Set fso = Nothing
The figureshows this stop_minint_delete.vbs from being called from the state restore phase.
Read more about:
MicrosoftYou May Also Like