Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Hi All

 

Can someone tell me the easiest way to add an image to my wds server so i can run diskpart to wipe laptop hard drives before I deploy an imag to them.

 

The problem i have is that i can deploy an image and capture an image.

After the image has been deployed I am getting the hall.dll error.

I know if I boot to comand prompt and do a diskpart i should be able to get rid of any hidden partitions on the hard dive.

The only problem is I am not sure how to set it up on the server

 

Cheers

Posted

I have now sorted it the simplest way was as follows.

 

In the Start menu – navigate to All Programs/Microsoft Windows AIK and run the Windows PE Tools command prompt as an Administrator

At the command prompt – create a temp directory – such as MD c:\temp then run set temp=c:\temp and set tmp=c:\temp

run copype x86 c:\PEBuild (this copies the PE Source to a new directory that we will use for constructing our image- if you needed the AMD64 source then replace x86 with amd64)

 

Then if you open the deployment services from the server.

Navigate to the Boot images folder.

Right click and select add boot image

Click the browse button and navigate to the c:\PEBuild

Select the winpe.wim file

Then name it as whatever you want to see in the boot menu. I have called mine wipe disk.

Then press next until it is finished.

Once it has loaded boot your machine via the pxe and then select the new image you have created.

wait for the comand prompt to appear.

then type in

diskpart

select disk 0

clean

Then type exit and exit again and the machine will restart.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...