4 Replies Latest reply on Feb 23, 2010 3:39 PM by cortez002

    WinTech in WinPE NOT BartPE

      Ok... We do not use BartPE here, it’s a forbidden util (yeah - I know o.O )

      We have WinPE - and I am using the WinPE guide (see below) found in the MakePECD2v1.06.zip provided by Simon Hunt HERE : http://sites.google.com/site/ctogonewild/Home/intersting-files
      and discussed HERE :
      http://simonhunt.wordpress.com/2009/08/25/disaster-recovery-wintech-and-pe3/

      So I use all the files from the 5.2.0.12 Plugin support sent me / from the KB article (and previously with the files from the Recovery folder of the 5.2.2 EEPC download) and the registry changes.reg file from the EEPC 5.2.2 / Recovery / Making a Rescue CD / Component Files folder.
      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}]
      "UpperFilters"=hex(7):50,00,61,00,72,00,74,00,4d,00,67,00,72,00,00,00,53,00,41,\
      00,46,00,45,00,42,00,4f,00,4f,00,54,00,00,00,00,00

      [HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Services\RsvLock]
      "Type"=dword:00000001
      "Start"=dword:00000001
      "ErrorControl"=dword:00000001

      [HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Services\SafeBoot]
      "Type"=dword:00000001
      "Start"=dword:00000000
      "ErrorControl"=dword:00000003

      [HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Services\SBAlg]
      "Type"=dword:00000001
      "Start"=dword:00000000
      "ErrorControl"=dword:00000003
      "Group"="Primary Disk"


      I follow the steps outlined in the attached guide, and it will run - but still shows under HELP / ABOUT : 5.1.7.0

      I have verified all the files being used :
      SafeBoot.sys 5.2.0.12
      SbAlg.dll 4.2.11.0
      SbAlg.sys 4.2.11.0
      SbComms.dll 5.2.0.9
      SbDbMgr.dll 5.2.0.9
      SbTokenPwd.dll 5.2.0.9
      SbUiLib.dll 5.2.0.9
      SbWinTech.exe 5.2.0.12
      SbXferDb.dll 5.2.0.9

      Has anyone created a WinPE (Not BARTPE) with SafeTech?
      Tips? Tricks? Documentation? :confused:

      Any help would be appreciated

      NetForceTX
      Houston, Texas

      Creating a Windows Vista PE Recovery CD with SbWintech Plug-in

      This walkthrough describes how to create a customized Windows PE image with SbWinTech Plug-in. The primary tool for customizing Windows PE is PEImg, a Windows PE command-line tool. After creating a customized image, you can deploy the image to a hard disk or create a bootable Windows PE RAM disk on a CD-ROM, a USB flash drive (UFD) or a hard disk.

      Windows PE is bundled in the Windows Automated Installation Kit (WAIK). You can download the Windows Automated Installation Kit (WAIK) from the Microsoft Website. This download will contain all the tools necessary to create the customized image.
      Click the link below:
      http://www.microsoft.com/downloads/details.aspx?familyid=c7d4bc6d-15f3-4284-9123-679830d629f2&displaylang=en


      Step 1: Set up a Windows PE Build Environment

      In this step, you create a required directory structure that supports building a Windows PE image.

      On your technician computer, click Start, point to All Programs, point to Windows OPK or Windows AIK, and then click Windows PE Tools Command Prompt.
      The menu shortcut opens a Command Prompt window and automatically sets environment variables to point to all the necessary tools. By default, all tools are installed at C:\Program Files\version\.
      At the command prompt, run the Copype.cmd script. The script requires two arguments: hardware architecture and destination location. For example,

      copype.cmd <architecture> <destination>
      where <architecture> can be x86, amd64, or ia64 and <destination> is a path to the local directory. For example,

      copype.cmd X86 C:\winpe_x86

      The script creates the following directory structure and copies all the necessary files for that architecture. For example,

      \winpe_x86
      \winpe_x86\ISO
      \winpe_x86\mount

      Step 2: Mount the Base Windows PE Image

      In this step, you mount the base image to a local directory so that you can add or remove packages. At the command prompt, mount the base Windows PE image (Winpe.wim) to the \Mount directory by using ImageX. For example,

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


      Step 3: Add Additional WINPE Packages

      By using the Peimg tool, you install Windows features by using the /install option. Windows features are included with the base image (Winpe.wim) but are not installed. You can also import packages and add drivers and language packs.
      Add a Windows feature to the base image by using the peimg /install command. For example,

      peimg /install=<pkg> c:\winpe_x86\mount\Windows
      where <pkg> denotes the package name. For example,

      peimg /install=WinPE-HTA-Package c:\winpe_x86\mount\Windows
      the following packages included with Windows PE and are required to be installed. Repeat this step for each package.

      Package Name Description
      WinPE-HTA-Package HTML application support
      WinPE-MDAC-Package Microsoft Data Access Component support
      WinPE-Scripting-Package Windows Script Host support
      WinPE-WMI-Package Windows Management Instrumentation (WMI) support
      WinPE-XML-Package Microsoft XML (MSXML) parser support



      The next steps need to be carried out manually via Windows Explorer. If you are unsure of any of the information given please do not continue as attempting to do so may result in both the machine you are creating this image on and the recovery machine to become redundant!

      Step 4: Adding SbWinTech Plug-in

      In this step, you will need the following files to complete the SbWinTech plug-in. These files can be located under the “Recovery” folder from your SafeBoot installation CD. If you installed Endpoint Encryption (formerly called Safeboot) from the downloaded zip file from McAfee, then the “Recovery” folder is also extracted from that zip file.

      • SbAlg.sys
      • Safeboot.sys (also known as safeboot.w2k, this can simply be renamed to Safeboot.sys)
      • SbAlg.dll
      • SbComms.dll
      • SbDbMgr.dll
      • SbErrors.xml
      • SbUILib.dll
      • SbWinTech.exe
      • SbXferDb.dll
      • SbTokenPwd.dll
      • Sbtag
      • TxtSetup.OEM


      With the image still mounted browse using Windows Explorer to the <mount> directory, for example

      c:\winpe_x86\mount


      The following folders will need to be created in the following locations under the mounted image. For example,

      Location Folder to be created
      C:\Winpe_x86\mount\Windows\System32\ SafeBoot
      C:\Winpe_x86\mount\Program Files\ SafeBoot
      C:\Winpe_x86\mount\Program Files\SafeBoot\ SbAlgs
      C:\Winpe_x86\mount\Program Files\SafeBoot\ SbReaders
      C:\Winpe_x86\mount\Program Files\SafeBoot\ SbTokens

      Once the folders have been created copy the following files to those locations.


      Location Files to be copied
      C:\Winpe_x86\mount\Windows\System32\SafeBoot\ Sbtag
      TxtSetup.OEM

      C:\Winpe_x86\mount\Windows\System32\drivers\ SbAlg.sys
      Safeboot.sys (also known as safeboot.w2k, this can simply be renamed to Safeboot.sys)

      C:\Winpe_x86\mount\Program Files\SafeBoot\ SbComms.dll
      SbDbMgr.dll
      SbErrors.xml
      SbUILib.dll
      SbWinTech.exe
      SbXferDb.dll
      C:\Winpe_x86\mount\Program Files\SafeBoot\SbAlgs\ SbAlg.dll

      C:\Winpe_x86\mount\Program Files\SafeBoot\SbTokens\ SbTokenPwd.dll



      Step 5: Adding Registry Keys


      You will need the following file to add the necessary registry keys. This file can be located under the “Recovery\Components” folder from your SafeBoot installation CD.

      • Registry Changes.reg

      With the image still mounted go to START > RUN and type in the following, regedit.exe.

      In the Registry Editor locate HKEY_LOCAL_MACHINE



      Next go to File > Load Hive and browse to your mounted image’s System32\config directory. For example

      c:\winpe_x86\mount\Windows\System32\config

      Locate the file named SYSTEM and open (note that this file will NOT have an extension).

      A Load Hive dialog box will open asking for a Key Name, you must give it the name “SafeBoot”. (disregard the “Winpe” entry in the picture).



      Select OK.

      If you now expand HKEY_LOCAL_MACHINE you will see we have a key entry called Safeboot, this key contains all the registry keys etc for your image under HKEY_LOCAL_MACHINE.

      To add the registry keys for the SBWintech plug-in go to FILE > IMPORT and import the registry file. The registry files will automatically create the entries needed.
      Select the SafeBoot key you loaded previously and go to File > Unload.
      Exit the Registry Editor. DO NOT EXIT THE REGISTRY EDITOR WITHOUT UNLOADING THE HIVE FIRST.



      Step 6: Commit Changes to the Image

      In this step, you commit the changes to the original image file (Winpe.wim) by using the ImageX /unmount option with the /commit option. For example,

      imagex /unmount c:\winpe_x86\mount /commit



      Step 7: Replace the Default Boot.wim File

      In this step, you replace the default Boot.wim in the \ISO directory with your new customized image. The image must be called Boot.wim. For example,

      copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim

      Step 8: Create ISO image

      You now have a customized Windows PE RAM disk image that you can place on bootable media.

      At the Windows PE Tools Command Prompt, create an .iso file by using oscdimg. For example, (NOTE: this is one command line)

      oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
      Burn the image (Winpe_x86.iso) to a CD-ROM