Loading...

Powershell tool: Boot on WDS for MDT

2 A+ A-

In this post, I will show you a tool that allows you to modify the WIM boot file LiteTouchPE located in the Boot folder. Thgis way you can boot on a WDS Server and connect to a remote Deployment Share.
Using this method you can boot on a Deployment Share located for instance on your computer, or another location, from your WDS server. 

In which context I use this tool ?
In our company we provide an ISO of our W10 master to each branch in the world.
These local IT's don't use MDT but just this ISO.
We provide them multiple tool to manage the master. For instance a tool to integrate MUI in the master. 
That's why we provide them a tool to modify the boot file. This can be done by modifying the boostrap.ini and update the deployment share but we don't want them too use MDT.

How to get the tool ?


How it works ?

First you'll need to select the boot WIM file from your master. This file can be found in the Boot folder.
LiteTouchPE_x64.wim file
The tool will copy this WIM in the destination path you have selected.
Then it will modify the file Deploy\Scripts\Boostrap.ini located in your WIM file, in order to add your credentials informations.


How to use the tool ?

1 / Run the Boot on WDS for MDT.exe
2 / The GUI below will be displayed
Boot on WDS GUI
On the first Tab select the LiteTouchPE WIM file that will be used to boot on your master. 
In my case i used the LiteTouchPE_x64.wim file located in the folder Boot from my master.

Then select the destination path where the new WIM file will be located. In my case I create a folder Boot on my Desktop.
Boot sources Tab
The second Tab is used to fill the Boostrap.ini file with your informations. In my case I used a Deployment Share located on my desktop. Credentials will be credentials to access to my computer.
Credentials Tab
Credentials will be integrated in the ini file as below:
Credentials variables in Boostrap
The third Tab allows you to select the PE keyboard language and skip or not the BDD welcome wizard.
Options Tab
3 / Once you have filled the required fields, click on the Patch the boot file button.
4 / A progress bar will be displayed to show you the different steps.
5 / Once it's done the below message box will appear.
6 / In your destination path folder you will find your WIM file.

Now if you check the Deploy\Scripts\Boostrap.ini file in your WIM you will find your credentials informations.

The tool in action

In the below example I used a Deployment Share located on my computer. This computer is in a specific domain. 

Deployment Share
In the Credentials part from the tool I will fill account informations that can access to this share.
Once you have patched the WIM file, add it to the Boot images part from your WDS server.
Now when I boot on the boot file, I used the Deployment Share from my remote computer.

Powershell_Tools 1635082698200200300

Enregistrer un commentaire

2 commentaires

Unknown a dit…

Very interesting and useful tool! Once complete, is it necessary to restart WDS services?

/BG

Damien Van Robaeys a dit…

Thx Brian. No need.
When I have tested I proceed as below:
Patch the boot file
Copy the boot file to my WDS server
Add this wim to the Boot images from the WDS server console
Then the boot file appears after the f12 and you can boot to the remote deployment share.

Accueil item

Award

Sponsors

Learn KQL in one month

You want to support me ?

Mes articles en français

Books in French


Stats