Build a WinPe for Ghost

Using this as a base http://community.norton.com/t5/Other-Norton-Products/How-to-build-the-Ghost15-SRD-on-WinPE-3-0/td-p/241476, I have been trying to build the file using the script below. It fails on where to place ISO image. Any ideas?  thanks

 

 

REM Batch file to build Ghost 15 SRD on WinPE 3.0 by redk9258 - July 13, 2010
REM Must run as administrator.
Echo off
CLS
SET /p license= Enter your 16 digit license without dashes or spaces:
CLS
ECHO Enter the path to the Symantec SRD CD or folder
SET /p srdsource= (for example...  F:\ or D:\CUSTOM_SRD\):
CLS
SET /p waikdrive= Enter the drive letter where Windows AIK is installed (for example: C:\)
CLS
SET /p isoname= Enter a name for the ISO file (for example: Custom SRD):
CLS
ECHO Enter the path to the folder you want to build your ISO in
SET /p builddir= (for example: C:\windowspe-x86):
IF EXIST "%builddir%" ECHO "%builddir% already exists! Please delete it!"
IF EXIST "%builddir%" PAUSE
CD /D "%waikdrive%Program Files\Windows AIK\Tools\PETools"
CALL pesetenv.cmd
CALL copype.cmd x86 "%builddir%"
COPY winpe.wim ISO\sources\boot.wim
DISM /Mount-Wim /WimFile:ISO\sources\boot.wim /index:1 /MountDir:mount
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-hta_en?-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-mdac_e?n-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.ca?b"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-script?ing_en-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en?-us.cab"
MD cdmount
DISM /Mount-Wim /WimFile:%srdsource%sources\boot.wim /index:1 /MountDir:cdmount /readonly
COPY cdmount\*.xml mount\*.xml
COPY cdmount\Windows\System32\drivers\SmeUtil.sys mount\Windows\System32\drivers\SmeUtil.sys
COPY cdmount\Windows\Fonts\COUR.TTF mount\Windows\Fonts\COUR.TTF
COPY cdmount\Windows\Fonts\COURBD.TTF mount\Windows\Fonts\COURBD.TTF
COPY cdmount\Windows\Fonts\COURBI.TTF mount\Windows\Fonts\COURBI.TTF
COPY cdmount\Windows\Fonts\COURI.TTF mount\Windows\Fonts\COURI.TTF
MD mount\windows\Shell
ROBOCOPY /S cdmount\windows\Shell mount\windows\Shell
COPY cdmount\windows\System32\Winpeshl.ini mount\windows\System32\Winpeshl.ini
ECHO %license%>"%builddir%\mount\Windows\Shell\V2i\Lice?nseKey.txt"
CLS
ECHO **************************************************?*
ECHO * Please close all open Explorer Windows so as to *
ECHO * not interfere with unmounting the WIM files !!  *
ECHO **************************************************?*
PAUSE
DISM /Unmount-Wim /MountDir:cdmount /discard
DISM /Unmount-Wim /MountDir:mount /commit
MD ISOTEMP
ROBOCOPY /S %srdsource% ISOTEMP
ROBOCOPY /S ISO ISOTEMP
RD ISO /S /Q
REN ISOTEMP ISO
OSCDIMG -l"%isoname%" -u1 -b"etfsboot.com" ISO "%isoname%.iso"
EXPLORER /n,/e,%builddir%
PAUSE

I tried it gin.

i m using Win 7 x64 base machine.

 

When i use the folder windowspe-x86, the script doesn't create it. When I create the folder, it wants me to delete it n still doesn't create the iso image.

 

thanks

What happen is that I didn't place a "\" after the c in line 10. After I did that the script run.

 

Now I have to test the ISO,

 

thanks for the script.

I tested the iso that I created. I am getting a 0xc00000e9 error.

 

Any ideas?  I get the error when removal driver is connected and when it is not connected.

 

thanks

Does the standard recovery disk work for you, and what do you hope to gain by making a windows 7 based disk?

Dave

So you burned the ISO file to a CD and you are trying to boot from it? When are you getting the 0xc00000e9 error? Before or after the Windows flying orbs (or whatever they are)?

Try unplugging everything that is not needed from your PC when you boot... Printers, USB hubs, etc.

DHS13,

 

Did you ever get this working?

Using this as a base http://community.norton.com/t5/Other-Norton-Products/How-to-build-the-Ghost15-SRD-on-WinPE-3-0/td-p/241476, I have been trying to build the file using the script below. It fails on where to place ISO image. Any ideas?  thanks

 

 

REM Batch file to build Ghost 15 SRD on WinPE 3.0 by redk9258 - July 13, 2010
REM Must run as administrator.
Echo off
CLS
SET /p license= Enter your 16 digit license without dashes or spaces:
CLS
ECHO Enter the path to the Symantec SRD CD or folder
SET /p srdsource= (for example...  F:\ or D:\CUSTOM_SRD\):
CLS
SET /p waikdrive= Enter the drive letter where Windows AIK is installed (for example: C:\)
CLS
SET /p isoname= Enter a name for the ISO file (for example: Custom SRD):
CLS
ECHO Enter the path to the folder you want to build your ISO in
SET /p builddir= (for example: C:\windowspe-x86):
IF EXIST "%builddir%" ECHO "%builddir% already exists! Please delete it!"
IF EXIST "%builddir%" PAUSE
CD /D "%waikdrive%Program Files\Windows AIK\Tools\PETools"
CALL pesetenv.cmd
CALL copype.cmd x86 "%builddir%"
COPY winpe.wim ISO\sources\boot.wim
DISM /Mount-Wim /WimFile:ISO\sources\boot.wim /index:1 /MountDir:mount
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-hta_en?-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-mdac_e?n-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.ca?b"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-script?ing_en-us.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab"
DISM /image:mount /Add-Package /PackagePath:"%waikdrive%Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en?-us.cab"
MD cdmount
DISM /Mount-Wim /WimFile:%srdsource%sources\boot.wim /index:1 /MountDir:cdmount /readonly
COPY cdmount\*.xml mount\*.xml
COPY cdmount\Windows\System32\drivers\SmeUtil.sys mount\Windows\System32\drivers\SmeUtil.sys
COPY cdmount\Windows\Fonts\COUR.TTF mount\Windows\Fonts\COUR.TTF
COPY cdmount\Windows\Fonts\COURBD.TTF mount\Windows\Fonts\COURBD.TTF
COPY cdmount\Windows\Fonts\COURBI.TTF mount\Windows\Fonts\COURBI.TTF
COPY cdmount\Windows\Fonts\COURI.TTF mount\Windows\Fonts\COURI.TTF
MD mount\windows\Shell
ROBOCOPY /S cdmount\windows\Shell mount\windows\Shell
COPY cdmount\windows\System32\Winpeshl.ini mount\windows\System32\Winpeshl.ini
ECHO %license%>"%builddir%\mount\Windows\Shell\V2i\Lice?nseKey.txt"
CLS
ECHO **************************************************?*
ECHO * Please close all open Explorer Windows so as to *
ECHO * not interfere with unmounting the WIM files !!  *
ECHO **************************************************?*
PAUSE
DISM /Unmount-Wim /MountDir:cdmount /discard
DISM /Unmount-Wim /MountDir:mount /commit
MD ISOTEMP
ROBOCOPY /S %srdsource% ISOTEMP
ROBOCOPY /S ISO ISOTEMP
RD ISO /S /Q
REN ISOTEMP ISO
OSCDIMG -l"%isoname%" -u1 -b"etfsboot.com" ISO "%isoname%.iso"
EXPLORER /n,/e,%builddir%
PAUSE