We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with open(default_hoster, "r+") as hostfile:
PermissionError: [Errno 13] Permission denied: 'C:\Windows\System32\drivers\etc\hosts'
Can you please help me solve this error. I tried to run using administrative privileges but still got the error.
The text was updated successfully, but these errors were encountered:
Hi @Junaid-2004
Here is how to fix it https://stackoverflow.com/questions/19672352/how-to-run-script-with-elevated-privilege-on-windows
I guess we should incorporate it into the main script, you can try if it works and then submit a pull request so we can merge it into the main script.
Let me know if it works
Best regards Kalebu
Sorry, something went wrong.
No branches or pull requests
PermissionError: [Errno 13] Permission denied: 'C:\Windows\System32\drivers\etc\hosts'
Can you please help me solve this error. I tried to run using administrative privileges but still got the error.
The text was updated successfully, but these errors were encountered: