How To Implement DBAN in A WDS Server
How To Implement DBAN in A WDS Server
Objective:
The purpose of this document is to provide a guide to boot a DBAN image from the WDS server, in order
to erase the HDD in a safer way.
Pre-requisites:
Windows server 2012 R2 with MDT 2013 installed. (Not tested but should work on other OS
versions).
finally we will force the WDS server to use the Syslinux (which is also a PXE) so when the workstations
boot from network they will use this environment instead of the Windows one.
Procedure:
1) Logon to the WDS server and open this share: \\WDS\REMIST:
3) Make a copy of the following files (pxeboot.n12 and abortpxe.com) and paste it in the same
folder, after that rename that files so they look like this: (pxeboot.n12 pxeboot.0;
abortpxe.com abortpxe.0)
4) After that extract the Syslinux .zip file locally and copy the following files to the WDS server
(Copying in the desktop is fine, then we can copy to the \\WDS\REMINST folder):
libutil.c32
libcom32.c32
ldlinux.c32
chain.c32
pxelinux.0
vesamenu.c32
a. If you look for these files in syslinux folder you may find 3 copies of them, be sure to
select the one corresponding to BIOS and not to UEFI. Just in case I made a bundle for
you: Bundle
5) After copying these files to each of the \\WDS\REMINST folders (\boot\x86 and \boot\x64)
rename pxelinux.0 to pxelinux.com, your folder should look like this (I sorted the folder by
creation date to see what has been actually changed):
6) Create 2 new folders in each of the \\WDS\REMINST folders, the names shall be Linux and
pxelinux.cfg
7) In pxelinux.cfg folder we will put our menu and the graphics configuration file, so now create 2
blank text files and name them like this: default and graphics.conf. Note that default file
hasnt got any kind of extension!!!
11) Open a command prompt as admin and run the following commands:
wdsutil /set-server /bootprogram:boot\x86\pxelinux.com /architecture:x86
wdsutil /set-server /N12bootprogram:boot\x86\pxelinux.com /architecture:x86
wdsutil /set-server /bootprogram:boot\x64\pxelinux.com /architecture:x64
wdsutil /set-server /N12bootprogram:boot\x64\pxelinux.com /architecture:x64
12) Finally connect a computer to the deploy VLAN, boot from the NIC and youll see a menu to
choose what do you want to do.
References:
https://thommck.wordpress.com/2011/09/09/deep-dive-combining-windows-deployment-servicespxelinux-for-the-ultimate-network-boot/
http://www.servercobra.com/pxe-boot-dban/