Skip to content
System hardening
ASD ISMISM-1621

ASD ISM 1621 Disable or remove Windows PowerShell 2.0

What it says

Windows PowerShell 2.0 is disabled or removed.

Quoted as published. Everything else on this page is written by Control Stack.

What it means

In plain English

Windows PowerShell 2.0 must be disabled or removed on Windows workstations and servers, even where newer PowerShell versions are also installed.

Windows PowerShell 2.0 must be disabled or removed on Windows workstations and servers. Either outcome meets the control. PowerShell is Microsoft's command shell and scripting language. Having a newer version does not settle this, because on many Windows versions 2.0 is a separate optional component that runs side by side with newer ones, and a command can ask for it by version number. Only this old version is affected. Constrained Language Mode (ISM-1622) and logging (ISM-1623) are separate requirements for the versions that remain.

Why it matters

Malicious actors can exploit vulnerabilities in older PowerShell versions, and anyone able to start version 2.0 on purpose also avoids Constrained Language Mode and script block logging, which it predates. With it disabled or removed, there is no older engine to fall back on.

How to implement

  1. Find what still depends on version 2.0.

    Search scripts, scheduled tasks and shortcuts for -Version 2. Query the Windows PowerShell event log for event ID 400 with engine version 2.0, which shows what has actually started it. Ask developers and vendors about older applications that host PowerShell on .NET 2.0 or 3.5.

  2. Move those scripts and products off version 2.0.

    Update scripts to run on PowerShell 5.1 or 7 and drop the version switch. For a bought product, ask the vendor for a release that does not need 2.0. If none exists, replace it or record a risk for the authorising officer: the device stays a known shortfall until 2.0 is off.

  3. Disable or remove it on every Windows device that still has it.

    On workstations, disable the optional feature MicrosoftWindowsPowerShellV2Root. On servers, uninstall the PowerShell-V2 feature. Recent updates to Windows 11 version 24H2 and Windows Server 2025 no longer include it. Build the same state into your standard operating environment (ISM-1406) so new devices start without it.

Keep it running

Have your endpoint management tool report this feature's state, so a device where it returns shows up. Recheck after a new build image, a restore from an older image or an older product install, because some older installers try to enable version 2.0.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    The state of the version 2.0 feature on every Windows workstation and server, from your endpoint management tool, with the IT equipment registers (ISM-0336, ISM-1869) and a discovery scan to compare it with.

    Look at

    Whether every Windows device on those independent lists reports a state, and whether MicrosoftWindowsPowerShellV2 or PowerShell-V2 shows as enabled or installed.

    Good evidence

    Every Windows device on those lists reports version 2.0 as disabled, removed or not present, through the tool or, for a stand-alone computer, in a reading taken on the device itself. A recorded exception for a product that needs it counts as a shortfall, not a pass.

  2. Check 2 of 2What an auditor asks for

    Ask for

    A live attempt on a sample of those devices, including older builds and servers running legacy products, to run powershell.exe -Version 2 and print $PSVersionTable.PSVersion.

    Look at

    Which version actually runs, and the error text if the attempt fails.

    Good evidence

    Version 2.0 never runs: the attempt fails, or reports a later version because newer Windows builds fall back to the default. An error saying only that the required .NET Framework is missing does not pass alone, because the feature can still be on (ISM-1655 covers that framework).

Mappings

Closest match in ASD Essential Eight: E8-AH-ML3.2, Ensure Windows PowerShell 2.0 is disabled or removed, which asks for the same thing.

Essential Eight

ASD Essential Eight: 4 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.