DS 6.9 SP3 and Windows 7 Deployment
Has anyone been able to successfully deploy Windows 7 using a .img file with the unattended answer file? Below is what I am running. This method worked fine for Vista.
First Run Script
REM REPLACE TOKENS
REM REPLACETOKENS .\Win7\SOURCES\UNATTEND\Autounattendamd64.xml .\Win7\TEMP\%ID%.XML
Second Run Script
REM Distribute HWI Vista Image
SET RDEPLOY=u:\rdeploy\windows\rdeploy.exe
SET IMAGE=u:\Win7\images\x86.img
REM Deploy Win7 Image
%RDEPLOY% -md -f%IMAGE% -noprompt -rescan
REM Sysprep Image Version
mkdir C:\windows\id
date /T > C:\windows\id\ID.txt
time /T >> C:\windows\id\ID.txt
echo %JOBNAME% >> C:\windows\id\ID.txt
echo %JOBUSER% >> C:\windows\id\ID.txt
REM Copy the sysprep answer file
copy ".\win7\Temp\%ID%.xml" "D:\windows\system32\sysprep\unattend.xml" /Y
copy ".\win7\Temp\%ID%.xml" "D:\windows\system32\sysprep\panther\unattend.xml" /Y
pause
REM Dagent
mkdir C:\altiris
mkdir C:\altiris\aclient2
copy u:\agents\aclient\dagent.msi C:\altiris\aclient2\dagent.msi
copy u:\agents\aclient\dagent.mst C:\altiris\aclient2\dagent.mst
start cmd
REM BCEDIT to change boot config..
BCDEDIT /set {bootmgr} device partition=c:
BCDEDIT /set {default} device partition=d:
BCDEDIT /set {default} osdevice partition=d:
pause
exit 0
Comments
Same issue
I'm having the same issue of not being able to update the answer file, have you found a solution?
Try copyin the xml files to
Try copyin the xml files to the c:\windows\panther folder. Sysprep looks at panther first, then sysprep folder for XML files.
--Nelo
That did it
That worked, thanks much.
Would you like to reply?
Login or Register to post your comment.