strekship Posted March 28, 2004 Share Posted March 28, 2004 I would like to make a batch file so that my version of windows pe will automaticly install itself to the hdd. What commands do i need to put in. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 28, 2004 Share Posted March 28, 2004 Read this post and then add the needed Diskpart/Xcopy commands:http://www.msfn.org/board/index.php?showtopic=14316&st=0Wait where are you installing from? Link to comment Share on other sites More sharing options...
strekship Posted March 28, 2004 Author Share Posted March 28, 2004 I want to boot windows pe that has explorer added to it from the cd and be able to click a .cmd file and have it install all of the files to the hdd and make it bootable. Link to comment Share on other sites More sharing options...
strekship Posted March 28, 2004 Author Share Posted March 28, 2004 Which method should i use? the new one or the old one? Link to comment Share on other sites More sharing options...
likuidkewl Posted March 28, 2004 Share Posted March 28, 2004 So if your partition is already setup then it should be easy due to negating the need for diskpart.so just ex.mkdir %driveletter%\minintXcopy thefiles %driveletter%\minintXcopy ntdetect %driveletter%easy man just try it out.To create a bootable WinPE disk (32-bit versions of WinPE)***Please note this is only the instructions on how to install WinPE and WinPE only to the hard drive, you must modify these instructions to get a "Dual boot"***Boot the destination computer into WinPE using a WinPE CD. Create a formatted and active partition. On the active partition, create a directory called C:\Minint. You must name the directory "Minint". Copy the contents of build_location\i386 to C:\Minint. For example:xcopy "C:\Build.x86\i386\*.*" C:\Minint /Swhere C:\Build.x86 is build_location.Copy Ntdetect.com from build_location to the root of the destination hard disk. For example:xcopy "C:\Build.x86\ntdetect.com" C:\where C:\Build.X86 is build_location.On the destination hard disk, copy C:\Minint\setupldr.bin to C:\ntldr. For example:xcopy "C:\Minint\setupldr.bin" C:\ntldrRestart the destination computer. The computer starts using WinPE. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 28, 2004 Share Posted March 28, 2004 Use the new version it is stated in the post as to why. Link to comment Share on other sites More sharing options...
strekship Posted March 28, 2004 Author Share Posted March 28, 2004 How do i use diskpart? I am haveing trouble creating a partition. can you give me commands? i just want a default C:. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 28, 2004 Share Posted March 28, 2004 Diskpart is not meant for existing installations, it is for a fresh hard drive. But here is the info:http://www.microsoft.com/resources/documen...s/diskpart.mspxEDIT--diskpart /s <path>\diskpart.txtFORMAT S: /FS:NTFS /V:My_Labelwhere diskpart.txt would contain:REM Select future S:\ driveSELECT DISK 1REM Wipe the disk cleanCLEANREM Create a single Primary PartitionCREATE PARTITION PRIMARYREM Set the drive to mount at S:\ASSIGN LETTER=SSource:http://www.jsiinc.com/SUBO/tip7200/rh7282.htm Link to comment Share on other sites More sharing options...
strekship Posted March 28, 2004 Author Share Posted March 28, 2004 Ok, i did everything, but it will not boot to indows pe. It says that there is not os installed. do i need a boot.ini? Link to comment Share on other sites More sharing options...
likuidkewl Posted March 28, 2004 Share Posted March 28, 2004 I guess I should have asked which version of windowsPE you are using, when you got your OPK was there a SP1 sticker on it, or in the documentation does it say you can use it to build from Server 2003? Link to comment Share on other sites More sharing options...
strekship Posted March 29, 2004 Author Share Posted March 29, 2004 I don't know. i got the CD off of ebay and then made an iso of it and added explorer to it using cubies tutorial. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 29, 2004 Share Posted March 29, 2004 Well then try the old RTM(pre SP1) way of doing it then. Link to comment Share on other sites More sharing options...
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