To solve this Windows security-related problem
1- Open PowerShell as Administrator
2- Type Get-ExecutionPolicy - to check the current Execution Policy if it is Restricted then
3- Type Set-ExecutionPolicy RemoteSigned or Set-ExecutionPolicy RemoteSigned -Scope CurrentUser - to change the policy
4- Type y to confirm the changes.