Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

DS 6.9 SP3 and Windows 7 Deployment

Updated: 12 Jul 2010 | 3 comments
williama's picture
0 0 Votes
Login to vote

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

 

Group Ownership:

Comments

tkight's picture
07
Jan
2010
0 Votes 0
Login to vote

Same issue

I'm having the same issue of not being able to update the answer file, have you found a solution?

Nelo's picture
08
Jan
2010
2 Votes +2
Login to vote

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

tkight's picture
11
Jan
2010
0 Votes 0
Login to vote

That did it

That worked, thanks much.