-
Notifications
You must be signed in to change notification settings - Fork 212
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
EPERM: operation not permitted, lstat 'C:\Program Files\Windows Defender Advanced Threat Protection\Classification\Configuration' Try running again as Administrator. #217
Comments
I have uninstalled old nvs with choco, installed new 1.6.0, it hangs on "Publishing product information" for hours and doesn't let me cancel the installation. When I tried to use nvs, it said:
I removed Now I'm back to the square one:
and this in cmd ran as administrator. |
Related to #209 I guess |
I don't understand why it would be trying to access that directory. To help diagnose, can you set the set NVS_DEBUG=1 Then run |
Sure, here you go (for 1.5.4):
|
Also, installing and uninstalling 1.6.0 for all users worked without hanging/freezing. |
This is from 1.6.0 all users install:
|
What are the values of the I suspect some change/misconfiguration of one of those variables might be causing this problem. It should be possible to improve the code to detect that and report a better error message, instead of scan the wrong directories. |
|
I've deleted NVS_HOME env var. Installed 1.6.0 for local user - worked fine.
Thanks for the help, not sure why NVS_HOME was invalid. I don't recall changing it manually. |
It was working fine until recently.
When I try to run
nvs ls
ornvs menu
, it throws this error:My env:
I don't recall changing any defender rules. One suspicion: windows update fails for me for a while now, maybe during the last "try and revert" cycle it affected something somehow... Will be happy to provide additional info.
The text was updated successfully, but these errors were encountered: