danapsta / Deploy

Script to Automatically Baseline a Windows PC and Install basic applications.
0 stars 0 forks source link

Get rid of security prompts for Powershell scripts (Windows 11) #7

Open danapsta opened 1 year ago

danapsta commented 1 year ago

All Powershell scripts require user intervention to run due to system security settings.

Fix this where user intervention is not required for the entirety of the script.

danapsta commented 1 year ago

Added Unblock-Script lines to Menu.bat. No longer getting prompts on Windows 10 22H2. Need to test on Windows 11 and with all scripts enabled.