patflat Posted October 15, 2007 Posted October 15, 2007 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.
patflat Posted October 15, 2007 Author Posted October 15, 2007 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.
Arie Posted October 15, 2007 Posted October 15, 2007 Perhaps you can better post your questions in the Windows PE thread?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now