Microsoft introduced a more powerful command-line shell in Windows 7 than the command prompt. The more powerful version of the command prompt is PowerShell, and is meant to demonstrate advanced stuff. Since Powershell was introduced, it has become more prominent, not that it comes built-in with the Windows 10 operating system.
Many people feel that both Command Prompt and Powershell are the same. However, they are different, and Powershell is more complex than traditional CMD. In addition, Powershell is more powerful than CMD and can be dangerous if it is in inexperienced hands.
Therefore, if you have a shared computer or other family member or friend using your PC, it is best to disable PowerShell completely. In this article, we will share a detailed guide on how to disable Powershell in Windows 10.. let’s look at.
Read also: 5 Best Anti-Exploit Tools for Windows 10
Steps to disable PowerShell in a Windows 10 computer
Please note that there is no direct option to disable Powershell. Therefore, we need to access the Local Group Policy Editor to deactivate Powershell. Playing with local group policy can be risky, so follow the steps carefully.
step 1. First, press the start button and search ‘Daud.’ Open the run program from the list.
stage 2. On the Run dialog box, enter ‘gpedit.msc’ And hit enter the switch.
step 3. This will open the Local Group Policy Editor. You need to navigate the following path – User Configuration> Administrative Templates> System.
step 4. On the right-hand pane, double click ‘Do not run the specified Windows application’ Policy.
Step 5. On the next window, select ‘capable’ And then under Options, click on ‘Display’ switch.
Step 6. Under Value, type ‘Powers..exe’ And then click ‘Alright’ switch.
this is the matter! You are done. Now restart your Windows 10 computer to apply the changes. After restart, you will not be able to run Powershell. To run a powershell, just rWithdraw the changes you made to the step number. 5 and step no. 4.
So, this article is about how to disable PowerShell on a Windows 10 computer. I hope this article helped you! Please share this with your friends too. If you have any doubts related to this, let us know in the comment box below.