• 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,842 (0.94/day)
Likes
339
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
#1
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.20/day)
Likes
139
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
#2
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
397 (0.13/day)
Likes
125
Location
Belgium
System Name Illidan
Processor Intel Core i7 6700K
Motherboard MSI Z170A Gaming Pro Carbon
Cooling Scythe Mugen 4
Memory G.Skill Trident Z 32GB DDR4 3000MHz CL14
Video Card(s) Palit GTX 1080 Super Jetstream
Storage Sandisk Ultra II 960GB SSD + Samsung 830 128GB SSD + 2 x Samsung F3 1TB HDD
Display(s) AGON AG35UCG + Benq GW2765HT
Case Corsair 750D Airflow
Audio Device(s) Realtek ALC1150 + Yamaha HTR-4065 + Onkyo SKS HT 528
Power Supply XFX 650W Pro Core
Mouse Logitech G502 Proteus Core
Keyboard Corsair Vengeance K70 (Cherry MX Red)
Software Windows 10 Pro
#3
hum, I have the same issue with one of my folders
 

theonedub

habe fidem
Joined
Apr 30, 2009
Messages
7,911 (2.48/day)
Likes
5,126
Location
Northern CA, USA
System Name Erakith || Asus UX305FA
Processor i7 3770k @ 4.2ghz 1.068v || Intel Core M 5Y10 @ 800mhz
Motherboard Gigabyte Z77X-UP4 TH || ASUS OE
Cooling EK Supremacy, D5 w/ EK Top, 2X EK-CoolStream XTX 360 & Photon 270 Res || !PASSIVE!
Memory 16GB Samsung 'Wonder' RAM || 8GB LPDDR3 1600
Video Card(s) EVGA 780Ti Classified HydroCopper || Intel HD Graphics 5300
Storage 256gb Corsair Performance Pro, 2TB Caviar Green, 2TB Samsung F4 || Toshiba 256GB SSD
Display(s) DELL Ultrasharp U2715H 27" || 13.3" 1080P IPS
Case CaseLabs Merlin SM8 || Aluminum Unibody
Power Supply NZXT Hale-90-1000-M
Mouse Logitech M705 Marathon
Keyboard Corsair Strafe RGB w/ Cherry MX Silent
Software Windows 10 Pro x64 || WIndows 10 Home x64
Benchmark Scores WCG & F@H Only
#4
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 (1.24/day)
Likes
785
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)
#5
Joined
Aug 7, 2009
Messages
605 (0.20/day)
Likes
139
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
#6
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,842 (0.94/day)
Likes
339
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
#7
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
24,413 (5.50/day)
Likes
10,547
Location
Indiana, USA
Processor Intel Core i7 8700K@4.8GHz(Quick and dirty)
Motherboard AsRock Z370 Taichi
Cooling Corsair H110i GTX
Memory 32GB Corsair DDR4-3000
Video Card(s) PNY XLR8 GTX1060 6GB
Storage 480GB Crucial MX200 + 2TB Seagate Solid State Hybrid Drive with 128GB OCZ Synapse SSD Cache
Display(s) QNIX QX2710 1440p@120Hz
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply Corsair HX850
Software Windows 10 Pro x64
#8
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,842 (0.94/day)
Likes
339
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
#9
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,628 (0.80/day)
Likes
521
Location
Brisbane, Australia
System Name MRCOMP!
Processor Amd 1090T @ 4200 mhz
Motherboard Gigabyte 890FX UD5
Cooling CNPS Extreme
Memory 32GB OCZ Reapers 1600mhz 6-8-6-24 1.65v
Video Card(s) GTX560 TI 26% overclock
Storage 60GB OCZ vertex 3, 2x1TB Raid 0 2x 640GB Raid 0
Display(s) 30" LG lcd
Case No Case... just sitting on cardboard :D
Audio Device(s) Nvida HDMI - Sony MU TE KE 7.2 1695Rms
Power Supply Silverstone 700watts.
#10
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,842 (0.94/day)
Likes
339
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
#11
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,628 (0.80/day)
Likes
521
Location
Brisbane, Australia
System Name MRCOMP!
Processor Amd 1090T @ 4200 mhz
Motherboard Gigabyte 890FX UD5
Cooling CNPS Extreme
Memory 32GB OCZ Reapers 1600mhz 6-8-6-24 1.65v
Video Card(s) GTX560 TI 26% overclock
Storage 60GB OCZ vertex 3, 2x1TB Raid 0 2x 640GB Raid 0
Display(s) 30" LG lcd
Case No Case... just sitting on cardboard :D
Audio Device(s) Nvida HDMI - Sony MU TE KE 7.2 1695Rms
Power Supply Silverstone 700watts.
#12
if you ran the take ownership command, wouldnt it delete the owner and set you as the new owner.
 
Joined
Jul 20, 2007
Messages
640 (0.17/day)
Likes
286
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
#13
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,404 (0.60/day)
Likes
472
Location
Oulu, Finland
System Name Enslaver :)
Processor Intel i5 3570K Ivy Bridge, 4GHz no voltage increase OC
Motherboard ASRock Z77 Extreme4
Cooling CPU: Noctua NH-D14, Case: mix of different fans
Memory 24GB DDR3 1866MHz- mix Samsung green 1600MHZ OC + Kingston Fury 1866MHz stock
Video Card(s) ASUS GTX 1080 A8G Strix + disbled Intel HD4000
Storage 500GB Samsung Evo 850 SSD, internal WD Red 4TB for storage
Display(s) LG 55SJ810V 4K IPS TV, HDR
Case Corsair 800D
Audio Device(s) Over HDMI
Power Supply Quite new Corsair RM850x
Mouse ROG Gladius
Keyboard QPAD MX-50 mechanical
Software Windows 10 Pro x64
#14
Maybe a little prog called "move on boot" helps.
 

Mussels

Moderprator
Staff member
Joined
Oct 6, 2004
Messages
46,202 (9.52/day)
Likes
13,689
Location
Australalalalalaia.
System Name Daddy Long Legs
Processor Ryzen R7 1700, 3.9GHz 1.375v
Motherboard MSI X370 Gaming PRO carbon
Cooling Fractal Celsius S24 (Silent fans, meh pump)
Memory 16GB 2133 generic @ 2800
Video Card(s) MSI GTX 1080 Gaming X (BIOS modded to Gaming Z - faster and solved black screen bugs!)
Storage 1TB Intel SSD Pro 6000p (60TB USB3 storage)
Display(s) Samsung 4K 40" HDTV (UA40KU6000WXXY) / 27" Qnix 2K 110Hz
Case Fractal Design R5. So much room, so quiet...
Audio Device(s) Pioneer VSX-519V + Yamaha YHT-270 / sennheiser HD595/518 + Corsair Void RGB
Power Supply Corsair HX 750i (Platinum, fan off til 300W)
Mouse Logitech G403 + KKmoon desk-sized mousepad
Keyboard Corsair K65 Rapidfire
Software Windows 10 pro x64 (all systems)
Benchmark Scores Laptops: i7-4510U + 840M 2GB (touchscreen) 275GB SSD + 16GB i7-2630QM + GT 540M + 8GB
#15
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
21,054 (6.22/day)
Likes
10,177
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#16
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,842 (0.94/day)
Likes
339
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
#17
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,404 (0.60/day)
Likes
472
Location
Oulu, Finland
System Name Enslaver :)
Processor Intel i5 3570K Ivy Bridge, 4GHz no voltage increase OC
Motherboard ASRock Z77 Extreme4
Cooling CPU: Noctua NH-D14, Case: mix of different fans
Memory 24GB DDR3 1866MHz- mix Samsung green 1600MHZ OC + Kingston Fury 1866MHz stock
Video Card(s) ASUS GTX 1080 A8G Strix + disbled Intel HD4000
Storage 500GB Samsung Evo 850 SSD, internal WD Red 4TB for storage
Display(s) LG 55SJ810V 4K IPS TV, HDR
Case Corsair 800D
Audio Device(s) Over HDMI
Power Supply Quite new Corsair RM850x
Mouse ROG Gladius
Keyboard QPAD MX-50 mechanical
Software Windows 10 Pro x64
#18
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.
 
Joined
Jul 26, 2010
Messages
1,655 (0.61/day)
Likes
729
Location
Philly
System Name Primary Rig
Processor Phenom II X4 B50 @ 3.7GHz
Motherboard Biostar TA790GX 128M
Cooling Sunbeam CR-CCTF 120mm , 6x120mm, MOS-C1
Memory 2x2GB Kingston HyperX 1066 @ 800 4-4-4-12
Video Card(s) Sapphire HD 5830 800/1000 @ 885/1225
Storage 320GB, 400GB, 500GB, 1.5TB
Display(s) Hannspree HF259
Case CM 690
Power Supply OCZ 850W
Benchmark Scores 3Dmark06: 18545/5219 CPU Mark 7.0: 3911.2 Cinebench R10: 11826/3359 x264 HD 2.0: 75.6/23.9
#19
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.