Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

How to Set PowerShell Execution Policy

Mitch BartlettDecember 3, 2018 Comments (0)

You may have to set the PowerShell execution policy when attempting to run PowerShell scripts to allow the script to run. Otherwise you may be greeted with a “scriptname cannot be loaded because running scripts is disabled on this system.” error message.

Use this tutorial to allow PowerShell script execution on your Windows system.

First, be sure that the script is not blocked from executing with these steps:

  1. Right-click on the icon of the script, then select “Properties“.
  2. Ensure the “Unblock” checkbox is selected, then select “OK“.

Contents

  • 1 Option 1 – PS Command
  • 2 Option 2 – Registry Key
  • 3 Option 3 – Group Policy

Option 1 – PS Command

  1. Select the “Start” button and type “powershell“.
  2. Right-click “Windows PowerShell“, then select “Run as Administrator“.
  3. Type the following, then press “Enter“:
    Set-ExecutionPolicy RemoteSigned -Force

Option 2 – Registry Key

  1. Hold down the Windows Key, then press “R” to bring up the Run window.
  2. Type “regedit“, then select “OK“:
  3. Navigate to the following:
    • HKEY_LOCAL_Machine
    • SOFTWARE
    • Microsoft
    • PowerShell
    • 1
    • Shelllds
    • Microsoft.Powershell
  4. Right-click the “Microsoft.PowerShell” folder, then select “New” > “String value“.
  5. Type “ExecutionPolicy“, then press “Enter” to set the string name.
  6. Open “ExecutionPolicy“, then type “RemoteSigned” in the “Value data” field.
  7. Select “OK“.

Option 3 – Group Policy

The settings in Group Policy to set the execution policy can be found in Group Policy Management Editor at this path:

  • Policies > Administrative Templates > Windows Components > Windows PowerShell > Turn on Script Execution

 

Categories: Windows

Author Mitch Bartlett

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • Single Click Windows Header

    How to Enable or Disable Single-Clicking Feature in Windows 11

    Mitch BartlettWindows
  • Remote Desktop Won’t Save Username and Password

    MonaWindows
  • authentication-error-function-requested-not-supported-windows-10

    Fix Windows 10 Remote Desktop Authentication Errors

    Madalina DinitaWindows
  • microsoft-word-pasting-not-working

    How to Quickly Erase All Images in a Word Document

    Judy SanhzWindows

Leave a Reply

Your email address will not be published. Required fields are marked *

  • service outage message on Xbox

    What to Do With a Service Outage Message on Xbox

  • signs your hdd is failing

    Signs That Your HDD Is Failing

  • how to fix error code 0x800705b4 in windows 11

    How to Fix Error Code 0x800705b4 in Windows 11

  • does chromebook need an antivirus

    Does Chromebook Need an Antivirus?

  • top vpns

    Top 5 VPNs to Keep Your Information Private in 2026

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on December 3, 2018 by Mitch Bartlett