enable_policy.py script added

This commit is contained in:
C
2023-02-20 12:50:23 +05:00
parent 2898bea6d2
commit c69e9d250e
2 changed files with 6 additions and 3 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
session server installation process: session server installation process:
1. install everything from "should_install" directory 1. open powershell as administrator and run enable_policy.py
2. setup config.py (you should create config.py, check example in config.py.example) 2. install everything from "should_install" directory
3. run "install.py" script with double click or run from powershell with "python" prefix 3. setup config.py (you should create config.py, check example in config.py.example)
4. run "install.py" script with double click or run from powershell with "python" prefix
if everything OK package installed if everything OK package installed
+2
View File
@@ -0,0 +1,2 @@
import powershell
powershell.run_command_no_dir('Set-ExecutionPolicy RemoteSigned -Scope CurrentUser')