Viral Rathod Exchange Server 2016 Blog

Microsoft Exchange Server Blog

  • Click here to Register for Experts-Exchange Account

  • My Experts Exchange Profile

  • Disclaimer

    All information is provided "AS IS" with no warranties, and confer no rights, and as such you perform at your own risk.

    NOTE: You should always make a backup of your server or export the registry before making any changes to it.

Exchange 2010 EMC “initialization failed” error execution of scripts is disabled on this system

Posted by viralr on November 15, 2011

Exchange server 2010 and I have just launched the EMC and received the following error.  

Initialization failed

ConsoleInitialize.ps1 cannot be loaded because the execution of scripts is disabled on this system

Cause :-

—————

The reason for this error is the security setting on your pc that does not allow you to execute a script.  This is the so-called Execution Policy. By default, the Execution Policy is set to Restricted. This setting means that you may not run any PS1 script at all.

An overview of the policy levels:

Restricted: Individual cmdlets can run, but not saved Powershell scripts. This is the default setting.
AllSigned: Scripts can run, but must have a digital signature even if written on the local computer. Prompts you before running scripts from trusted publishers.
RemoteSigned: Scripts written on the local computer do not need a digital signature, but any script downloaded from outside (email, IM, Internet) must have a signature to execute. 
Unrestricted: Any script can run, but scripts downloaded from outside will run with a warning.

If you’re working on a desktop and just experimenting with PowerShell, the best is to set the policy-level to Unrestricted. This allows you do everything with annoying security boundaries. Just be careful not to run every script you download from the internet 🙂
If you’re working in a production environment and only want to run self-written scripts, the RemoteSigned level should be loosy enough.

Resolution :-

——————–

To change the Execution Policy to Unrestricted, type the following command in Powershell

Set-ExecutionPolicy Unrestricted

To change the Execution Policy to RemoteSigned (to run your own scripts), type the following command in Powershell

Set-ExecutionPolicy RemoteSigned

And that’s it! Your scripts can be run. Have fun !!!!!!!

3 Responses to “Exchange 2010 EMC “initialization failed” error execution of scripts is disabled on this system”

  1. satishpeta said

    hi viral….peta here…
    how r u

    hope everything’s going fine….

    take care…. 🙂

  2. solved my problem thank you

  3. GB said

    This continues to happen over and over again. Any way to fix permanently?

Leave a reply to Robert Lopez Cancel reply