Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Directory and files there but can't delete, move or rename

28 Jun 2012   #11
FliGi7

XP / Win7 x64 Pro
 
 

But, why was this problem occurring in the first place? That's what I would want to figure out.


My System SpecsSystem Spec
.
28 Jun 2012   #12
gregrocker

 

My System SpecsSystem Spec
29 Jun 2012   #13
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
That was it, needed the 64 bit version. Installed it and was able to delete the folder..... Many thanks
Glad you got it.
My System SpecsSystem Spec
.

29 Jun 2012   #14
Ztruker

Windows 10 Pro X64
 
 

I tried Take Ownership manually and via the context menu entry but it had no effect.

I don't know what was wrong or how it got messed up, I'm just happy it's gone. If I run across another I'll try again to figure out what the real problem is.
My System SpecsSystem Spec
29 Jun 2012   #15
gregrocker

 

I wonder what else Unlocker does besides take ownership and delete. I want to see if it makes deleting the Windows folder easier.
My System SpecsSystem Spec
01 Jul 2012   #16
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
I wonder what else Unlocker does besides take ownership and delete. I want to see if it makes deleting the Windows folder easier.
I think one of the techniques it uses is the RunOnce registry key. When it asks if you want to mark a file for deletion that can't be deleted on the spot, it puts the delete command in RunOnce. It fires before the Windows logon. You can do stuff like deleting index.dat files using RunOnce.
My System SpecsSystem Spec
01 Jul 2012   #17
Ztruker

Windows 10 Pro X64
 
 

In this case, the folder was deleted without having to reboot so there is something else Unlocker does that manually deleting or using LockHunter did not do.
My System SpecsSystem Spec
01 Jul 2012   #18
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
In this case, the folder was deleted without having to reboot so there is something else Unlocker does that manually deleting or using LockHunter did not do.
The main function is to close handles held by other processes. That's what gives the "file is in use by another process" error. Explorer is especially notorious for not letting go of files even though it is done using them.
My System SpecsSystem Spec
02 Jul 2012   #19
FliGi7

XP / Win7 x64 Pro
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
Quote   Quote: Originally Posted by gregrocker View Post
I wonder what else Unlocker does besides take ownership and delete. I want to see if it makes deleting the Windows folder easier.
I think one of the techniques it uses is the RunOnce registry key. When it asks if you want to mark a file for deletion that can't be deleted on the spot, it puts the delete command in RunOnce. It fires before the Windows logon. You can do stuff like deleting index.dat files using RunOnce.
RunOnce programs don't run until user logon.

My guess is that the file unlocker programs run as SYSTEM to close file handles, which makes it more effective at getting rid of the locks.
My System SpecsSystem Spec
02 Jul 2012   #20
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by FliGi7 View Post
Quote   Quote: Originally Posted by MilesAhead View Post
Quote   Quote: Originally Posted by gregrocker View Post
I wonder what else Unlocker does besides take ownership and delete. I want to see if it makes deleting the Windows folder easier.
I think one of the techniques it uses is the RunOnce registry key. When it asks if you want to mark a file for deletion that can't be deleted on the spot, it puts the delete command in RunOnce. It fires before the Windows logon. You can do stuff like deleting index.dat files using RunOnce.
RunOnce programs don't run until user logon.

My guess is that the file unlocker programs run as SYSTEM to close file handles, which makes it more effective at getting rid of the locks.
I think you are mistaken. Here's the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

I use a program started by that key to delete index.dat files. If they were locked as they would be after login, it would not work. Also I get a long pause before I get the desktop. Another indication it's running before login.

I think we're getting tangled up with 2 different scenarios. One is if it deletes the file immediately. The other is marking it for deletion on next boot. The on next boot scenario is where is uses RunOnce.

Anyway, this is all speculation. If you want to know run Unlocker under a monitor or debugger.
My System SpecsSystem Spec
Reply

 Directory and files there but can't delete, move or rename




Thread Tools




Similar help and support threads
Thread Forum
Help, why can't I rename,delete or move some .mkv files?
I downloaded some mkv files from the same site that I always downloaded before. But all of a sudden some of the new mkv's that I downloaded can't be renamed or even deleted. Please help out. I only use VLC player for watching movies. Is something wrong with my computer or with those files? I found...
General Discussion
Windows Explorer File Help - I can't rename/move/delete certain files.
I hope this is the right place to post this... I have had this issue for a long time now, though, it only applies to video files... Anytime I try to rename/move/delete certain video files I get the error: "The action can't be completed because the file is open in Windows Explorer" I have...
Software
Windows 7 can't rename / delete / move mkv files
My computer has been acting a little weird lately. Recently i've downloaded some .mkv files and now i can't rename or delete or move them. I tried using command prompt and unlocker and it's still not working. It says "action can't be completed because it is being opened by other programme", i don't...
Music, Pictures & Video
GROD in only one folder, can't delete/move/rename files in it
Hello guys, I've read this forum so many times and I'm usually good at finding solutions on the web by browsing forums and articles but now ...can't fix this :( I hope someone will be able to help me I have a acer aspire 7750G-6634 laptop, 8gb of ram, 2 HDs, i5, windows 7 home (the one that...
General Discussion
Can't rename, delete or move folder or file
Since 2 days, in a certain folder, I cant rename, move or delete folders or files. Now, it has spread to my desktop as well. If I rename a folder, even a new folder, the name changes ''magically'' within seconds to restore to its previous name. If I move the folder or file, it comes back and if I...
BSOD Help and Support
Have to refresh every time delete/rename/move
Hello everyone, Please! help me with this annoying Win7 glitch! Every time I delete/rename/move a file...the changes are not reflected in the folder until I right click "refresh". Is there a microsoft approved fix for this?
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App