A PowerShell script that automates privacy hardening and exploit mitigation on Windows 10 based on DISA STIG guidelines.
Take Back Your Privacy From Windows 10
This tool is designed for Windows 10 users, system administrators, and security professionals who want to enhance endpoint security by applying privacy and exploit mitigation settings automatically. It is particularly useful for those seeking to comply with DISA STIG standards and improve system resilience against vulnerabilities and exploits.
This tool is still in alpha testing and should be used with caution; always back up your system and create a restore point before running the script. Running the script requires administrative privileges and the use of Windows PowerShell ISE (x86) or Windows PowerShell (not x86) depending on the version. Failure to follow instructions may cause system instability, including blue screen errors related to driver policies.
Download the ZIP file by clicking the green Code button and selecting Download ZIP.
Save the ZIP file to your Downloads folder only.
Right-click the ZIP file and select Extract All to unzip the contents.
Open Windows PowerShell ISE (x86) as Administrator by right-clicking and selecting Run As Administrator.
Set the execution policy to unrestricted by running: set-executionpolicy unrestricted.
Open the Win10.ps1 script file from the extracted folder in PowerShell ISE (x86).
Run the script by clicking the green arrow in the PowerShell ISE toolbar.
Reboot the computer after script execution to apply all settings.
set-executionpolicy unrestricted
Allows the unsigned Win10.ps1 PowerShell script to execute.
.\Win10.ps1
Runs the main PowerShell script to apply privacy and exploit mitigation settings.
Restart-Computer
Restarts the computer automatically after the script completes to apply changes.