odopey Posted September 21, 2004 Posted September 21, 2004 Hey,I've been reading a lot of the threads but haven't really found what I'm looking to do. I'd like to create a WinPE cd that is bootable and will connect to my server and then start a Window XP Pro SP 2 Unattended install. I'm sure it can be done just not sure how to go about it.Can someone point me in the right direction.Thanks,
likuidkewl Posted September 21, 2004 Posted September 21, 2004 Just look in the OPK.chm or the Winpe.chm depending on version. It is well documented
edg21 Posted September 22, 2004 Posted September 22, 2004 Once you have network support enabled, you can use this. Maps network drive, starts services needed by diskpart, partitions the hdd, formats the hdd, copies i386 folder from network to local hdd, then starts the install from the hdd.net use u: \\bender\unattendnet start dmservernet start dmadmindiskpart /s diskpart.cfgformat c: /fs:NTFS /v:"" /Q /Yxcopy u:\cabs\xp\vlk c:\i386 /E /Ic:\i386\winnt32.exe /s:c:\i386 /unattend:u:\config\xp\vlk\unattend.txt /syspart:C: /NOREBOOT
TheWave Posted September 28, 2004 Posted September 28, 2004 can you post your diskpart's configuration script?
Jotnar Posted September 28, 2004 Posted September 28, 2004 You could use something like this:select disk 0cleancreate partition primary size=20480select partition 1activeassign letter=cCheers
edg21 Posted September 28, 2004 Posted September 28, 2004 can you post your diskpart's configuration script?Select Disk 0CleanCreate Partition primaryActiveAssign Letter=cexit
TheWave Posted September 29, 2004 Posted September 29, 2004 thanks.I have bartspe and tried to run xp's install from it and it just exit the setup after few minutes without any notice. The copy\diskpart works file i tried to run it manually (no unattend script) too it i have the same problem. Any ideas? Should i try winpe?
Jotnar Posted September 29, 2004 Posted September 29, 2004 I've run 2K/XP setup before in BartPE, so thats not the problem. Try it with just the /s and /syspart .Cheers
TheWave Posted September 29, 2004 Posted September 29, 2004 Same s***. It goes on as usuall for few minutes then the setup just disapears leaving two folders at c:\. Is there a log file or something else i could do to find out whats wrong?
edg21 Posted September 30, 2004 Posted September 30, 2004 Same s***. It goes on as usuall for few minutes then the setup just disapears leaving two folders at c:\. Is there a log file or something else i could do to find out whats wrong?hmmmm... I changed mine around a bit, the following is from my os_install.cmd. I will post the entire thing when I'm done.Variable Values:UNATTEND_SHARE=\\bender\unattendNTFS=/fs:NTFS /v:"" /Q /YDISKPART_CFG=u:\config\winxp\vlk\diskpart.cfgFORMAT_CFG=%NTFS%CAB_LOCATION=u:\cabs\xp\vlk\i386UA_FILE=u:\config\winxp\vlk\unattend.txtSETUP_COMMAND=winnt32.exe /s:%CAB_LOCATION% /unattend:%UA_FILE% /syspart:C: /tempdrive:C: /NOREBOOTCommands Used:net use u: %UNATTEND_SHARE%net start dmservernet start dmadmindiskpart /s %DISKPART_CFG%format c: %FORMAT_CFG%%CAB_LOCATION%\%SETUP_COMMAND%
piro Posted September 30, 2004 Posted September 30, 2004 TheWave,It goes on as usuall for few minutes then the setup just disapears leaving two folders at c:\that's normal man, the winnt32 process copied the setup files ($win_nt$.~bt & $win_nt$.~ls) and prepared the c: drive and just existed (trying to restart computer but it's not possible in winpe). all you have to do now is restart your computer yourself, and the setup will start auomatically. (don't expect to install windows completely from winpe).piro
TheWave Posted September 30, 2004 Posted September 30, 2004 Stupid me... yea it works i just had to restart. Thank you. I have one more question though, how can i restart using batch file in bartspe with xpe?
Metzen Posted September 30, 2004 Posted September 30, 2004 Stupid me... yea it works i just had to restart. Thank you. I have one more question though, how can i restart using batch file in bartspe with xpe?Use the following line at the end of your script:EXITI am assuming that your install script is the STARTNET.CMD file. If it's not, you'll have to find a way to get your batch file to terminate STARTNET.CMD to reboot automatically.
TheWave Posted September 30, 2004 Posted September 30, 2004 exit just exit the current batch doesn't it? and where is this "startnet.cmd" i couldn't find it. my install script it standalone script that exist on another computer.
etorbenson Posted September 30, 2004 Posted September 30, 2004 Use the following line at the end of your script:EXITI am assuming that your install script is the STARTNET.CMD file. If it's not, you'll have to find a way to get your batch file to terminate STARTNET.CMD to reboot automatically.Is there any way to force WinPE closed? My setup routine relies on an HTA, so once MSHTA runs, I lose control of the STARTNET.CMD file. The standard WinXP SHUTDOWN.EXE doesn't work; it just says "The device is not ready." Has anyone gotten WinPE to successfully reboot after executing a command other than "exit"?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now