Creating a WDS Discover Image
5th January 2021
The DfE (Department for Education) have decided that the best laptop for pupils to use for remote learning is a GeoBook 1e and I know what you thinking a Celeron and 64GB SSD! Kids today are spoiled!
Joking aside this device has one big issue for us, no network port, which really interupts the normal setup process.
So the question becomes how do you use WDS to image a GeoBook 1e or any device without a network port? I’m sure the first instinct for alot of people would be to throw a USB network card into the laptop and give it a try. This doesn’t normally work as they don’t have PXE ROMs on them.
This is where a WDS Discover Image comes into play. A Discover Image works by getting the device to boot to a USB drive or CD and then use any network card to connect to WDS.
Generating the Discover Image
The first step is to create a Discover image on your WDS server. Hop into the WDS management console and go to your boot images, then right click on your latest deployment image and click Create Discover Image…
This brings up a wizard to create the Discover Image which needs a couple of bits of information from you.
Firstly where to save it, which I set to
C:\Discover\discover.wim and then optionally the address of the WDS server. If you don’t specify an address the Discover image will do it’s best to find your WDS server when it boots.
Once you click next your image will be created and exported to the supplied path.
Whilst this exports you can move on to creating the WinPE (Preinstallation Environment) Disk
Creating the WinPE Disk
To make the Discover Image bootable we need to bundle it inside a Windows Preinstall Environement.
To do this you need the Deployment Service Tools and WinPE Extension from the ADK, which at the time of writing was the first 2 links on that page.
When installing the ADK you only need to select Deployment Tools from the list of available components.
Once that is installed you need the ADK’s WinPE extensions.
With those tools installed its just a case of waiting for the export of the image from earlier to finish.
Once your ready fire up the Deployment and Imaging Tools Environment command promt from in the Windows Kits folder in the start menu.
The first command creates a WinPE folder for you to work with.
copype amd64 C:\winpe
amd64 can be replaced with other architectures if needed, it is the one required for the Geobook.
Next you need to copy your newly minted Discover Image over to the winpe environment.
copy /y C:\Discover\discover.wim C:\winpe\media\sources\boot.wim
This will overwite the existing boot.wim with your discover image.
Finally you need to move the pe environment onto a bootable medium.
makewinpemedia /ufd /f C:\winpe d:
/ufd means USB disk,
/f means format and
d: is the drive letter of the disk. This will format the disk, make it bootable and copy the WinPE files over to it.
Thats it! Your USB stick is now usable.
With your USB stick in one USB port and a USB network adapter in the other its time to boot the laptop. In a bizare turn of fate my Startech USB network Adapter did actually offer to network boot which took the wind out my sails a bit but lets keep moving.
On a GeoBook 1e you can get the boot menu by using the
Once it boots the WDS installer should find the WDS server on your network automatically (or will just connect to it if you manually supplied the address). From here its pretty normal. The process of creating an discover image appears to copy in the unattended files from your WDS server making it very easy to use.
How does it work?
A Discover Image gets around the lack of a PXE ROM by allowing you to boot to alternative media. When a computer boots to network and pulls in the setup files from WDS it is a very similar process to the BIOS passing over to an OS on disk after POSTing. The PXE ROM handles downloading the setup files and then boots them, this is why a computer can network boot and then complain that it doesn’t have network drivers.
The Discover Image only needs to contain the drivers for the USB Network card for it to be able to connect.