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

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
Microsoft MVP

 

My System SpecsSystem Spec
29 Jun 2012   #13

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

Windows 8 Core 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
Microsoft MVP

 

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

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

Windows 8 Core 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

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

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

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 for2: Directory and files there but can't delete, move or rename
Thread Forum
Unable to delete, rename, or move folders in Windows 7 General Discussion
Windows 7 can't rename / delete / move mkv files Music, Pictures & Video
GROD in only one folder, can't delete/move/rename files in it General Discussion
Batch file or Exe to copy & rename directory and update files General Discussion
Solved Help, why can't I rename,delete or move some .mkv files? General Discussion
Can't rename, delete or move folder or file BSOD Help and Support
Have to refresh every time delete/rename/move 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 03:22 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33