Is there a way to set ExecutionPolicy Unrestricted only for the GUI.bat each time you use it? #333
Unanswered
poweradegator
asked this question in
Q&A
Replies: 2 comments
-
yeah, i am really curious about this question, setting a policy to Unrestricted all the time is not a very good option. ( example7 : https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.3 ) |
Beta Was this translation helpful? Give feedback.
0 replies
-
No idea. I just went for the jugular and lifted all blocks... But if you find a way to make the restriction better I will be happy to add it to the instructions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After installing, the GUI and everything, can you turn ExecutionPolicy back to restricted and then somehow only set ExecutionPolicy Unrestricted for the GUI.bat each time you run it to train a LORA?
for Kohya non-GUI script version something like powershell.exe -noprofile -executionpolicy bypass -file .\train.ps1
is something like that possible for the kohya GUI version?
Beta Was this translation helpful? Give feedback.
All reactions