Wednesday, May 29, 2013

WinPE4 Set Path Plugin

Ever have a need to modify the Path in WinPE?  You can do this temporarily in Startnet.cmd, but once you close the CMD Prompt, that modification goes away.

This Plugin will do that for you when you Update Deployment Share (update Boot Images) by modifying the Path Statement in the registry.  The Path Statement is stored here:
HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment

Default Path Statement in WinPE 4:
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem"

Default Path Statement in WinPE 4 with Windows PowerShell 3.0 Feature Pack:
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\"

Make sure to include the Default Path above and append your changes at the end using a semicolon.

INF Files

WinPE4.inf - This will add the modified Path Statement to WinPE

Follow these steps to add to MDT


  • Add the Plugin directory to a Selection Profile used for making your Boot Image
  • Enable the Selection Profile in Deployment Share Properties > Windows PE > Drivers and Patches
  • Make sure to enable 'Include all system-class drivers in the selection profile' in the Deployment Share Properties > Windows PE > Drivers and Patches
  • 'Update Deployment Share' to create new Boot Images


Click on 'Folder actions' from the top menu, then 'Download folder'

Download All WinPE4 Plugins
Click on 'Folder actions' from the top menu, then 'Download folder'

No comments:

Post a Comment