无法在Windows 10中删除损坏的文件夹

曼达·萨德耶(Mandar Sadye)

今天,当我尝试使用WinRAR来反编译.apk文件时,出现了错误,并且解压缩终止了。此后,当我尝试删除文件夹时,即使我提供管理员权限,我也得到一个错误,我没有该文件夹的所有权。

删除文件夹时显示错误

来自具有文件的文件夹的文件资源管理器中的图像

尝试删除图像时,图像中的文件和文件的父文件夹均出现错误。

然后我尝试通过命令在管理员模式下使用cmd进行相同的操作:

rm -d测试

输出:: rm:无法取消链接“ test”:不是所有者

我还尝试了以下命令来递归删除文件夹中的文件:

rm -r测试

output:rm: WARNING: Circular directory structure. This almost certainly means that you have a corrupted file system. NOTIFY YOUR SYSTEM MANAGER. The following two directories have the same inode number:

test `test/ '

So I tried the following command to delete recursive file structure,

rm -rfd test

output: rm: cannot unlink `test': Not owner

All the above methods I used are either from StackOverflow or Microsoft QnA page but nothing seems to work.

I tried all this in safe mode also. But still, I get the same error. Twice I also got an error with an error code of 0x80070091

该图显示了要删除的文件夹的属性窗口的“安全性”选项卡中的权限

I already tried taking ownership of folder using takeown command.

takeown /f test /r

Output:

SUCCESS: The file (or folder): "C:\Users\mandar\Desktop\test" now owned by user "MANDAR_SADYE\mandar".

SUCCESS: The file (or folder): "C:\Users\mandar\Desktop\test\ " now owned by user "MANDAR_SADYE\mandar".

I tried all the possible solutions I could find but nothing seems to work. If anyone has any suggestion regarding this issue then please post it as answer or comment as you see fit. Thank you in advance.

Mandar Sadye

Well after many trial and error I found the way to delete it. I found a solution before I could try harrymc's solution, so wasn't able to confirm if his solution works. The way I did it isn't straightforward so I highly recommend trying his solution first and let me know if it works so I can mark it as an acceptable answer.

So the method I followed is to open the folder in the different file system.

  • The way I did it was to delete it through bootable Linux pen drive ( I used Kali but any other distribution should work well.
  • You could try to delete it by sharing the folder to virtual box or VMware virtual machine with Linux and try deleting it.
  • And the third way is to share the folder in your local network and try to delete it from your Android or MAC device connected to the network ( remember android has Linux kernel and MAC has Unix so both should work)

所以我想问题出在Windows NTFS文件系统上。如您所见,除了第三种方法之外,您需要以可引导或虚拟机的形式来寻找辅助操作系统,这是大多数人所没有的。因此,请尝试第三个解决方案。如果不起作用,请尝试使用harrymc的解决方案而且,即使那不起作用,也可以安装虚拟机或制作可启动笔式驱动器,然后尝试将其删除。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

无法在Windows 10中删除名称中带有空格的文件夹

无法在Windows 10中删除文件夹-没有错误消息

无法删除文件夹赢得10

无法在Windows 8中删除文件夹

无法在Windows 7中删除文件夹?

无法在Unix中删除文件夹

使用蝙蝠从文件夹中删除与Windows 10中的特定模式匹配的所有文件

在Windows 10中删除配置文件文件夹访问凭据

如何在Windows 10中真正强制删除文件/文件夹

Windows 10:无法删除文件夹“系统找不到指定的文件”

无法在Windows 10上删除Node.js文件夹

我可以在Windows 10中安全删除文件夹$ GetCurrent吗?

Windows 10:如何防止意外删除特定文件夹

无法删除文件夹

如何在Windows 10中从文件资源管理器文件夹树中删除OneDrive文件夹?

无法从内部存储文件夹中删除文件

无法从终端文件夹中删除文件

无法使用remove()路径删除文件夹中的文件

无法删除/复制/粘贴Gnome中的文件或文件夹

删除Windows Installer文件夹中的文件

无法删除windows.old文件夹

无法删除Windows 7文件夹

Python:无法删除Windows上的文件夹

无法从Windows的XAMPP wp-content文件夹中删除“只读”属性

无法从Windows 8.1文件夹中删除只读属性

UAC损坏,无法编辑文件/文件夹或更改用户帐户中的设置

文件夹正在使用中,因此无法删除。

无法从Outlook Deleted Items文件夹中删除项目

无法从桌面文件夹中删除/隐藏图标