Enable Powershell in WinPE
search cancel

Enable Powershell in WinPE

book

Article ID: 175090

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

The Powershell run script tasks fail when running in WinPE.

Environment

DS 8.x

Resolution

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 by doing the following to make the change:

  1. Open default.bdc file on the Notification Server, found in \Program Files\Altiris\Deployment\BDC\bootwiz\default.bdcw, with notepad++.
  2. Under Packages add:
    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 the BDC Packages are updated on Package Server then rebuild your PXE/Automation Environment.