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

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: http://github.com/DeploymentResearch/DRFiles/blob/master/Scripts/CustomizeHydrationKit.ps1 

If you want the deployment share on H: for example, start by extracting the HydrationCMWS2016.zip 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 (https://deploymentresearch.com/580/Hydration-Kit-For-Windows-Server-2016-and-ConfigMgr-Current-Technical-Preview-Branch)

Note: This have only been tested on the Hydration kit above! (HydrationCMWS2016.zip)

Written by Mattias Benninge (@matbg)

About the author

Johan Arwidmark

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

>