Disabling hibernation is simple enough (âpowercfg.exe -h offâ) but how would we do this in MDT.
As with all things MDT, there is often more multiple ways to achieve the same goal. The two methods I would use are by the modifying the unattend.xml as described here or using a command line step in the deployment sequence.
A recent MDT project found the clients needs were more aligned with the task sequence step option.
Using MDT 2013 I wanted a sequence that automatically installs, sysprepâs and captures my reference image.
For ease of management, I choose to have a dedicated MDT Deployment Share for my reference build process and use Powershell wherever possible.
A more detailed process using the GUI can be found here
Steps:
Install ADK 8.1 Install MDT 2013 Install and configure WSUS Build the reference build share Configure build sequence Execute sequence in a VM Downloads required:
On a recent MDT project the client requested to finish all builds with volume set at 30%.
Being committed to doing everything in Powershell, I jumped on the book of knowledge looking for some inspiration. As luck would have it, I found this response from knuckle-dragger that performed the complete task perfectly for me.
Below is the PowerShell script that meets my clients âneedââŚ
Function Set-Speaker($Volume){ $wshShell = new-object -com wscript.