Sign in

    Administrative Templates for Windows PowerShell

    This page provides the Group Policy Administrative template file for Windows PowerShell.
    • Version:


      File Name:


      Date Published:


      File Size:

      127 KB

        Windows PowerShell supports a Group Policy setting ("Turn on script execution") that sets the execution policy for Windows PowerShell. This policy setting can prevent users from running scripts that are downloaded from the Internet or from sources other than trusted publishers. It can also prevent users from running any scripts; however, it allows users to run interactive commands.

        From this page, you can download a Microsoft Windows Installer that contains PowerShellExecutionPolicy.adm, the Administrative template file for the Windows PowerShell Group Policy setting. Administrative template files populate user interface settings in the Group Policy Object Editor, enabling administrators to manage policy settings.
    • Supported Operating System

      Windows Server 2003 Service Pack 1, Windows XP Service Pack 2

        • Permission to run Group Policy Object Editor (gpedit.msc).

    • Install Instructions
        To download the Windows Installer that contains the .adm file:
        1. Click the Download button
        2. .
        3. In the File Download dialog box, click Save.
        4. In the Save As dialog box, browse to the directory where you want to save the Windows Installer (.msi file).
        5. To start downloading the Windows Installer, click Save.

        To install the .adm file on your computer:
        1. Double-click the Windows Installer to start the .adm file installation wizard.
        2. Follow the instructions in the wizard.
        Note: The Windows Installer allows you to select the location where the file is installed. Note the file location so that you can find the file after it has been installed.

        To add the .adm file to Group Policy (gpedit.msc):
        1. Click Start, click Run, and then type gpedit.msc.
        2. Under Computer Configuration, right-click Administrative Templates, and then click Add/Remove Templates.
        3. In the Add/Remove Templates box, click Add.
        4. Navigate to the PowerShellExecutionPolicy.adm file in the location where you installed it. If you did not specify an alternate location, the file is installed in %ProgramFiles%\Microsoft Group Policy (typically C:\Program Files\Microsoft Group Policy).
        5. Double-click PowerShellExecutionPolicy.adm.
        6. Click Close.

      • The PowerShellExecutionPolicy.adm file adds the “Turn on script execution” policy setting to the following paths in Group Policy:
        • Computer Configuration\Windows Components\Windows PowerShell
        • User Configuration\Windows Components\Windows PowerShell
        For information about the policy settings in Group Policy, navigate to a policy setting and then click the policy setting’s name. A description of the policy setting appears on the Extended tab of the policy setting.

        If you have questions about Windows PowerShell, including this Group Policy setting, post them on Microsoft.Public.Windows.PowerShell.

    Popular downloads

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft Suggests

    Windows 10. The best Windows ever.
    Windows 10
    The best Windows ever.
    Upgrade for free*