search cancel

Enable Powershell in Winpe

book

Article ID: 175090

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

Powershell run script tasks fail when running in winpe.

Resolution

We are able to build a winpe environment with the correct packages that will allow for Powershell run script tasks to work in winpe. You just need to make a few changes to a file on the notification server. 

 

Instructions to make the change:

  1. Open default.bdc file on the notification server with notepad++. ( \Program Files\Altiris\Deployment\BDC\bootwiz\default.bdc )
  2. Add under Packages:
    WINPE-DISMCMDLETS=True
    WINPE-NETFX=True
    WINPE-POWERSHELL=True
    WINPE-STORAGEWMI=True
  3. Save file
  4. Open up Altiris Console
  5. Go to Settings > All Settings
  6. Go to Deployment > Packages > BDC
  7. Click on Update Distribution Points
  8. Once BDC Packages is updated on Package server Rebuild your PXE/Automation Environment.