Skip to content
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

要求管理员权限,但是我右键管理员运行的 #267

Closed
AllenZF opened this issue Dec 12, 2017 · 14 comments
Closed

要求管理员权限,但是我右键管理员运行的 #267

AllenZF opened this issue Dec 12, 2017 · 14 comments

Comments

@AllenZF
Copy link

AllenZF commented Dec 12, 2017

操作系统

win 10 16299.64

SwitchHosts! 版本

v3.3.8.5338

问题描述

在百度网盘下载,解压SwitchHosts-win32-x64_v3.3.8.5338\SwitchHosts!-win32-x64,然后右键以管理员运行SwitchHosts!应用程序。打开程序后,添加远程,结果弹出对话框要求以管理员运行SwitchHosts!

重现步骤

EPERM: operation not permitted, open 'C:\WINDOWS\system32\drivers\etc\hosts' Please run SwitchHosts! as an Administrator.

@zanjs
Copy link

zanjs commented Dec 18, 2017

me too

@JayVae
Copy link

JayVae commented Dec 19, 2017

一样的问题。

@IvarXie
Copy link

IvarXie commented Dec 19, 2017

到C:\WINDOWS\system32\drivers\etc\hosts 下 右键属性-安全 把账户权限添加上

@JayVae
Copy link

JayVae commented Dec 19, 2017

多谢 解决了!!

@AllenZF
Copy link
Author

AllenZF commented Jan 3, 2018

EBUSY:resource busy or locked, open'C:\WINDOWS\system32\drivers\etc\hosts' Please run SwitchHosts! as an Administrator.

@qingmuccc
Copy link

怎么解决的,我添加了hosts的账户权限,以管理员运行SH还是会报run as Administrator的错误

@AllenZF
Copy link
Author

AllenZF commented Jan 11, 2018

我也是加上了hosts的权限,但是还是报错,如上

@qingmuccc
Copy link

@AllenZF 你去看看Issues首页第一个,我已经解决了

@syhyz1990
Copy link

去 C:\WINDOWS\system32\drivers\etc\hosts 右键属性,只读去掉

@xmeng1
Copy link

xmeng1 commented Sep 3, 2018

好像把 ALL Packages 的 Full Control 勾上就行了 在win10上
snipaste_2018-09-03_21-14-28

@ghost
Copy link

ghost commented Nov 28, 2019

Giving of all permissions does not help. Still, get the error "Busy or locked". The program is running as an Administrator.
谷歌翻译:授予所有权限无济于事。 仍然,收到错误“忙碌或锁定”。 该程序以管理员身份运行。

@mymonkey110
Copy link

把“只读”属性去掉

@oldj oldj closed this as completed Apr 18, 2021
@makemyownlife
Copy link

把只读属性去掉就可以。

@JayVae
Copy link

JayVae commented Dec 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants