Home > ConfigMgr 2007 > MDT 2012 with Server 2012 PowerShell – Initialization Error

MDT 2012 with Server 2012 PowerShell – Initialization Error

While attempting to install the Microsoft Deployment Toolkit 2012 on Server 2012 I ran into an issue where it does not recognize PowerShell is installed. By default PowerShell v3 is installed with Server 2012.

The reason I was seeing this was because of the following validation exception:

File H:\Program Files\Microsoft Deployment Toolkit\bin\Microsoft.BDD.PSSnapIn.Types.ps1xml cannot be loaded because the execution of scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170..

 

To help resolve this I first ran a Get-ExecutionPolicy


Next I ran a get-ExecutionPolicy – list

Finally I ran a set-ExecutionPolicy RemoteSigned –Scope CurrentUser

Re-launch the Deployment Workbench

Categories: ConfigMgr 2007
  1. nomem
    June 11, 2014 at 12:39 pm

    Thanks for this!

  2. August 15, 2014 at 8:35 am

    Many Thanks!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: