Deleting directories
-
krosenstein
- Sophomore Member
- Posts: 131
- Joined: Thu May 27, 2004 12:54 am
- Location: USA
Deleting directories
I have several directories that I suspect are empty, but I can't verify that, nor can I delete them. They have 24-character alphanumeric names and a sub-dir called update. I've run out of ideas about how to get rid of them. I've booted in safe mode, killed explorer.exe and tried to delete from a DOS window, and I've tried using programs that will delete on boot (you have to name a file and I can't see any files).
Any ideas??
Any ideas??
-
krosenstein
- Sophomore Member
- Posts: 131
- Joined: Thu May 27, 2004 12:54 am
- Location: USA
-
krosenstein
- Sophomore Member
- Posts: 131
- Joined: Thu May 27, 2004 12:54 am
- Location: USA
Then sign on as Adminstrator and delete the files that way. Or make another admin user to delete the files.krosenstein wrote:I can see everything, but access is denied.
I always find out why files have access denied *before* I delete them. They could come from another user's documents or from system files that should not be deleted.
... JD Hurst
-
krosenstein
- Sophomore Member
- Posts: 131
- Joined: Thu May 27, 2004 12:54 am
- Location: USA
I am an administrator and also signed on as the Administrator - access denied. (There are no other users) And it's not the files I'm having trouble deleting; it's the directories.
The directories look like they might have been used temporarily to expand an archive before the files were installed wherever they went. I was able to delete the files but not the directories. They're not in my c: partition (whatever that's worth). This is driving me nuts.
The directories look like they might have been used temporarily to expand an archive before the files were installed wherever they went. I was able to delete the files but not the directories. They're not in my c: partition (whatever that's worth). This is driving me nuts.
If they were created by a system process then they have ownership of "System" and you have to take ownership under your admin account before you can delete them.
Open Explorer in any folder. Click Tools:Folder Options. Select the View pane and scroll to the bottom of the list. De-select Use Simple File Sharing (Recommended). Click Ok. Note: This step is required to enable access to the Security tab on the folders you want to delete.
Reboot and come up in safe mode. Open Explorer and right click on one of the folders you want to delete and select Properties. Then select the Security tab and click Advanced. On the Advanced properties box select the Owner tab. Clcik on your account name in the list. Also check Replace Owner on Subcontainers and Objects. Ok out and you should now be able to delete the file.
When you are done deleting all the folders you can re-enable SImple FIle Sharing if you want.
Honestly - I don't know why you couldn't come up with this solution by yourself - it's perfectly intuitive.
Ed Gibbs
Open Explorer in any folder. Click Tools:Folder Options. Select the View pane and scroll to the bottom of the list. De-select Use Simple File Sharing (Recommended). Click Ok. Note: This step is required to enable access to the Security tab on the folders you want to delete.
Reboot and come up in safe mode. Open Explorer and right click on one of the folders you want to delete and select Properties. Then select the Security tab and click Advanced. On the Advanced properties box select the Owner tab. Clcik on your account name in the list. Also check Replace Owner on Subcontainers and Objects. Ok out and you should now be able to delete the file.
When you are done deleting all the folders you can re-enable SImple FIle Sharing if you want.
Honestly - I don't know why you couldn't come up with this solution by yourself - it's perfectly intuitive.
Ed Gibbs
I would second deleting them from within safe mode.
Also, you probably have done so already, but make sure you've chosen to not hide system/hidden files from Folder Options (someone always forgets).
Also, you probably have done so already, but make sure you've chosen to not hide system/hidden files from Folder Options (someone always forgets).
IBM ThinkPad T42p (2373-7XU): 1.8GHz/1024MB, 15" UXGA, DVD-RW, 80GB, 2200b/g.
T42 (2374-3VU): 1.7GHz/512MB, 14.1"SXGA+, DVD-RW, 80GB, 2200b/g.
T42 (2374-3VU): 1.7GHz/512MB, 14.1"SXGA+, DVD-RW, 80GB, 2200b/g.
-
krosenstein
- Sophomore Member
- Posts: 131
- Joined: Thu May 27, 2004 12:54 am
- Location: USA
Well, I had gone as far as the security tab, but the advance properties and owner tab were not all that intuitive, at least not for me.egibbs wrote:Honestly - I don't know why you couldn't come up with this solution by yourself - it's perfectly intuitive.
In any event (and despite the sarcasm), it did the trick. Thanks.
My sarcasm was aimed at the MS interface, not at you. Sorry.krosenstein wrote:Well, I had gone as far as the security tab, but the advance properties and owner tab were not all that intuitive, at least not for me.
Airplane is flying into Seattle in dense fog. Pilot can't find the airport, is totally lost. He sees a tall building sticking out of the mist, so he flys by and shouts out the window "Hey - where am I?"
A voice comes back and says "You're in an airplane!" Pilot says "Thanks," makes a sharp left turn and lands at the airport.
The co-pilot looks at him in amazement. "How did you do that?" he asks.
The pilot explains... "Well, the answer he gave me was technically correct but totally useless. Therefore I knew he worked for Microsoft. And the Microsoft campus is exactly 5.2 miles south of the airport on a heading of 135 degrees."
Ed Gibbs
Re: Deleting directories
Try closing the handles, with some program, then deleting them.krosenstein wrote:I have several directories that I suspect are empty, but I can't verify that, nor can I delete them. They have 24-character alphanumeric names and a sub-dir called update. I've run out of ideas about how to get rid of them. I've booted in safe mode, killed explorer.exe and tried to delete from a DOS window, and I've tried using programs that will delete on boot (you have to name a file and I can't see any files).
Any ideas??
www.sysinternals.com may help you with Handle management programs.
It also helps me when I wish to delete some .avi's etc. than just don't want to go :)
Written behind a T42, 2373-9UG.
1.8GHz CPU, 1GB RAM, 80GB HDD, ATI-MR9600 64MB GPU, SXGA+ LCD, a/b/g WiFi, CD-RW/DVD
1.8GHz CPU, 1GB RAM, 80GB HDD, ATI-MR9600 64MB GPU, SXGA+ LCD, a/b/g WiFi, CD-RW/DVD
Who is online
Users browsing this forum: No registered users and 3 guests







