Thursday, August 1, 2019

How To Fix “Execution Of Script Is Disabled On This System” Error

The Script execution problem mostly occurs when you try to run specific commands and scripts on PowerShell to troubleshoot an issue on your PC. This issue “execution of scripts is disabled” may occur at times. Whatsoever, this option can be tweaked manually.
power shell
You can troubleshoot this issue, and you have to follow the solutions carefully. So let’s get started.
Fix 1: Use a Command on PowerShell to fix the problem
We have a specific command for PowerShell that can enable execution of script again in your PC. This method only takes a few minutes to make changes and fix the issue. It will change the policy of execution script on your PC, so let’s try this one out.
  1. To fix this issue, run PowerShell as administrator on your computer, to do so, right-click on your Start menu button.
  2. Now choose “Windows PowerShell (Admin)” option from the list.
  3. In Windows 7, you can search for it in the Start menu.
  4. If you are using the search option to open the PowerShell, then don’t forget to run it as an administrator by right-clicking on it.
  5. In PowerShell application, enter the command: “Set-Execution Policy RemoteSigned”, and then press the Enter key.
  6. Now it will start a short process, and then you may receive a message showing that the procedure has been completed successfully.
This solution mostly works for all Windows systems.
Fix 2: Change of Group Policies
If the previous method failed on your PC, then don’t panic; we have another way to kick this issue out of your PC.
Editing policies can be a solution to the issue. So let’s try fixing the problem by changing the group policies to a higher level. To do so, you have to navigate to the group policy editor and then edit the policies.
  1. Press Windows and R keys together at the same time to browse the Run dialogue box.
  2. Now type “gpedit.msc” and hit the enter key just after that.
  3. In Windows 10, open the start menu and then search for “group policy editor” and select the first result to run the Local Group Policy Editor tool.
  4. Navigate to the Computer Configuration from the left side options.
  5. Open Administrative Templates by double-clicking on it and then go to Windows Components.
  6. After that, go to Windows Powershell.
  7. Double click the Windows PowerShell folder and then look at its right side section.
  8. Navigate to the “Turn on Script Execution” policy option by double-clicking it.
  9. Now you will have to check the radio button which appears beside the “Enabled” option.
  10. In the Execution Policy section, select the “Allow all scripts” option. Afterwards, hit the Apply button located at the bottom.
  11. Now restart your PC to apply the changes.
After a complete reboot, you can check that your problem has been solved. This solution will hopefully fix the issue in your system.
Read more
Kellie Minton  arrived on the cyber security scene in the early 2000s when virus and malware were still new and slowly evolving. Her longtime affair with writing with an interest in the cybersecurity industry, combined with her IT degree, has contributed to experience several aspects of security suite industry such as blogging at www.norton.com/setup.

No comments:

Post a Comment

McAfee Vs. Kaspersky Internet Security

  McAfee and Kaspersky are well-known names in the antivirus circle. It’s not wrong to say that they can be considered giants in the online ...