f69ae077-386f-4543-9036-30e5b3377f62
PowerShell 2.0 is deprecated and should be uninstalled.
https://devblogs.microsoft.com/powershell/windows-powershell-2-0-deprecation
https://www.stigviewer.com/stig/windows_server_2016/2017-11-20/finding/V-73301
Windows Server Family:
* Start "Server Manager".
* Select the server with the feature.
* Scroll down to "ROLES AND FEATURES" in the right pane.
* Select "Remove Roles and Features" from the drop-down "TASKS" list.
* Select the appropriate server on the "Server Selection" page and click "Next".
* Deselect "Windows PowerShell 2.0 Engine" under "Windows PowerShell" on the "Features" page.
* Click "Next" and "Remove" as prompted.
Desktop:
Disable "Windows PowerShell 2.0" on the system.
Run "Windows PowerShell" with elevated privileges (run as administrator).
Enter the following:
Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root
This command should disable both "MicrosoftWindowsPowerShellV2Root" and "MicrosoftWindowsPowerShellV2" which correspond to "Windows PowerShell 2.0" and "Windows PowerShell 2.0 Engine" respectively in "Turn Windows features on or off".
Alternately:
Search for "Features".
Select "Turn Windows features on or off".
De-select "Windows PowerShell 2.0".
Also, from powershell command line (running as Administrator) run:
Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root
STIG
Server
2022: https://stigviewer.com/stigs/microsoft_windows_server_2022/2025-01-14/finding/V-254278
2019: https://stigviewer.com/stigs/microsoft_windows_server_2019/2025-01-15/finding/V-205685
Desktop
W11: https://stigviewer.com/stigs/microsoft_windows_11/2024-09-12/finding/V-253285
W10: https://stigviewer.com/stigs/microsoft_windows_10/2024-11-25/finding/V-220728
Manage your cookie preferences below:
To learn more about our use of cookies, please see our
Privacy Policy.