We just upgraded to DS 6.9 from Ds 6.1. We are going from a DOS based imaging process to WinPE 2.1. In our DOS based imaging process, everything worked out great with the Replace Tokens script. In WinPE the image comes down fine (FAST!!), but the replace tokens script does not run. Here is my script:
=============================================================
REM token replacement on the inf file
REM the next line is a reserved keyword, the REM statement is so DOS will ignore the command
REM Replacetokens .\sysprep\SYSPREP.INF .\temp\%#!computer@name%.TXT
\\pdhq_altds01\express\RDEPLOY\WINDOWS\FIRM.EXE copy \\pdhq_altds01\express\temp\%#!computer@name%.TXT PROD:\sysprep\SYSPREP.INF
REM get rid of the old ACLIENT.CFG file
\\pdhq_altds01\express\RDEPLOY\WINDOWS\FIRM delete PROD:ACLIENT.CFG
==========================================================
Of course everthing is in one line. In the FIRM.LOG this is what it's reporting:
==========================================================
Error description:
The volume could not be locked.
Possible causes:
The volume is in use by the operating system or an application.
Possible resolutions:
Close all other applications and try again.
Exclude the volume from the task.
Exit Windows before running the task.
==================== Technical details ====================
Logfile = created Mon Oct 06 14:23:06 2008
Build = firm.exe 6.9 (8853)
Cmdline = \\pdhq_altds01\express\RDEPLOY\WINDOWS\firm.exe delete PROD:ACLIENT.CFG
Status = 105 (0x69)
Source file = apps\firm\firm.cpp
Line number = 714 (0x2ca)
Stack trace = 0x404026 0x405fb3 0x409781 0x4010ef &Known=0x455060
Imaging library revision = 8853 (win32-x86-release
build, Fri Feb 22 19:30:12 2008)
=========================================================
Has anyone have any success in the WinPE environment? Or has seen this issue come up before?
Thanks,
Virgil