MDT Lite Touch has a built-in functions to prompt for deployment share via the LocationServer.xml file. Most times I use the default gateway property to have clients automatically select the right server depending on what subnet they are on, but sometimes prompting can be useful too.
Note: By default the logic in this feature cleans any credentials provided in bootstrap.ini.
The LocationServer.xml feature
This feature allows for MDT to dynamically generate bootstrap.ini values for DeployRoot and is implemented as follows:
- Create the LocationServer.xml file, and specify the various deployment servers.
- Copy the LocationServer.xml file to the \Deploy\Control folder in your boot image. The easiest way is via the Extra directory to add feature on the deployment share.
- Modify the Bootstrap.ini file to not include any DeployRoot value (since the LocationServer.xml feature dynamically sets it).
- Update the deployment share (which updates the boot image), and replace the boot image on your WDS server.
Sample file
Here is a sample LocationServer.xml file that allow you to select between two deployment servers.
<?xml version="1.0" encoding="utf-8" ?>
<servers>
<QueryDefault></QueryDefault>
<server>
<serverid>1</serverid>
<friendlyname>
ViaMonstra HQ, New York, USA
</friendlyname>
<UNCPath>\\MDT01\MDTProduction$</UNCPath>
</server>
<server>
<serverid>2</serverid>
<friendlyname>
ViaMonstra BO, Stockholm, Sweden
</friendlyname>
<UNCPath>\\MDT02\MDTProduction$</UNCPath>
</server>
</servers>
Deployment Wizard
This is how the deployment wizard looks after enabling the LocationServer.xml feature.

Happy Deployment, Johan
Hi Johan, Is this still possible? I've added the locationserver.xml to DeploymentShare\Extra Files\Deploy and DeploymentShare\Control\ removed the deploy root in bootstrap.ini, added the Extra Files directory for WINPE Customization in x64, updated the boot images, imported the new littouch boot image into WDS but the drop down for the Site selection is still empty for me. Have I missed something?
Yes, this still works in the MDT 8456. The locationserver.xml must be in the Deploy\Control folder, not in Deploy. After PXE-boot, in WinPE, press F8, and verify that the locationserver.xml is in the X:\Deploy\Control folder. Should look like this: