October 15, 200718 yr I am trying to achive an unattended installation of Windows XP with SP2What I want to do is to PXE-boot to an Windows PE v2, unattended partition and format the harddidsk and then install Windows XP unattended.But the unattended partition and formating of the disk fails.I am using Diskpart.My commands basicly looks like this.[startnet.cmd]drvload x:\windows\lan\netamd.infwpeinitnet use z: \\server01\reminst /USER:[My username] [My password]x:\windows\system32\Wscript.exe z:\Share\Scripts\install.vbs[install.vbs]Set WshShell = WScript.CreateObject("WScript.Shell")WshShell.Run "diskpart /s z:\Share\Scripts\disk.txt", 1, TrueWshShell.Run "CMD.exe /C echo y | format C: /FS:NTFS /Q /V:System", 1, TrueWshShell.Run "CMD.exe /C z:\Share\I386\winnt32.exe /syspart:c: /s:z:\Share\I386 /unattend:z:\Share\unattend.txt /copysource:lang", 1, true[disk1.txt]select disk 0cleancreate partition primaryselect partition 1activeassign letter = CThe installation starts and after the first boot I get the errorA disk read error occurredPress Ctrl-Alt-Del to restartCan anyone help me with this one?!I have tried a numbers of different ways, but nothing seems to work.
October 15, 200718 yr Author I feel SOOOOO stupid.I removed /copysource:lang and then it started.:-)Well, I might come back when I bump into more problem.Or perhaps someone has a few tip to give me on the way.
Create an account or sign in to comment