-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wslview produces a lot of errors and delays commands #320
Comments
@landorg Can you try to set |
Hi and thanks for your answer.
If I run PS as admin then it's in full language mode. I tried to find the group policy that did this but I couldn't find it. Is there a workaround available for my situation? |
@landorg can you check if you have these set in the system? https://4sysops.com/archives/mitigating-powershell-risks-with-constrained-language-mode/ |
I think I have AppLocker. Seeing these events in the event viewer:
|
Can you try to disable the rules using the methods in the article? |
I don't think I can. Not sure if this is normal but I can't even see them in gpedit. |
Windows Version
Windows 11
Windows Build Number
22631.4317
WSL Version
WSL 2
Distro Version
Arch
WSL Utilities Version
4.1.1
Describe the bug
wslview takes a very long time and produced the errors below. In the end the browser is opened when I run this from terminal (not from emacs). This delays commands like
gcloud auth login
a lot.This variable is not set
$Env:__PSLockdownPolicy
.Steps to Reproduce
run
wslview https://www.example.com
Expected behavior
No errors. Works fast
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: