DS 6.9 WinPE 2.1 Replace Tokens
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




actually
I just finished with my 6.8 install. I imported the jobs which kinda eliminated my need to do a change in sysprep as i just bunched it together with that. The A client I pushed out in a mass way, throught the remote agent installer. Im not saying that your doing it wrong or even that I am right but I know that everything is good for me and that is how I did it.
This script works for me
This script works for me using WinPE and DS 6.8/6.9
Thanks for the reply I will
Thanks for the reply I will try that....
On another note, have you had issues with imaging when your image file is on another physical server. I configured all my mapped drives to point to the share on the other server and set map drives to map using my bootworks winpe automation partition, and it is still not working.
Virgil C. Palisoc
Information Systems Analyst II
Data Systems Unit
San Diego Police Department
vpalisoc@pd.sandiego.gov
Check out Altiris KB
Check out Altiris KB article 19493
https://kb.altiris.com/article.asp?article=19493&p...
Since this was a new server
Since this was a new server setup, I found out that the servers were not even in DNS. Once they put the servers in the DNS table, everything worked like it was supposed to.
Virgil C. Palisoc
Information Systems Analyst II
Data Systems Unit
San Diego Police Department
vpalisoc@pd.sandiego.gov