Jump to content

freakboy9

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About freakboy9

freakboy9's Achievements

0

Reputation

  1. Ok, first I just want to say that I have modified the batch file commands that I use -> @echo off echo Assuming USB = drive E echo ---------------------- pause echo. echo. IF EXIST E:\MiniNT rd /s /q e:\MiniNT IF EXIST E:\Sfw rd /s /q e:\Sfw IF EXIST E:\ntdetect.com del e:\ntdetect.com IF EXIST E:\ntldr del e:\ntldr dir E: echo. echo. echo Copying... md e:\MiniNT md e:\Sfw xcopy "c:\winpe\winpe_build\i386\*.*" e:\minint /s xcopy "c:\winpe\winpe_build\i386\ntdetect.com" e:\ xcopy "c:\winpe\winpe_build\sfw\*.*" e:\Sfw /s copy "e:\minint\setupldr.bin" "e:\ntldr" echo. echo Done pause The USB device is still formatted the same way; plain plain FAT16. When you run this version, it searchs for an exisiting WinPE build and deletes it (IF EXIST lines). I do this so I don't have to keep reformatting it everytime I want to setup a new build of it. [Question #1] I startup my networking on the system by using TheTruth's NE Network Config from http://www.geocities.com/pierremounir/. I have this program stored in the \SFW\PENetCfg\ folder. [Question #2] The E:\Sfw is the directory I place all my custom software that I integrate into the WinPE UI. Any extra extra stuff that I place on the USB I put into yet another seperate folder that this batch will not remove; again, making new builds easy to deply with out loosing a ton of extra stuff. This is just me and may not apply to your build at all. [Question #3] I don't know - I don't do that at all. Doesn't seem to be required for anyting I do. ------- To further explain a few details on what I do -> I have copied the entire source OS CD (in this case, Sever 2003) to C:\WinPE\Server2003CD I have copied the entire *WINPECD*\WINPE\ contents to C:\WinPE\WinPE_Root I created a C:\WinPE\WinPE_Root\Sfw\ directory to place all my custom things. I created a C:\WinPE\WinPE_Root\System32\ directory and place a few extra DLLs in there I put everything in place and then I can create my 'build' (\WinPE_Build\) from the 'root' (\WinePE_Root\) I build the image with this -> @echo off echo Starting process... IF Exist C:\WinPE\WinPE_Build rd /s /q C:\WinPE\WinPE_Build IF Exist C:\WinPE\WinPE_CDROM.ISO del C:\WinPE\WinPE_CDROM.ISO MKIMG.CMD C:\WinPE\Server2003CD C:\WinPE\WinPE_Build C:\WinPE\WinPE_CDROM.ISO PAUSE It will takes my 'root' data, merge it with the Server2003 stuff it needs and dump out the 'build' to C:\WinPE\WinPE_Build. This is from the MKIMG.CMD line. I have also editied the MKIMG.CMD (under the WinPE_Root) file some to do some custom things. For example, I added the following red text into the doucment. if /i "%PLATEXT%" == "%AMD64PLATEXT%" ( if /i "%SRCDIRBINS%" == "" ( REM REM Copy the x86 boot files from the i386 folder on the CD REM copy /y "%SRCDIR%\i386\bootfix.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%SRCDIR%\i386\setupldr.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%SRCDIR%\i386\ntdetect.com" "%WINPEDESTDIR%\%PLATEXT%" ) else ( REM REM Copy the x86 boot files from the wowbins folder REM copy /y "%WINPESRCDIR%\wowbins\bootfix.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%WINPESRCDIR%\wowbins\setupldr.bin" "%WINPEDESTDIR%\%PLATEXT%" copy /y "%WINPESRCDIR%\wowbins\ntdetect.com" "%WINPEDESTDIR%\%PLATEXT%" ) ) REM ********************************************************************** :: Begin echo. echo. echo *********************** echo * Adding Custom Files * echo *********************** echo. xcopy .\sfw\*.* %WINPEDESTDIR%\Sfw /s /e /v /i xcopy .\system32\*.* %WINPEDESTDIR%\%PLATEXT%\System32 /s /e /v /i echo Done adding files... echo. echo. echo add OB1.ini / ob1-blank.ini ... Copy C:\WinPE\WinPE_Root\SFW\OffByOne\OB1.ini C:\WinPE\WinPE_Build\I386\OB1.ini Copy C:\WinPE\WinPE_Root\SFW\OffByOne\OB1-Blank.ini C:\WinPE\WinPE_Build\I386\OB1-Blank.ini echo. echo # add b57xp32 driver [Gig NIC Driver, Dell 2004/05] echo b57xp32.inf b57xp32.sys # Laptop x300, D400, D800 echo b57win32.inf b57w2k.sys # Desktop GX280 copy C:\WinPE\WinPE_Root\SFW\Drivers\b57xp32.inf C:\WinPE\WinPE_Build\I386\inf\b57xp32.inf copy C:\WinPE\WinPE_Root\SFW\Drivers\b57win32.inf C:\WinPE\WinPE_Build\I386\inf\b57win32.inf copy C:\WinPE\WinPE_Root\SFW\Drivers\b57xp32.sys C:\WinPE\WinPE_Build\I386\system32\drivers\b57xp32.sys copy C:\WinPE\WinPE_Root\SFW\Drivers\b57w2k.sys C:\WinPE\WinPE_Build\I386\system32\drivers\b57w2k.sys echo. echo #add ramdrive copy c:\WinPE\WinPE_Root\SFW\Drivers\ramdrv.inf C:\WINPE\WinPE_Build\I386\inf\ramdrv.inf copy c:\WinPE\WinPE_Root\SFW\Drivers\ramdrv.sys C:\WINPE\WinPE_Build\I386\system32\drivers\ramdrv.sys echo. echo del bootfix.bin... DEL C:\WinPE\WinPE_Build\I386\bootfix.bin :: End echo. echo ********************* echo * Custom Files Done * echo ********************* echo. REM REM Check if we need to create a image REM if /i "%CREATEIMG%" == "no" ( goto :end ) A ton of that won't be relevent, but notice mostly: xcopy .\sfw\*.* %WINPEDESTDIR%\Sfw /s /e /v /i xcopy .\system32\*.* %WINPEDESTDIR%\%PLATEXT%\System32 /s /e /v /i That is where it movesw my custom items from SFW and system32 over to my build folder. Once that process is done, I can run the previously mentioned USB from Build batch file as shown at topoc of this message. I can further explain things or give you help, a lot of this is me-speific and may not apply.
  2. There was another topic about this a few pages back; but the orginal question wasn;t really addressed. I'm trying to get some spyware software to work in my WinPE build. I have to use WinPE, BartPE is not acceptable here. I've tried a few things: Downloaded and placed AD-Aware onto image (I have PE working from CD and from USB). Trying to run EXE and nothing happens. Verified the dll depandances with a depandancy viewer program ; all dlls are present on PE image. Tried moving the software to a ramdisk spot and run from there, no change. Any ideas or ways you;ve gotten this to work? Thanks
  3. So what, exactly, did you do? I used HP's util to format FAT16 as you said, then put the MININT directory in place and copied 2 files over so I finally had an NTDETECT and NTLDR file in the room of the USB drive; wouldn't boot. Format it FAT16 'plain' .. no MS startup, etc. Then I made a batch file to help automate the process: xcopy WINPEBUILD\i386\*.* USB\minint /s xcopy WINPEBUILD\i386\ntdetect.com USB\ xcopy USB\minint\setupldr.bin USB\ntldr It will prompt for it to be either a file or directory -> choose file. --------------------------------------------------------------- @echo off echo Assuming USB = drive E echo ---------------------- pause echo. echo. md e:\Minint md e:\Sfw xcopy "c:\winpe\winpe_build\i386\*.*" e:\minint /s xcopy "c:\winpe\winpe_build\i386\ntdetect.com" e:\ xcopy "c:\winpe\winpe_build\sfw\*.*" e:\Sfw /s echo. echo. echo Press F here... echo. xcopy "e:\minint\setupldr.bin" "e:\ntldr" echo. echo Done pause
  4. I got it working with that HP format util; just had to use FAT16 (not 32 as stated with Microsoft's formatufd instructions)
  5. Is there any legit way of getting the formatufd.exe for people that are not eligible for the OEM Preinstallation KIt (OPK)? I have my WinPE 2005/Server 2003 + SP1 build ready to go, just would love to get going with the USB boot stuff.
  6. Thanks for the reply. Checked the site and no dice. I guess maybe we aren't eligilbe for them. Oh well!
  7. At work we receive a Microsoft License agreement and receive CDs from them of all the products. A road block I'm facing is that the higher-ups receive the CDs and because of red tape, the needing techs don't always get our hands on them. I do however, have access to the site where we can download any of the products we have rights to. Navigating the site, I can't seem to find Windows PE listed by name. I am wondering if anyone wiht a copy of this can provde the "item number" shown on the CD to see if I can search for it by that. We recived WinPe 1.1; and since there are new versions I would like to try to get it. I can't tell if we just aren't eligible to get new releases; or we are jus tnto receiving them.
×
×
  • Create New...