Header Ads

  • New Updates

    Enable execution of scripts is disabled on this system Windows 2012 Powershell






    If PowerShell script not working due to disabled the service.Do the following,


    Open Run Command/Console ( Win + R )
    Type: gpedit.msc (Group Policy Editor)
    Browse to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Powershell.
    Enable "Turn on Script Execution"
    Set the policy as needed. I set mine to "Allow all scripts".

    Post Top Ad

    Post Bottom Ad

    Ads