无法删除系统文件;访问被拒绝甚至被“带走" [英] Can't delete system file; Access Denied even for 'takeown'

查看:81
本文介绍了无法删除系统文件;访问被拒绝甚至被“带走"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要删除一个系统文件,在这种情况下为"hiberfil.sys".我在机器上又增加了4GB的RAM,由于访问被拒绝(!!!!!),powercfg无法调整hiberfil文件的大小,因此现在可以休眠.我试图删除 在安全模式下打开文件,我启用了管理员帐户,尝试通过安全性"选项卡获取所有权,并尝试从提升权限的命令提示符下使用takeown命令,所有这些都告诉我访问被拒绝.

I need to delete a system file, in this case, 'hiberfil.sys'.  I added another 4GB of RAM to my machine, and powercfg was unable to resize the hiberfil file because access is denied (!!!!!), so now hibernation is diabled.  I have tried to delete the file in safe mode, I enabled the administrator account, I have tried taking ownership via the security tab, and I have tried from an elevated command prompt to use the takeown command, all of which tell me that access is denied.

请有人,除了删除硬盘驱动器,将其放入USB机箱并从另一台计算机删除文件之外,还必须有一种删除该文件的方法?在有人暗示这与powercfg有关之前,它已被禁用, 而且在任何电源配置文件或它们各自的按钮操作(例如合上机盖,按下电源按钮等)中都没有提到休眠模式.由于访问hiberfil.sys出错,我也无法重新启用休眠(powercfg -h开启) 文件.

Please, someone, there must be a way to delete this file short of removing the hard drive, putting it in a USB enclosure, and deleting it from a seperate computer?  And before someone suggests that this is somethng to do with powercfg, it is disabled, and there are no references to hibernation in any of the power profiles or in their respective button actions (like lid closed, power button pressed, etc.).  I can't reenable hibernation either (powercfg -h on) because of the error accessing the hiberfil.sys file.

我知道,如果我可以删除此文件,那么在启用休眠模式后就会创建一个新文件,一切都会好起来.

I know that if I can just delete this file, then a new file will be created when I enable hibernation, and all will be well with my world.

更新:

我卸下了硬盘驱动器,将其放入外部USB机箱中,将其连接到另一台计算机上,并成功删除了该文件.但是后来,当我将驱动器放回原本的计算机中时,hiberfil.sys又以同样的大小又回来了, 并且最后访问日期与两个星期前相同!!再次,访问被拒绝.它来自哪里?系统上没有其他硬盘.

I removed the hard drive, put it in an external USB enclosure, attached it to another machine, and successfully deleted the file.  But then, when I replaced the drive back in the original machine, hiberfil.sys was back, at the same exact, too small size, and with the same last access date from two weeks ago!!  And again, access is denied. Where in the world is it coming from? There are no other hard disks on the system.

我很茫然.

推荐答案

你好,

                       谢谢您的发帖!我建议将您的问题发布到( Windows > Windows论坛 > Windows 7论坛 > 性能和维护)论坛位于: ( http://social.answers.microsoft.com/Forums/en/w7performance/threads ).

               Thank you for your post!  I would suggest posting your question in one of the (Windows > Windows Forums > Windows 7 Forums > Performance and Maintenance ) forum located here:  (http://social.answers.microsoft.com/Forums/en/w7performance/threads).

           希望对您有所帮助.

             Hope that would be helpful.

          祝你有美好的一天!

            Have a great day!

          谢谢&问候

            Thanks & regards,


这篇关于无法删除系统文件;访问被拒绝甚至被“带走"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆