Video Screencast Help

How to use WINPE 3.0 and Console (from scratch)

Created: 15 May 2014 • Updated: 15 May 2014 | 10 comments
Language Translations
Dpak D's picture
+2 2 Votes
Login to vote

Most of the latest machines use Intel I series NICs ,for which Vista drivers are not available.Since Ghost Solution Suite has WINPE 2 ,which is a lighter version of Vista ,these models cannot be imaged over the network.The need is to use a different version of WINPE for network imaging.

Below are the steps to use WINPE 3.0 and Console. Start to finish.

The steps to create WIM file and to use with the Ghost console:

Download and install the Windows Automated Installation Kit (WAIK) for Windows 7 from the following URL: http://www.microsoft.com/en-us/download/details.aspx?id=5753

1. Open Deployment Tools Command Prompt.

Start > All Programs>Microsoft Windows AIK>Deployment Tools Command Prompt

2. Mount a Windows PE image.

  • copype.cmd x86 c:\winpe_x86
  • imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount

3. Create a folder by the name Ghost under c:\winpe_x86\mount

4. Copy the following files from Ghost install folder to c:\winpe_x86\mount\Ghost.

gdisk32.exe,GhConfig32.exe,ghDplyAw32.exe,ghost32.exe,ghreboot.bat,GhWalk32.exe,ngctw32.exe,thread.dll,
VPartition.dll,pubkey.crt

5. Rename the attached text files to startnet.cmd,start.bat and unattent.xml respectively

6. Copy the start.bat and unattent.xml to c:\winpe_x86\mount\Ghost

7. Copy the startnet.cmd to c:\winpe_x86\mount\windows\system32

8. Make sure that the changes have taken place in the startnet.cmd

9. Close all mount folder references

10. To add drivers ,run the following command after preparing the Win 7 drivers in the C:\Drivers folder

  • Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers /Recurse

11. Commit the changes after closing all mount folder referernces,

  • imagex /unmount c:\winpe_x86\mount /commit

12. Create a copy of WINPE-512 under Boot Wizard and name it to Winpe3 Note: Do not edit this template with Boot Wizard later.

13. Replace the attached manifest.txt file under

XP & 2003=>Doc&Settings\All Users\Application Data\Symantec\Ghost\Template\Common\Winpe3\

Vista &later=> Program Data\Symantec\Ghost\Template\Common\Winpe3\

14. Delete the boot.wim under,

XP & 2003=>Doc&Settings\All Users\Application Data\Symantec\Ghost\Template\Common\Winpe3\sources Vista &later=> Program Data\Symantec\Ghost\Template\Common\Winpe3\sources

16. Copy the c:\winpe_x86\winpe.wim to following location and rename it to boot.wim,

XP & 2003=>Doc&Settings\All Users\Application Data\Symantec\Ghost\Template\Common\Winpe3\sources Vista &later=> Program Data\Symantec\Ghost\Template\Common\Winpe3\sources

Comments 10 CommentsJump to latest comment

Jayakumar_jayaraman's picture

 This is really helpful

Thanks Deepak ,

0
Login to vote
tspeer's picture

Which file needs edited to pass some switches to ghost32.exe upon launch?

start.bat which goes in the folder with ghost32.exe launches ngctw32.exe.

Can I just edit startnet.cmd and add them to the  ghost32.exe line?

I add

-align=1mb -ib -span -auto -split=2048

Thanks,

0
Login to vote
Dpak D's picture

This article is to use the Console with WINPE 3.The swiches should be added under the Console task ,if you follow this article.

If you are creating a normal boot disk which would launch ghost32,YES the switches should be added to startnet.cmd 

0
Login to vote
Rover7's picture

Hi Maneesh,

I believe I have followed your instructions to the t and when running gbw using winpe3 I get the error: wim file for this configuration of windows pe is invalid. I am not sure what I could be doing wrong, if you could please provide any suggestions I will appreciate it.

Thanks,

R7

0
Login to vote
Dpak D's picture

This is a workaround to use WINPE 3 with Console.Once this setup is done,it is mandatory that the WINPE template ,created for WINPE 3 ,is not modified using GBW.It soul remain untouched.If there is a need to add additional drivers ,do it using WAIK .

0
Login to vote
deadmorozz's picture
  • imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount

Where can I find winpe.wim file? Please help. e-mail me:  ruslan.zmuncila@gmail.com

0
Login to vote
Dpak D's picture

Hi Ruslan,
Winpe.wim file is part of WAIK install.
 

copype.cmd x86 c:\winpe_x86

Above command line in the article will create the folder struture and will place winpe.wim in it.

0
Login to vote
deadmorozz's picture

After command copype.cmd x86 c:\winpe_x86  tried  command imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount.

THANK YOU

Please see attached image. I got this below (CMD):

C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\sv-se\bootmgr.efi.mui
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\tr-tr\bootmgr.efi.mui
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\uk-ua\bootmgr.efi.mui
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\zh-cn\bootmgr.efi.mui
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\zh-hk\bootmgr.efi.mui
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Pr
einstallation Environment\x86\Media\zh-tw\bootmgr.efi.mui
186 File(s) copied
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.

Success

c:\winpe_x86>•imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
'imagex' is not recognized as an internal or external command,
operable program or batch file.

c:\winpe_x86>imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.2.9200.16384

Mounting: [c:\winpe_x86\winpe.wim, 1] -> [c:\winpe_x86\mount]...

Error opening file [c:\winpe_x86\winpe.wim].

The system cannot find the file specified.

picc drive.jpg
0
Login to vote
Dpak D's picture

Ruslan,

I believe you have the WADK for 8 installed on the machine.This article is to create a WINPE 3 package and the corresponding WAIK install for 7 should be used.

You could still use WADK for 8 to create a wim file which will be WINPE version 4 (Windows 8) and could make it work as the above mentioned post but the steps will be different.You could use DISM command from WADK to manipulate wim file.To list out the steps ,I need to write a whole new post.Its time worthy if you could try the above mentioned steps using WAIK.

I have also replied to your private message.

0
Login to vote
deadmorozz's picture

I found winpe.wim file installing WAIK install for windows 7. Thanks. My apologies. 

0
Login to vote