• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Help!! Can not delete folder

Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
I ran into this problem while reorganizing my data drive. I had a folder called Anime that was being shared @ location D:\Anime. I wanted to delete this folder because nothing was in it and no one could access it anyway. Problem was, when ever I tried to delete or change anything even open it, it told me I did not have rights to access it, I AM ADMIN. WTF? I can not delete, open, modify, or hide this folder. Help!!! Unlocker won't do anything either.





 
Joined
Aug 7, 2009
Messages
605 (0.11/day)
Processor Intel i7-940 @ 3.5Ghz
Motherboard Asus P6X58D-E
Cooling Corsair H70
Memory 12GB OCZ Platinum XTC DDR3 1600mhz CL7
Video Card(s) EVGA GTX 780ti
Storage Revodrive X2 240GB, 5TB HDD storage
Display(s) Asus PB278Q 27''
Case Antec Lanboy Air
Audio Device(s) Asus Xonar D2X
Power Supply Corsair HX850W
Software Windows 7 x64
Open command prompt as administrator and use the ICACLS command to give you access, then delete it from the same window.

Be careful with that command.
 
Last edited:
Joined
Oct 24, 2009
Messages
430 (0.08/day)
Location
Belgium
System Name Illidan
Processor AMD Ryzen 9 5900X
Motherboard Gigabyte B550 Aorus Pro V2
Cooling Scythe Mugen 4
Memory G.Skill Trident Z 32GB DDR4 3000MHz 14CL
Video Card(s) AMD Radeon RX 6900 XT
Storage Crucial P1 1TB + Sandisk Ultra II 960GB + Samsung EVO Plus 970 2TB + F3 1TB + Toshiba X300 4TB
Display(s) Iiyama G-MASTER G4380UHSU-B1
Case Corsair 750D Airflow
Audio Device(s) Sony WH1000-XM4
Power Supply Seasonic Focus PX-850
Mouse Logitech G604
Keyboard Corsair Vengeance K70 (Cherry MX Red)
Software Windows 11 Pro
hum, I have the same issue with one of my folders
 

theonedub

habe fidem
Joined
Apr 30, 2009
Messages
8,025 (1.47/day)
Location
Northern CA, USA
System Name Erakith || AsRock NUCS
Processor AMD ThreadRipper 2990WX ES (32c/64t 3.5ghz@1.02v) || Intel i7 1360P Raptor Lake-P
Motherboard MSI X399 MEG Creation || AsRock OE
Cooling EK Supremacy TR4 Full Nickel, D5 w/ EK Top, 2X EK-CoolStream XTX 360 & Photon 270 Res || OE
Memory 32GB (4x8GB) Corsair Vengeance PRO RGB DDR4 3000|| 2x16GB Corsair DDR4
Video Card(s) Vega 64 EK FC|| Intel Iris Xe
Storage 250gb WD Black NVMe & (2) 2TB Intel 660p NVMe || 2TB Corsair MP600 Pro
Display(s) 34" Dell Ultrasharp U3415W
Case CaseLabs Merlin SM8 || Aluminum Unibody
Power Supply Corsair HX1000
Mouse Corsair Harpoon Wireless RGB
Keyboard Corsair Strafe RGB w/ Cherry MX Silent
Software Windows 10 Pro x64 || WIndows 11 Pro x64
Benchmark Scores WCG & F@H Only
Right click, properties, security, advanced, owner-> make sure you are the owner in that screen, then try deleting it again?
 
Joined
Mar 1, 2010
Messages
3,565 (0.69/day)
Location
By the Channel Tunnel, Kent, England
System Name Benny
Processor Phenom II 1055t @ 3.3GHz; 300x11; 1.380v; NB 2700; HT 2400
Motherboard ASUS Crosshair IV Formula (2002 BIOS)
Cooling Thermalright TRUE 120 Black + 2 Xilence Red Wing PWM 120mm (push/pull) + polycarbonate fan holders
Memory 8GB GeIL Ultra 2133MHZ C9 running at 1600MHz @ 7-7-7-21 1T 1.5v
Video Card(s) MSI Twin Frozr II GTX470 @ Stock w/CPU fan cable-tied on, as one of the GPU fans broke.
Storage 60GB OCZ Agility3 (OS);500GB WDC Grn; 1x1TB WDC Blk (Backup)
Display(s) ASUS PA823Q
Case Silverstone Raven 2 (all cables custom sleeved with velcro mod on side panel...)
Audio Device(s) X-Fi (Onboard) + Harmon Kardon HK6100 amp powering JVC HA-RX700's with Zalman mic
Power Supply Corsair HX650W
Software Win7 Pro x64
Benchmark Scores No benchies so making this space useful! Corsair M90, Logitech G19. Phobya FlexLight LED's (gawjus)
Joined
Aug 7, 2009
Messages
605 (0.11/day)
Processor Intel i7-940 @ 3.5Ghz
Motherboard Asus P6X58D-E
Cooling Corsair H70
Memory 12GB OCZ Platinum XTC DDR3 1600mhz CL7
Video Card(s) EVGA GTX 780ti
Storage Revodrive X2 240GB, 5TB HDD storage
Display(s) Asus PB278Q 27''
Case Antec Lanboy Air
Audio Device(s) Asus Xonar D2X
Power Supply Corsair HX850W
Software Windows 7 x64
Code:
ICACLS D:\anime /remove:d username /C

ICACLS D:\anime /grant username:F /C

erase D:\anime
It's been years since I touched access lists but the above should work from either your own username or as administrator. If not, you can start in safe mode and modify the folder ownership.
 
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
Code:
ICACLS D:\anime /remove:d username /C

ICACLS D:\anime /grant username:F /C

erase D:\anime
It's been years since I touched access lists but the above should work from either your own username or as administrator. If not, you can start in safe mode and modify the folder ownership.

unfortunately, that did not work
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.24/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Turn of UAC, if you haven't already.

Make sure you are the owner of the folder, and that the permissions are set properly.

If that doesn't work, try Killbox.

If that doesn't work, the folder might be corrupt, meaning the hard drive might be going bad.
 
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
Turn of UAC, if you haven't already.

Make sure you are the owner of the folder, and that the permissions are set properly.

If that doesn't work, try Killbox.

If that doesn't work, the folder might be corrupt, meaning the hard drive might be going bad.

Thanks,
Killbox beta worked great. I set it to delete on reboot. I was then able to Manually delete the folder.
 
Joined
Jan 14, 2009
Messages
2,644 (0.47/day)
Location
...
System Name MRCOMP!
Processor 5800X3D
Motherboard MSI Gaming Plus
Cooling Corsair 280 AIO
Memory 64GB 3600mhz
Video Card(s) GTX3060
Storage 1TB SSD
Display(s) Samsung Neo
Case No Case... just sitting on cardboard :D
Power Supply Antec 650w
use "take ownership"... if you ever run accross this problem again.


once added to the registery all you need to do is right click the folder and hit take ownership... then u can delete it straight away.
 
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
use "take ownership"... if you ever run accross this problem again.


once added to the registery all you need to do is right click the folder and hit take ownership... then u can delete it straight away.

well, minor problem with that. When ever I look at the security section, it claims it can not display the owner.
 
Joined
Jan 14, 2009
Messages
2,644 (0.47/day)
Location
...
System Name MRCOMP!
Processor 5800X3D
Motherboard MSI Gaming Plus
Cooling Corsair 280 AIO
Memory 64GB 3600mhz
Video Card(s) GTX3060
Storage 1TB SSD
Display(s) Samsung Neo
Case No Case... just sitting on cardboard :D
Power Supply Antec 650w
if you ran the take ownership command, wouldnt it delete the owner and set you as the new owner.
 
Joined
Jul 20, 2007
Messages
641 (0.10/day)
Processor Intel i5 3550
Motherboard ASRock Z77 Pro4-M
Cooling Thermaltake Performer 2.0 AIO Liquid Cooler
Memory 32GB Corsair Vengeance DDR3 1600mhz
Video Card(s) EVGA GTX 960
Storage Corsair Neutron 256gb Boot drive, ~7tb storage combined on other drives
Display(s) AOC 27" 1920x1080 IPS and Wacom Cintiq 13" HD
Case Fractal Design Node 804
Audio Device(s) Realtek HD audio, Pyle Pro PTA2 Amp, Sony SS-B3000 Speakers, Sennheiser HD595 headphones
Power Supply Antec 750W "High Current Gamer"
Mouse SteelSeries Diablo 3
Keyboard Rosewill Mechanical with cherry black keys
Software Windows 7 Ultimate 64
I've had that happen a few times. usually restarting the computer works for me, but if it's real stubborn, going into safe mode and deleting it there works. Haven't had one that was more stubborn than that yet. really irritating when it does that.
 
Joined
Feb 10, 2007
Messages
2,582 (0.41/day)
Location
Oulu, Finland
System Name Enslaver :)
Processor Ryzen 7 7800X3D
Motherboard ASUS TUF Gaming B650-Plus
Cooling CPU: Noctua NH-D14 with LED fans, Case: 2 front in - 1 rear out
Memory 2x16GB Kingston Fury Beast RGB 6000MHz
Video Card(s) ASUS TUF RTX 4070Ti OC
Storage Samsung Evo Plus 1TB NVMe , internal WD Red 4TB for storage, WD Book 8TB
Display(s) LG CX OLED 65"
Case Lian Li LANCOOL II Mesh C Performance
Audio Device(s) HDMI audio powering Dolby Digital audio on 5.1 Z960 speaker system
Power Supply Corsair RM850x
Mouse Logitech G700
Keyboard ASUS Strix Tactic Pro
Software Windows 11 Pro x64
Maybe a little prog called "move on boot" helps.
 

Mussels

Freshwater Moderator
Staff member
Joined
Oct 6, 2004
Messages
58,413 (8.19/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
Maybe a little prog called "move on boot" helps.

i was coming here to suggest that program as well, its solved this kind of thing for me before.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.64/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Safe Mode is definitely my weapon of choice. If an application (including services and startup processes) opens a file stream in that folder, Windows can't delete it until the stream is closed. Because Safe Mode only loads required resources (of which most are in the %windir%) it is very unlikely for the application to be running that is tying up a directory outside of the Windows directory.

If the directory is still tied up in Safe Mode and it is not a directory Windows would ever use, I have to believe it is associated with malware (the malware modified Windows core files to open a stream somewhere in that directory).
 
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
if you ran the take ownership command, wouldnt it delete the owner and set you as the new owner.

Ah, but if you were to look at the screen shots you would see that it acts as though it doesn't exist. Also, It seems to say there is no owner or you can't see who owns it. You get Admin required etc when ever trying to modify yet when you click continue, it says access denied. i think Windows Media Center was re-adding it to the file system. i'm thinking of rebooting into Ubuntu Live CD and effing it over from there. (Yeah F U Microsoft!!!)

At least in Linux things get done when you say so as admin. The OS doesn't second guess you.
 
Joined
Feb 10, 2007
Messages
2,582 (0.41/day)
Location
Oulu, Finland
System Name Enslaver :)
Processor Ryzen 7 7800X3D
Motherboard ASUS TUF Gaming B650-Plus
Cooling CPU: Noctua NH-D14 with LED fans, Case: 2 front in - 1 rear out
Memory 2x16GB Kingston Fury Beast RGB 6000MHz
Video Card(s) ASUS TUF RTX 4070Ti OC
Storage Samsung Evo Plus 1TB NVMe , internal WD Red 4TB for storage, WD Book 8TB
Display(s) LG CX OLED 65"
Case Lian Li LANCOOL II Mesh C Performance
Audio Device(s) HDMI audio powering Dolby Digital audio on 5.1 Z960 speaker system
Power Supply Corsair RM850x
Mouse Logitech G700
Keyboard ASUS Strix Tactic Pro
Software Windows 11 Pro x64
Ah, but if you were to look at the screen shots you would see that it acts as though it doesn't exist. Also, It seems to say there is no owner or you can't see who owns it. You get Admin required etc when ever trying to modify yet when you click continue, it says access denied. i think Windows Media Center was re-adding it to the file system. i'm thinking of rebooting into Ubuntu Live CD and effing it over from there. (Yeah F U Microsoft!!!)

At least in Linux things get done when you say so as admin. The OS doesn't second guess you.

I absolutely hate Windows user right system - its so complicated I have never learned it.
 

streetfighter 2

New Member
Joined
Jul 26, 2010
Messages
1,655 (0.33/day)
Location
Philly
I usually start by running chmod 777 then rmdir on the folder from cygwin (which is always very convenient to have if you're somewhat familiar with linux). Apart from that when you disable the "Use Sharing Wzzzrrrddd" you can change ownership (which has been mentioned a couple hundred times). If a file/folder doesn't have an owner that shouldn't effect your ability to take ownership.

If that doesn't work Hiren's Boot CD or any live disc is the final fallback position.

You can also do a search in the registry to see if any program is linking to the folder (or use Process Explorer), but that seems annoying compared to the more direct ways.
 
Top