Attention: If you are running 8.6 RU2 or higher there is a new feature and this isn´t needed anymore. See this Blogpost.
In a previous article I wrote on how to Manage Bitlocker in WinPE…. using the manage-bde.exe command line tool. The same can be accomplished using Powershell and enabling Powershell in WinPE is far easier than using the method described in my first article.
If you create a WinPE Bootfile using Symantec Deployment Solution 8.x you are not able to run Powershell scripts WinPE (per default).
To get Powershell working in WinPE you have to modify the default.bdc File. This file can be found in: <Default Install Path>\Program Files\Altiris\Deployment\BDC\bootwiz\
You need to make some changes to the file on the SMP Server. Before you modify the default.bcd File create a Backup of the file!
Instructions to enable Powershell for WinPE:
- Open default.bdc file on the notification server with notepad++. ( \Program Files\Altiris\Deployment\BDC\bootwiz\default.bdc )
- Add under Packages:
- Save file
- Open up Altiris Console
- Go to Settings > All Settings
- Go to Deployment > Packages > BDC
- Click on Update Distribution Points
- Once BDC Packages is updated on Package server Rebuild your PXE/Automation Environment.
Symantec, please enable Powershell support in WinPE by default in DS 8.x and Ghost Solution Suite 3.x because most of the scripts and maintainance tasks that are helpful to manage Windows are Powershell scripts.
Beware that the changes need to be done after each Release Update (RU), because they are reverted back to default – Thanks for the hint @Bart VdW