This document provides instructions for enabling the execution of PowerShell scripts and running scripts to update a system and disable Windows Defender. It explains how to set the execution policy to unrestricted for the current user, unblock any blocked scripts in the current directory, and run individual scripts from an elevated PowerShell with administrator privileges, including scripts to restart the computer, update the system, edit scripts as needed, and disable Windows Defender.
This document provides instructions for enabling the execution of PowerShell scripts and running scripts to update a system and disable Windows Defender. It explains how to set the execution policy to unrestricted for the current user, unblock any blocked scripts in the current directory, and run individual scripts from an elevated PowerShell with administrator privileges, including scripts to restart the computer, update the system, edit scripts as needed, and disable Windows Defender.
This document provides instructions for enabling the execution of PowerShell scripts and running scripts to update a system and disable Windows Defender. It explains how to set the execution policy to unrestricted for the current user, unblock any blocked scripts in the current directory, and run individual scripts from an elevated PowerShell with administrator privileges, including scripts to restart the computer, update the system, edit scripts as needed, and disable Windows Defender.
Unblock PowerShell scripts and modules within this directory:
PS> ls -Recurse *.ps*1 | Unblock-File
Usage Scripts can be run individually, pick what you need.
Install all available updates for your system.
Edit the scripts to fit your need. Run the scripts you want to apply from a PowerShell with administrator privileges (Explorer Files > Open Windows PowerShell > Open Windows PowerShell as administrator) PS > Restart-Computer Run disable-windows-defender.ps1 one more time if you ran it in step 3 PS > Restart-Computer