Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Set PowerShell Execution Policy via Windows Settings

Posted on 31/10/202031/08/2026 Christian By Christian No Comments on Set PowerShell Execution Policy via Windows Settings
  1. Home
  2. Windows
  3. Set PowerShell Execution Policy via Windows Settings
PowerShell Execution Policy

PowerShell is configured to prevent the execution of PowerShell scripts on Windows systems by default. The PowerShell execution policy is a safety feature implemented to control the various conditions under which PowerShell loads configuration files and runs scripts. As discussed in one of my previous blog posts “how to Set Execution Policy via Windows PowerShell” and “how to set the PowerShell Execution Policy via the Windows Registry settings.

Understanding and Configuring PowerShell Execution Policies

Furthermore, Ensure you have the PowerShell execution policy configured in order to permit the script. Below are the various values of policies that exist.

  • AllSigned: This runs the only script that is signed by a trusted publisher only. 
  • ByPass: However, Configured to permit a certain script to run
  • Default: By default, the Execution Policy is set to restricted for Windows devices, and for servers, it is RemoteSigned. 
  • RemoteSgned: A trusted publisher must sign the script before it is permitted to run. Moreover, Scripts you run from the local computer don’t need to be signed. There are no prompts when you attempt to run a script. 
  • Restricted: In this mode, no PowerShell script is allowed to run on the device.  
  • Unrestricted: In addition, In this mode, these scripts are run on the devices regardless of where they are created or downloaded from. 
  • Undefined (No execution policy): Nonetheless, This value has no execution policy set. The effective execution policy is Restricted, which is the default execution policy.   

To do this, launch the Windows Settings as shown below, click on Windows Updates,
– Click on “For Developers”
– On the right pane of the window, under PowerShell,
– Click on show settings

Windows Security Settings

This will open the PowerShell window as shown below. Here you have the syntax available to you and also the needed command.

Screenshot of Windows PowerShell displaying the 'Set-ExecutionPolicy' command with various parameters and a note about help files.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Tags:PowerShell, PowerShell version 7, PowerShellGet, Windows 10

Post navigation

Previous Post: Solve VMware workstation .lck error [Part 1]
Next Post: User account and process management in Linux

Related Posts

  • Fixed Sysprep Generalize 1
    How to Fix The Virtual Desktop is Not Sysprep Generalized Virtualization
  • Featured image bootable USB
    Create a Windows 10 or 11 bootable USB with UEFI support Windows
  • Screenshot 2022 04 27 at 00.50.35
    How to create a BitLocker System Partition [Part 2] Windows
  • SSD Trim and Disable delete operaion from ending up in Recycle bin
    SSD TRIM: Delete files permanently without using the Recycle Bin Windows
  • How to Change the Default Web Browser on Windows 11 banner
    How to Change the Default Web Browser on Windows 11 Windows
  • How to Decrypt Files and Folders Encrypted with EFS in Windows 10
    How to decrypt Files and Folders Encrypted with an Encryption File System (EFS) in Windows Windows

More Related Articles

TeamPass Password manager Install and configure TeamPass Password Manager Password Manager
Windows11 How to change Regional Settings for all users on Windows 11 Windows
screenshot 2020 03 14 at 10.13.38 How to Hide the Action Center Taskbar Icon In Windows 10 Windows
Banner Enabling and Configuring WinRM via GPO Windows
Computer policy could not be updated How to fix Computer Policy could not be updated successfully Windows
The evolution of Windows authentication NTLM to Keberos Bidding Farewell to NTLM in favour of Kerberos Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Windows Logo
    Restrict IP Address Range on Windows PC Windows
  • PSD
    PowerShell Deployment Extension for MDT: How to deploy Windows using PSD, Microsoft Deployment Toolkit, and Windows Deployment Services Windows Server
  • a3a5a8be58fa09468cd4f70d36869e98
    Restore AD Objects: How to restore deleted user accounts in Active Directory with Microsoft LDP and PowerShell Windows Server
  • docker desktop 1
    Failed to remove network for build: Error during connect in the default daemon configuration on Windows, the Docker client must be run with elevated privileges Containers
  • systemd services
    How to use Systemd Timers on Linux Linux
  • Secure Boot 2023 Compliance for wds e1781352448233
    Secure Boot 2023 Compliance Across WinPE, MDT, WDS, and ADK: Boot Chain Alignment and PXE Validation [Final Part] Windows
  • Remote desktop connection over udp and tcp
    Remote Desktop Connection behavior over UDP and TCP Windows Server
  • ghfg 1
    Handy WSUS Commands: Windows Server Update Services Commands, WAUACLT, PowerShell and USOClient Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,745 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.