Friday, November 1, 2024

Add VMWare driver to Windows PE / Winternals ERD Commander

Abstract: If you are using Windows 2003/XP/… in an VMWare environment you might sometimes need Winternals ERD Commander 2007 (which based on Windows PE). For example you might wish to use Locksmith to reset the administrator password.

Per default Winternals ERD Commander 2007 doesn´t support the VMWare mass storage driver. Therefore you couldn´t simply mount the ISO and boot it. It will not be able to connect to the HD and detect the Windows OS. Therefore you need to change the ISO and include the VMWare drivers. This could be done via the following steps:

1.) Download BBIE 1.0 from here and store the file in C:\00VMWare_ERD2007_Project\downloads

3.)
Now place your “Winternals ERD Commander 2007 (ISO).iso” in C:\00VMWare_ERD2007_Project\downloads

4.)
now extract the zip file content BBIE from step 1 to C:\00VMWare_ERD2007_Project

5.)
Open a CMD move to C:\00VMWare_ERD2007_Project and run the following:

bbie.exe "C:\00VMWare_ERD2007_Project\downloads\Winternals ERD Commander 2007 (ISO).iso"

ensure that it created C:\00VMWare_ERD2007_Project\image1.bin which is the boot image from ERD which we late require.

6.)
Download the latest VMWare Tools (Windows x86, ISO) from here and store it in C:\00VMWare_ERD2007_Project\downloads

7.)
Extract the VMWare Tools ISO file via WinRAR to: C:\00VMWare_ERD2007_Project\VMWare

8.)
Extract the ERD ISO via WinRAR to: C:\00VMWare_ERD2007_Project\Winternals_ERD_Commander_2007

9.)
Create “vmscsi” folder in C:\00VMWare_ERD2007_Project\Winternals_ERD_Commander_2007\I386\system32\

10.)
Copy all files from C:\00VMWare_ERD2007_Project\VMware\Program Files\VMware\VMware Tools\Drivers\scsi to C:\00VMWare_ERD2007_Project\Winternals_ERD_Commander_2007\I386\system32\vmscsi

11.)
The next step is to edit the winpeoem.sif file located in the C:\00VMWare_ERD2007_Project\Winternals_ERD_Commander_2007\I386\system32 directory. Scroll down to the bottom until you see:
;[OemDriverParams]
;OemDriverRoot=””
;OemDriverDirs=

and change that to:
[OemDriverParams]
OemDriverRoot=””
OemDriverDirs=vmscsi

12.)
Now download CDIMAGE.EXE from here and place it in C:\00VMWare_ERD2007_Project\

13.)
In the already open CMD from step 5 enter the following:

cdimage.exe -lERD -t04/12/2007,15:03:00 -bC:\00VMWare_ERD2007_Project\image1.bin -j1 C:\00VMWare_ERD2007_Project\Winternals_ERD_Commander_2007 D:\00VMWare_ERD2007_Project\Winternals_ERD_Commander2007(WithVMWareDriver).iso

14.)
Boot your new ISO and enjoy.

Note:
This short howto was generated with the help from here.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles