You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

Customizing the Hydration kit, PowerShell style! - By Mattias Benninge

Apr 26 2017

Johan has done a great job creating the Hydration kit but I had the need to do some customizations. Johan did a write-up on which files needed to be changed (here) but that’s a lot a manual work which I really recent ;)

It also suggests creating the deployment share on C: first and then use mklink to point the data to the drive where you actually want it. My script is intended to be run on the source files before the deployment share is created and allows for the deployment share to be created on any drive.

Link to the script: 

If you want the deployment share on H: for example, start by extracting the to H:
Then edit the first to values in the script:


$HydrationSource = "H:\HydrationCMWS2016" 
$NewMDTPath = "H:" 


The script also supports customizing the following:

  • Password
  • Domain related info
  • IP related things
  • Time zone

Just put a # (comment) in front of any values that you don’t want to customize and they will be skipped by the script.
When running the script the values will be updated in all locations where applicable, no more need to update task sequences or ini-files manually!! 

After the script has been run follow the guide Johan written here (

Note: This have only been tested on the Hydration kit above! (

Written by Mattias Benninge (@matbg)

Deployment News

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive


Where you can meet us!

Live Stream Recordings
ConfigMgr 1806 and W10 OSD

5 Days - Mega Geek Week 
(multiple classes, ConfigMgr, OSD etc.)
- Johan Arwidmark, Mikael Nystrom...
Jun 10, 2019, Chicago, IL, US

4 Days - Windows 10 OSD Classes
- Johan Arwidmark
May 20, 2019, San Diego, CA, US
Jun 17, 2019, Culemborg, NL
Jul 8, 2019, Phoenix, AZ, US

5 days - ConfigMgr Classes
- Johan Arwidmark and Kent Agerlund
Apr 8, 2019, Chicago, IL, US
Apr 22, 2019, Houston, TX, US

Video-based trainings

MDT, Windows 10 and ConfigMgr Books

Contact Info