In this post, we will show you how to remove or disable PowerShell v2 using Local Security Policy, PowerShell or Windows Features in Windows 11/10. It is still enabled in Windows systems, and this can be used to bypass event logging by threat actors. So it is best to disable it.

how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10

How to disable PowerShell v2 in Windows 11/10

To disable PowerShell v2 in Windows 11/10, follow these methods:

    Using Windows FeaturesUsing Local Security PolicyUsing PowerShellUsing Command Prompt

To learn more about these methods in detail, continue reading.

1] Using Windows Features

how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10
It is probably the easiest way to get rid of Windows PowerShell 2.0 from Windows 11 and Windows 10 computers. You do not need to take the help of third-party applications since Windows Features is an in-built utility that allows users to enable or disable certain features.To disable PowerShell v2 using Windows Features, follow these steps:Search for windows features in the Taskbar search box.Click on the individual search result.Remove the tick from the Windows PowerShell 2.0 checkbox.Click the OK button.Let it finish the process.Finally, restart your computer to get the change.

2] Using Local Security Policy

how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10

Local Security Policy is yet another in-built utility that allows users to set various policies regarding Windows security. You can use the same to disable or block PowerShell 2.0 in Windows 11/10 PC.

To disable PowerShell v2 using Local Security Policy, follow these steps:

  • Search for local security policy in the Taskbar search box.
  • Click on the search result.
  • Right-click on the Software Restriction Policies.
  • Select the New Software Restriction Policies option.
  • Right-click on the Additional Rules option.
  • Select the New Hash Rule option.
  • Click on the Browse button.
  • Enter this path: %SystemRoot%system32WindowsPowerShell
  • Select the powershell.exe file and click the Open button.
  • Ensure that the Disallowed option is selected in the Security level menu.
  • Click the OK button.However, this solution might not work if you cannot find the v2.0 in the WindowsPowerShell folder.

    3] Using PowerShell

    how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10
    You can use a simple command in Windows PowerShell to disable or enable PowerShell 2.0 on Windows 11 or Windows 10 computers. However, before doing that, you need to open Windows PowerShell with administrator permission. Then, you need to check the current state of PowerShell 2.0. For that, enter this command:

    Get-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2

    If the State is being displayed as Disabled, you do not need to do anything else. However, if it is showing Enabled status, you need to enter this command:

    Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

    Now, you can enter the first command to check the status.However, if you want to re-enable Windows PowerShell 2.0, enter this command:

    Enable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

    4] Using Command Prompt

    how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10

    Like Windows PowerShell, you can use the Command Prompt to get the job done. This time, you need to take the help of the DISM tool or parameter. Therefore, to get started, open elevated Command Prompt window first. Then, enter this command to check the current status:

    DISM /online /get-features /format:table | find "MicrosoftWindowsPowerShellV2Root"

    If it is showing as Enabled, enter the following command to disable PowerShell v2:

    Dism /online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root"

    On the other hand, if you want to enable it, use this command:

    Dism /online /Enable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" -All

    For your information, you can use the same commands in the Windows Terminal as well. For that, you need to open the respective instance of Windows PowerShell or Command Prompt first.There are multiple methods to disable PowerShell v2 on Windows 11 and Windows 10. For example, you can use Windows Features, Local Security Policy, Windows PowerShell, and Command Prompt to get the job done. However, if you want to disable Windows PowerShell from top to bottom, you can use the Local Group Policy Editor and Registry Editor as well.

    How do I disable PowerShell in Windows 11?

    To disable PowerShell in Windows 11, you can use three different methods – Local Security Policy, Local Group Policy Editor, and Registry Editor. Using the Local Security Policy is the most common practice when it comes to disabling the PowerShell utility on your computer. Whether it is Windows 11 or Windows 10, you can go through the same methods to get the job done.That’s all! Hope these guides helped you.

    how to, microsoft, windows, microsoft, how to disable powershell v2 in windows 11/10

    Keyword: How to disable PowerShell v2 in Windows 11/10

  • TECH'S NEWS RELATED

    7 ways to fix ISDone.dll errors freely install games on your computer

    3. How to fix ISDone.dll errors with DLL error correction software 4. How to fix ISDone.dll error by expanding virtual memory 5. Turn off anti-virus software 6. Disable Windows Firewall 7. Re-register ISDone.dll in Command Prompt Open Command Prompt by pressing the key combination Windows + X. In the ...

    View more: 7 ways to fix ISDone.dll errors freely install games on your computer

    Windows Resource Protection Unable to Fix Corrupt Files: 5 Fixes to Try

    Fix 1: Run DISM Fix 2: Boot in Safe Mode Fix 3: Use System Restore Fix 4: Factory Reset Windows Fix 5: Repair with WinPE (Advanced) What is the Best Way to Fix Windows Resource Protection Found Corrupt Files Error? The System File Checker (SFC) is built into Windows ...

    View more: Windows Resource Protection Unable to Fix Corrupt Files: 5 Fixes to Try

    How to Use Multiple Desktops on One Screen in Windows 11

    The virtual desktop feature in Windows 11 helps you organize and work on different things on one screen.

    View more: How to Use Multiple Desktops on One Screen in Windows 11

    Logitech Lift Mouse review

    Great mice come in small, recyclable packages

    View more: Logitech Lift Mouse review

    Beelink SEi11 Pro Mini PC review

    Cosmic Power, Itty Bitty Living Space

    View more: Beelink SEi11 Pro Mini PC review

    Beginners guide to using Audacity on PC

    Beginners guide to using Audacity on PC How long does it take to learn Audacity? How do I use Audacity to make music on Windows? Audacity is an open-source, free-to-use audio recording and editing software available for Windows, Mac, and Linux systems. It is one of the popular and ...

    View more: Beginners guide to using Audacity on PC

    Indian SMBs lead their global peers in technology spends: report

    ETtech Illustration: Rahul Awasthi Small and medium business (SMBs) in India lead their global counterparts in spending on technology, with about 35% spending over 10% of their revenue on technology according to the Microsoft SMB Voice and Attitudes to Technology Study 2022.Growth of customer base and improvement in customer retention ...

    View more: Indian SMBs lead their global peers in technology spends: report

    What makes the GeForce RTX 40 series go so fast?

    The makings of a next-gen GPU champ What makes the GeForce RTX 40 series go so fast? Note: This article was first published on 21 September 2022. The makings of a next-gen GPU champ NVIDIA just launched their jaw-dropping GeForce RTX 4090, which is powered by their new Ada ...

    View more: What makes the GeForce RTX 40 series go so fast?

    How to score a volley in FIFA 23

    How to Play Overwatch 2 With Friends

    How to Buy IMPT Token | Invest in the Greenest Crypto of 2022

    How to convert Valorant sens to Overwatch 2

    Tips on How to Play Sojourn in Overwatch 2

    Microsoft Flight Simulator Harrier Gets New Trailer & Screenshots; Gibraltar Scenery Announced; Hot Air Balloon, P-750 XSTOL, & SeaRey Elite Released

    Jio, Airtel, Vi 5G: How to Activate 5G Network on Your Android & Apple iPhones, List of Supported Devices

    How to Get Your Car Out of the Snow: A Helpful Guide

    How to disable BitLocker in BIOS not everyone knows

    How to fix Startup Repair errors, see now, don’t let errors overlap

    Samsung launches 55-inch Odyssey Ark gaming monitor in India

    Windows 11 Dev Build 25217 Adds Third-Party Widgets Support

    OTHER TECH NEWS

    ;