xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.

By: Ashley Viewed: 650 times  Printer Friendly Format    


While running any of the commands in your windows Powershell for Office 365 if you encounter this error: xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details. then follow these steps to resolve it.

In your powershell first check the current policy and then change it to unrestricted as follows:

PS C:\Windows\system32> Get-ExecutionPolicy
Restricted
PS C:\Windows\system32> Set-Executionpolicy -ExecutionPolicy Unrestricted

You will see something like this.

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust.
Changing the execution policy might expose you to the security risks described
in the about_Execution_Policies help topic. Do you want to change the execution
 policy?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
PS C:\Windows\system32> Import-PSSession $Session

ModuleType Name                      ExportedCommands
---------- ----                      ----------------
Script     tmp_c70b4563-208a-486f... {Set-RoleGroup, Set-RMSTrustedPublishin...

Now you can try to run your command that showed the error in the first place.



Most Viewed Articles (in Office365 )

Email limits and message limitations in Office 365

Outlook Live couldn't connect to the IMAP server.

xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.

Change primary e-mail address of a Office 365 user or group

Install and configure Memcached in linux

Myths about Directory Synchronization in Office 365

Is autodiscover CNAME a must in Office 365

Comparison: SharePoint Online Plan 1 vs SharePoint Online Plan 2

Migrating SharePoint WSS2.0 site to SharePoint Online and Backup the SharePoint Online

On-premise Exchange and Lync Online integration

Change Dirsync synchronization frequency

Making your Alias email as 'Send As' in Office 365

Outlook Live couldn't sign in to the user account on the IMAP messaging system.

An Outlook Live mailbox wasn't found for the user.

The user's mailbox has already been migrated.

Latest Articles (in Office365)

Comment on this tutorial