← all articles

what happened to powershell 2.0 in windows 11?

microsoft removed windows powershell 2.0 from windows 11, version 24h2, starting with a release in august 2025, and from windows server 2025 with a september 2025 release. scripts that ask for version 2 now get windows powershell 5.1 instead, and microsoft's fix is to move scripts to powershell 5.1 or powershell 7.

download the ReMynd desktop app

this guide follows microsoft's own support, learn and powershell team pages as we read them on november 29, 2026. if you searched powershell 2.0 removed, powershell 2.0 deprecated or powershell 2.0 windows 11, this page explains the change.

when was powershell 2.0 removed?

microsoft's powershell 2.0 removal article (kb 5065506, first published august 11, 2025) gives the timeline:

stepwhat microsoft says
windows 7powershell 2.0 first introduced
2017officially deprecated, kept as an optional feature for compatibility
july 2025removed from windows insider preview builds
august 2025removal starts for windows 11, version 24h2
september 2025removal release for windows server 2025

microsoft says all later releases for windows 11 and windows server 2025 will not include powershell 2.0. the windows insider blog post for build 27891, published july 3, 2025, said powershell 2.0 was removed from the latest canary channel builds. microsoft's removed features list lists windows powershell 2.0 as removed.

why did microsoft remove powershell 2.0?

microsoft says the removal is part of a broader effort to clean up legacy code, reduce the complexity of the powershell ecosystem, and improve windows security. the faq on the removal article adds that it encourages use of newer, more secure powershell versions.

the deprecation was announced years earlier. microsoft's deprecated features list dates the original announcement to windows 10, version 1709, with a courtesy reminder in june 2025. the powershell team's deprecation post from august 24th, 2017 said windows powershell 5.x has security features including enhanced transcription logging and amsi protection.

what happens to scripts that use -version 2?

they run on windows powershell 5.1 instead. microsoft says that if a script or scheduled task explicitly tries to launch powershell 2.0, for example with powershell.exe -version 2, windows will no longer be able to run that legacy engine and will launch the default powershell version.

microsoft says that most of the time, scripts will continue to work, since powershell 5.1 is backward-compatible. there is a small chance that some older scripts might not run as expected if they depended on a specific behavior unique to version 2.0. microsoft also says some older non-windows software may try to install or enable powershell 2.0 during setup, and on new versions of windows that installer may fail or show an error.

how do you move off powershell 2.0?

microsoft's primary guidance is to update anything using powershell 2.0 to powershell 5.1 or powershell 7. to work through it:

  1. check your version. microsoft's automatic variables docs say $PSVersionTable shows details about the version of powershell running in the current session.
  2. find the -version 2 calls. look in scripts and scheduled tasks for powershell.exe -version 2, and remove that requirement.
  3. update old software. microsoft says many server products that once used powershell 2.0, such as exchange, sharepoint and sql, have newer versions that use modern powershell. for third-party tools, check the vendor's website for a newer release.
  4. move .net apps. the powershell team post says an application hosting powershell in .net clr2 (.net framework 2.0 to 3.5) should move to clr4 (.net framework 4.6+) or .net core.
  5. try powershell 7 if you want the newest version. microsoft's install guide says powershell 7 doesn't replace windows powershell 5.1; it installs to a new directory and runs alongside windows powershell 5.1. one install route is winget install --id Microsoft.PowerShell --source winget.

can you still get powershell 2.0 back?

you can, but microsoft calls it a temporary mitigation. the removal article describes a last resort: download the ps2DLC.zip file, extract it, start a powershell window in admin mode, change to that folder and run .\loadGAC.ps1. microsoft says this is a temporary mitigation to unblock users and that you should migrate off powershell 2.0 as soon as possible.

in our view, use it only to keep a business tool running while the script or installer is replaced.

where does ReMynd fit?

ReMynd is a desktop app that locally captures your screen history. in our view, it is for finding something you saw on your computer earlier, like an error message from a script you ran last month, provided ReMynd was running at the time. ReMynd also runs on windows 11 (x64 or arm64).

this page makes no claim about which ReMynd features are available on windows. for another windows command line tool microsoft removed, see what happened to wmic, and for a scripting language on its way out, see what happened to vbscript.

limits

this page covers windows 11, version 24h2 and windows server 2025, as microsoft's removal article describes them; it does not cover windows 10 or older windows server versions. microsoft's article is written in the future tense in places, so we follow microsoft's removed features list for the august 2025 date. we did not test any command or the ps2DLC.zip package, and this page reflects microsoft's pages as of november 2026.

download the ReMynd desktop app

common questions

what happened to powershell 2.0? +
microsoft removed windows powershell 2.0 from windows 11, version 24h2, starting with a release in august 2025, and from windows server 2025 with a september 2025 release. microsoft says all later releases of windows 11 and windows server 2025 will not include it. windows powershell 5.1 and powershell 7.x are still available and supported.
what happens to scripts that use powershell.exe -version 2? +
microsoft says windows can no longer run the 2.0 engine, so the system launches the default version, windows powershell 5.1, instead. most scripts keep working because 5.1 is backward-compatible, but a few that rely on behavior unique to 2.0 might not run as expected. the fix is to remove the -version 2 requirement.
can i still install powershell 2.0 on windows 11? +
yes, as a last resort temporary mitigation. microsoft's removal article offers a ps2DLC.zip download that you extract and load with .\loadGAC.ps1 from an admin powershell window. microsoft calls this a temporary mitigation and says to migrate off powershell 2.0 as soon as possible.
why did microsoft remove powershell 2.0? +
microsoft says powershell 2.0 was officially deprecated in 2017 and is being removed to encourage use of newer, more secure powershell versions, as part of an effort to clean up legacy code and improve windows security.
how do i check my powershell version? +
microsoft's docs say the $PSVersionTable automatic variable shows details about the version of powershell running in the current session, including the psversion number. type $PSVersionTable in a powershell window to see it.