如何访问Windows操作系统中不可删除的目录/文件?
我对目录不可删除的概念有疑问。在Windows操作系统中,我们使用以下命令将不可删除的文件或文件夹转换为可删除:“cacls FolderName /e /c /g %username%: f”。我使用相同的命令访问C: 驱动器中存在的“不可删除的文件夹”(例如恢复、文档和设置等) 。这不起作用。他们如何创建此类文件夹。如果有其他方法可以做到这一点。请清除我。提前致谢。
I have doubt in directory undeletable concept. In Windows operation system, we convert a Undeletable file or folder in to deletable by using the command as "cacls FolderName /e /c /g %username%:f". I used the same command to access the "Undeletable folders" (for example Recovery, Documents and Settings etc.,), which is present in the C: drive. It doesn't work. How they create this kind of folders. If any other ways to do this. Kindly clear me. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些文件夹的“列出文件夹/读取数据”权限设置为拒绝所有人。拒绝优先于允许,因此您授予用户什么权限并不重要:拒绝设置将否决它。您必须首先删除该设置,这可能意味着您还必须首先获得所有权。它们属于 SYSTEM。
Those folders have the "list folder/read data" permission set to deny for everyone. Deny takes precedence over allow, so it doesn't matter what permissions you give to a user: the deny setting will overrule it. You have to remove that setting first, which probably means you also have to take ownership first. They're owned by SYSTEM.