Folder deletion problems

lunarcrisis

New member
Local time
9:20 PM
Messages
8
Hi everyone,
I wanna start with "i rarely use forums cause I am lazy n all, but this problem has been testing the limits of my patience so much that I think i am finally fed up with it"

Now, to the point:

While trying to delete a folder(don't remember about files..) I occasionally get shown "the middle finger" - a message saying that I need permission from "administrators" to delete this (my account is an administrator -_-). Changing ownership to "alex", my account, just changes the message accordingly, that I(alex) need permission from alex(myself) to delete this.



This seem to happen on a random basis, in any location.. be it my Downloads folder, c:\, program files or Windows. Once an attempt to delete something fails like this, it usually becomes deletable a minute later, which is just weird.

There is another way I get denied deleting whatever it is I need to get rid of - no more polite than the previous one. Again, seemingly randomly, I get shown a message saying this folder/file can't be deleted as its being used by some process.
And no, it doesn't seem like there's anything using it. In fact, I got an Unlocker tool sometime ago and tried to "unlock" a folder/file that was "being used" - it said it couldn't unlock the file/folder cause it was still being locked by "System" process, try again later.(something like that). Like with the previous case, giving it a few minute rest solves the problem.

Anyone else suffering from this ? Any luck finding a cure?
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
Hello Lunar, and welcome to Seven Forums.

When you have taking ownership of the item, you may still need to Allow your user account Full Control of the item before you will have full permission (click on link) to access it, to be able to modify, or delete it.

Hope this helps,
Shawn
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks for the reply. I can't really test it anytime I wish .. like i said, it happens randomly on random folders.... but I am pretty sure I tried setting ownership AND setting all permissions.

for example, I once unzipped some folder on the desktop .... couldn't delete it, until few minutes later. Tried to reproduce the problem - extracted the folder again, but this time I could delete it straight away. :huh:
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
Strange. If it happens again and you can't delete it after taking ownership and setting permissions, then the free program Unlocker may be able to allow you to instead.
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Try Unlocker .
----------------
Ups,Brink was faster. :)
 

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i5 4440 @Stock4 x 4GB HyperX Fury DDR3Gigabyte GTX 1050Ti O4G
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 10 Pro x64
CPU
Intel Core i5 4440 @Stock
Motherboard
Gigabyte Z97 D3H
Memory
4 x 4GB HyperX Fury DDR3
Graphics Card(s)
Gigabyte GTX 1050Ti O4G
Sound Card
Integrated
Monitor(s) Displays
Dell P2417H
Screen Resolution
1920 x 1080
Hard Drives
Samsung EVO 850 120GB / Toshiba DT01ACA050 1TB 7200prm 32MB
PSU
Riotoro Onyx 750W
Case
NZXT H500 Black-Red
Cooling
Stock CPU + NZXT 120mm + 2x120mm red fans
Keyboard
Modecom Volcano Lanparty
Mouse
Asus ROG Gladius / DeepCool E-Pad Plus
Internet Speed
DOCSIS 50/3 Mbit
Browser
Google Chrome
Other Info
Asus K55VJ(i5 3210M, GT635M / 2GB, 8GB DDR3, 500GB HDD)
LOL. ;)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I used a different unlocker before,like i said, don't remember which though...
Took some time to get the bug to appear, then i used the unlocker and tried to unlock it ... it just said it couldn't unlock it cause it was "still being locked" and to "try again later".. oh, and that "system" was locking it....

this doesn't really solve the root problem, even if another one worked, its still a pain having to resort to using it....umm
is there by any chance any registry tweak or anything that would let me do as i please, with no questions asked?.. like, if i wanna delete Windows folder, i mean it :P.. or to completely nullify vista/seven's security/permissions/ownership system.. always hated it T_T

thanks inanycase ;)
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
It really depends on what folder you wanted to delete and if anything in the folder is currently in use (opened or running) or not.

For example, system folders like C:\Windows are protected by Windows 7. Plus, you shouldn't be trying to delete them anyways unless you wanted to possible have to reinstall Windows 7 afterwards.

Other folders like "C:\Users\User-Name\My Documents" with the shortcut arrow on it, are not actually folders but junction points (mlink) for backwards compatibility. These are also protected system files.
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Well, its obvious that something being currently used, can't be deleted without closing the process using it. But why does my "System" lock/use random folders, like folders left after i've uninstalled something for example.

mmmm, anyway to turn off or manipulate the whole "file locking" feature in Windows7?
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
Thanks, but my account "alex" is already a member of "Administrator".
Checking some folder security settings, i noticed there are other groups like "SYSTEM, TrusterInstaller and CREATOR OWNER". But when adding them, they don't seem to be recognized.... ;/

 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
This does happens although rather rarely.

First of all, let me notice that you mentioned Program Files or Windows as examples of folders where the problem occurs sometimes. I would advise you against messing with those folders manually anyway. If you have remnants of uninstalled programs and you want to tidy up, Revo Uninstaller can do it rather nicely.

If you insist on doing this manually or if you have a problem with a file you just downloaded to your Desktop or some other folder, then there can be two separate issues - permissions and locking.

For permissions, just follow Brink's instructions, taking ownership and then allowing yourself access is all that's needed. Once this is done, the only thing that can prevent you from deleting the file or folder is the locking. For folders this is sometimes resolved by first deleting all content of the folder. Also, when you change permissions on folders (with the purpose of deleting them) make sure you tick the box "replace all child permissions ... " so that permissions will be automatically changed on all objects inside the folder. If you do not check this box (and it's usually unchecked by default), then the permissions on any file inside the folder will not be changed and you will not be able to delete them.

For files that are reported "in use" while no obvious program is even running, one can either use the unlocker - see Brink's post above - or one of the following: (1) simply wait and the system will release the file; (2) reboot and the file should be released; (3) if something is broken and even reboot does not release the file, then reboot to the safe mode and delete the file there. The latter option is sort of the last resort, I don't think I had to do it more than once or twice.

As to whether one can "manipulate" the locking feature - the only thing you might try is to get some software (Google for it, I don't use any of this, so I don't have a ready advice here) that unloads the unused dll's. Basically the idea is that sometimes after a program is closed, the associated dll's are not unloaded, they are still in memory and it is them who's holding the files locked. Eventually Windows will unload them and this is the origin of the above "simply wait" advice. But sometimes Windows won't unload them and in this case you either need to reboot or to use some software to unload.

Hope that helps.
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s

My Computer My Computer

At a glance

Windows 7 Ultimate x64AMD Sempron Dual Core3GBNVIDIA GeForce 6150SE nForce 430
Computer Manufacturer/Model Number
Compaq Desktop
OS
Windows 7 Ultimate x64
CPU
AMD Sempron Dual Core
Memory
3GB
Graphics Card(s)
NVIDIA GeForce 6150SE nForce 430
Screen Resolution
1024x768
Hard Drives
150GB Sata
"For files that are reported "in use" while no obvious program is even running" is my case.. and like i've mentioned, i tried an Unlocker and it said "SYSTEM" was locking it and to try again later
Actually, there are prolly 2 cases even.. the second one being "needing permission from myself". In fact, i just had it some 5 minutes ago:
I downloaded an archive via torrent .. unzipped it in my Downloads folder, tried to move it to my Games folder.. and got the "You need permission from eureka\alex...." message although my account IS alex.....few minutes later, without changing any permissions or owners, it let me move it.
i don't think its about permissions ....just some weird bug

and yea "waiting it out" is the only thing i can do .. it always releases them sooner or later... and i am pretty sure restarting helps too ... the only problem is that its annoying having to wait.. if it wasn't, i wouldn't have been here

I wanted to try using a built-in administrator account once ... but i think i rejected that idea as i've spent a great deal of time configuring settings and stuff on my alex account.....maybe after next format.
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
"For files that are reported "in use" while no obvious program is even running" is my case.. and like i've mentioned, i tried an Unlocker and it said "SYSTEM" was locking it and to try again later
Actually, there are prolly 2 cases even.. the second one being "needing permission from myself". In fact, i just had it some 5 minutes ago:
I downloaded an archive via torrent .. unzipped it in my Downloads folder, tried to move it to my Games folder.. and got the "You need permission from eureka\alex...." message although my account IS alex.....few minutes later, without changing any permissions or owners, it let me move it.
i don't think its about permissions ....just some weird bug

Just the fact that you are logged in as "alex" and the file is owned by "alex" may not be enough, if the permissions are configured in a strange way, namely, you own the file but do not have full permissions for it. This may happen if you messed with permissions, changed ownership, and did not grant yourself full access after taking ownership.

The fact that this sorts itself out points to something accessing your files. The most obvious candidate is your anti-virus (or anti-malware, or windows defender or any other resident scanner that gets busy as soon as new files appear). It's also possible that the location where you download files is indexed and windows search starts working on its index right away. I'm just guessing here, but these seems possible.

You can troubleshoot this by trying to repeat the steps that led to the problem - i.e. download something with your torrent client, unzip or whatever and at the same time look at the performance monitor and see which program and/or system accesses your file. You can also check your scheduled tasks and see if there is some task that gets triggered by your download.

I wanted to try using a built-in administrator account once ... but i think i rejected that idea as i've spent a great deal of time configuring settings and stuff on my alex account.....maybe after next format.

I would not recommend using the built-in Administrator account on the daily basis. I am sure that the Orbital Shark's suggestion was to use it just to resolve the problem (i.e. delete the undeletable file), as the built-in Administrator is less likely to encounter these "locking" issues.
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
checked the scheduler ..."Task Schedulor (local)" - there was a bunch of seemingly unimportant active tasks ..lots of "windows customer experience something" related.. disabled all of them except "SynchronizeTime"

i don't have anything, no scanning programs that would need to access my folders/files. In fact, I've got pretty much everything i don't need disabled for the sake of simplicity and performance - UAC, Defender, Action Center, Firewall, some 20+ services -> got around 30 Processes running on startup. (i do malware/spyware/virus checks from time to time though, never found anything for the last ~6 years). so yea, i don't care about some risks associated with using an admin account....

I am not sure i get how to check what's accessing the folder/file from Performance monitor ... especially when its kinda random ... i can't reproduce it ..if i do the same again-> unzip the same archive and try to delete the folder...it gets deleted right away. + if i trust the Unlocker i used, "System" process is the culprit

indexing ..mmm . SearchIndexer seems like a possible culprit .. i'll prolly turn it off for the sake of getting to the bottom of this.
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
Actually, disabling seemingly unimportant tasks and services might lead to unpredictable programs. So I would be careful there.

Let me ask you, when did this problem appear and how often does it happen? Also, does it look like it happens more often now, say after you did something to the system - disabled something or on the contrary installed something?

Basically, I've seen this happening on my system as well, but it happens so rarely, that I definitely would not classify it as a persistent problem or a bug. If you see this often, then something is going on with your system, right? I wonder if you have some restore points or backup images you can go back to. If yes, then you could try going "back in time" and see if the problem is more frequent now.
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
i've formatted/reinstalled windows7 atleast 10 times and this problem occured on all installationas as far as i can remember - although like you said, the frequency changes. Well its kinda random after all .. or prolly -> the more installations/deinstallations/file & folder moving/ unpacking and those kind of operations i do, obviously the more often it shows up

the reason i use the word "random" is because i can't associate it with anything.. no hints, on the previous installation i did not turn off any services as i can remember, but the problem still persisted.
For a moment i thought it was related to Archive programs .. cause it shows up most of the time after unzipping something -> i switched from 7zip to Winrar.. still happened + there were other cases actually....with some folders left after deinstallation .. and some folders downloaded via torrent.

i don't use restore <_<
This problem is more like a mosquite buzzing around and annoying me from time to time, and i just can't catch it ;/
 

My Computer My Computer

At a glance

Ubuntu and Windows 7 Ultimate x64
OS
Ubuntu and Windows 7 Ultimate x64
Back
Top