Windows

    Administrative Templates for Windows PowerShell

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

      1.0

      File Name:

      admFiles_PowerShell.msi

      Date Published:

      11/15/2006

      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).

      • 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

      • 01

        DirectX End-User Runtime Web Installer

        The Microsoft DirectX® End-User Runtime provides updates to 9.0c and previous versions of DirectX — the core Windows® technology that drives high-speed multimedia and games on the PC.

      • 02

        Malicious Software Removal Tool

        This tool checks your computer for infection by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it is found. Microsoft will release an updated version of this tool on the second Tuesday of each month.

      • 03

        Microsoft Security Essentials

        Microsoft Security Essentials provides real-time protection for your home or small business PC that guards against viruses, spyware, and other malicious software.

      • 04

        Windows 7 Upgrade Advisor

        Download and run the Windows 7 Upgrade Advisor to see if your PC is ready for Windows 7. It scans your hardware, devices, and installed programs for known compatibility issues, gives you guidance on how to resolve potential issues found, and recommends what to do before you upgrade.

    Loading your results, please wait...

    Free PC updates

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

    Microsoft Suggests

       Shop for a new Windows PC.
    Shop for a new Windows PC
    Browse our collection of laptops, tablets, and convertibles perfect for the new Windows.
    Shop now