divinedestroyer Posted October 5, 2004 Share Posted October 5, 2004 Does the root Drive (D:) have a security tab?? If not, then you are not using administrative access or another setting is wrong. If it is there, then you can use its Security settings and "Replace permission entries on all child objects". Just be sure to add Administrators and SYSTEM with full control and force them down the entire drive. This may take some time to apply depending on number of files on the drive. You can also take ownership of the entire drive in a similar fashion. These will be found under "Security/Advanced". Should this approach fail, then SYSTEM has no access rights on the folder you want to delete and you are just plain outta luck from a Windows based solution. ~TheDestroyer :whistle: Link to comment Share on other sites More sharing options...
sonambulo Posted October 6, 2004 Share Posted October 6, 2004 Try booting with a MsDOS diskette, delete the directory using "del" command Link to comment Share on other sites More sharing options...
Lazlo Woodbine Posted October 6, 2004 Share Posted October 6, 2004 Have you tried scanning the disk for errors? Filing system errors can sometimes lead to this kind of problem. Run CHKDSK or another disk checker first, and then try again. Link to comment Share on other sites More sharing options...
aco Veteran Posted October 6, 2004 Veteran Share Posted October 6, 2004 When you type rmdir "d:\foldername" is "Access is denied" the complete error message you receive? Link to comment Share on other sites More sharing options...
paratrupr Posted October 6, 2004 Share Posted October 6, 2004 Here is the method to reveal the Security tab for XP Home. This will enable you to take ownership of that folder. Link to comment Share on other sites More sharing options...
aco Veteran Posted October 6, 2004 Veteran Share Posted October 6, 2004 Here is the method to reveal the Security tab for XP Home. This will enable you to take ownership of that folder. Not sure if that'll work seeing as he has XP Pro. :wacko: Link to comment Share on other sites More sharing options...
paratrupr Posted October 6, 2004 Share Posted October 6, 2004 The problem is that I do not have a Security or Sharing tab Where did he say he had Pro? I assumed he would have known how to turn off Simple File Sharing. [Tools], [Folder Options], View tab, and then unselect the Use Simple File Sharing check box. Link to comment Share on other sites More sharing options...
leesmithg Posted October 6, 2004 Share Posted October 6, 2004 Try this to remove not wanted files on boot! Here Link to comment Share on other sites More sharing options...
aco Veteran Posted October 6, 2004 Veteran Share Posted October 6, 2004 Where did he say he had Pro?I assumed he would have known how to turn off Simple File Sharing. [Tools], [Folder Options], View tab, and then unselect the Use Simple File Sharing check box. He said he has tried disabling simple file sharing and it still doesn't make the tab show up - and in his sig it says XP Pro. ;) Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 I'll ask again because I seriously think this will work....it worked for me. Tony Klein wrote this for me. The guy is a computer genious. Do a Google search for his name and see all that shows up. He wrote this for me, and it worked. However, we need someone on the forum to re-write the path for this particular folder (I assume it's on his D drive). Can someone re-write this script to point to his D: drive and the folder he wants removed... cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" ------------------------------------------------------------------------------------------- Make a batch file that you have executed by having it run from the HKLM\RunOnce key. Paste the following into a blank text document: cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" Save for example in C: as Clean.cmd. -------------------------------------------------------------------------------------------- Open Regedit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Runonce Rightclick somewhere in the RIGHT hand pane, and choose new > String Value Doubleclick it, call it DelTemps and hit Enter. Doubleclick it to bring up the Edit box, and type this in the Edit data: C:\Clean.cmd. Click OK. Of course make sure the path to the location where you saved the batch file is correct. Reboot, and your TIF folder will be deleted and recreated automatically once. ----------------------------------------------------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
paratrupr Posted October 6, 2004 Share Posted October 6, 2004 He said he has tried disabling simple file sharing and it still doesn't make the tab show up - and in his sig it says XP Pro. ;) :blush: My mistake - I never read those silly "Look at my specs" sigs. I misunderstood when he said he tried disabling... with reboots. He also said he tried deleting it in safe mode, but did he look at the folder properties for the tab in safe mode? Whether of not he has Pro or Home, Simple File Sharing is disabled in safe mode, so he MUST be able to see the Security tab, no? If not, then he has bigger problems than this one folder. One could assume the file system & ACL are wacked. :pinch: Link to comment Share on other sites More sharing options...
Lazlo Woodbine Posted October 6, 2004 Share Posted October 6, 2004 Tony Klein wrote this for me. The guy is a computer genious(sic). He may be a genius, but what you've posted is a very simple script to delete a folder. Given that the folder hasn't been successfully deleted by *exactly the same methods* as used in the script, I can tell you that it's not going to work. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 Huh? I'm not sure what you're saying. "hasn't been successfully deleted by *exactly the same methods*" I'm asking if someone can re-write Tony Klein's script to point to this particular folder. I believe his folder is on his D drive. I don't know scripting. I don't know how to do it. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 ...what you've posted is a very simple script to delete a folder. Okay, you sound like you know scripting. Can you re-write it? Say I have a folder named "Stupid Folder" on my D drive. Can you show me how me to change this to that? cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 Guess not. I'll ask around on other forums. Well get this folder deleted for you yet. Link to comment Share on other sites More sharing options...
Dean W Posted October 6, 2004 Share Posted October 6, 2004 Wow, This is a Problem! Hmmm Link to comment Share on other sites More sharing options...
+primortal Subscriber² Posted October 6, 2004 Subscriber² Share Posted October 6, 2004 Okay, you sound like you know scripting. Can you re-write it? Say I have a folder named "Stupid Folder" on my D drive. Can you show me how me to change this to that? cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" here you go d: rd /s/q "\web development" Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 Thanks so much, primortal. I've posted this question here 4 times. I just got done asking on 3 other tweaking sites. I finally tracked down Tony Klein to ask for his help, here: http://castlecops.com/forums.html and I am awaiting his reply to my post and PM. You're a pal, primortal. Now let's see if this helps our buddy here with his folder problem. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 Tony Klein responded with his solution... Hi! Long time no See! Say you're trying to delete a D:\Stupid folder In that case your batch file will be just: rd /s/q D:\Stupid Save it anywhere you wish under a name of your choice, and make sure you point the path in the RunOnce String value to the right place. _________________ Tony MuddyMuDmaN, we will get that folder deleted for you. Link to comment Share on other sites More sharing options...
Lazlo Woodbine Posted October 6, 2004 Share Posted October 6, 2004 There is no point in rewriting the script; that's what I was trying to get at. It would be more simple just to try the command RD at the command prompt, but since DEL hasn't worked *even in safe mode*, I'm sure that there is little chance of this working. I suspect that the filing system has become corrupted, and until that is fixed or at least checked for, there's little point trying to offer other 'solutions'. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 (edited) Well, thanks for your advice, Lazlo Woodbine. Just like you, I'm absolutely sure you're right. Perhaps a moderator would be so kind as to delete all the useless suggestions members offered on this thread. Unless...you're not right. Then what should we do? Edited October 6, 2004 by Bold_Fortune Link to comment Share on other sites More sharing options...
Lazlo Woodbine Posted October 6, 2004 Share Posted October 6, 2004 Since MuddyMuDmaN had already posted: Thanks for your responses you guys. I've tried all of your suggestions and links without resolution yet. I tried deleting the folder from CMD, then booting into Safe Mode and CMD, tried the Send To Forced Delete and followed the link suggestions. None of this is working at all. where he's already stated that he cannot remove the folder from the command line, writing a script that does the same thing is not likely to be successful, is it? However, since you clearly didn't understand the simple script, your misunderstanding is understandable, I guess. And, since nobody else has suggested that the drive is checked for errors, nor has MuddyMuDmaN reported that he's checked to see if the drive is error free, it's something that *should* be done before going any further. That does *not* mean that I'm dismissing the other suggestions; they are mostly good, but that I believe that an important troubleshooting step should be taken. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 And you think trying to delete something from a command line is the same thing. I don't think so, but let's say it is. See, I had a very similar problem, but with a file within a folder. Every suggestion posted here came up on my thread...including the command line suggestion. I tried them all. Then these instructions by Tony Klein were posted for me...and they worked. Maybe it can work for our friend, too; maybe not. But with all the suggestions given and tried, why shouldn't this one be tried? Link to comment Share on other sites More sharing options...
Lazlo Woodbine Posted October 6, 2004 Share Posted October 6, 2004 And you think trying to delete something from a command line is the same thing. I don't think so, but let's say it is. A batch script is simply a list of commands, that are handled by the command line interpreter. It is exactly the same thing as running them from the command line. Maybe it can work for our friend, too; maybe not. But with all the suggestions given and tried, why shouldn't this one be tried? I never said it shouldn't be tried, I just tried to explain that it was highly unlikely to work given that he'd basically already tried the same method. I also said that there was an important thing that hadn't been tried, and that was to check the disk for errors. Given that this hasn't been tried yet, don't you think it should? Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 You're going to contest this until you win. Okay, you win. You're absolutely 100% right. Link to comment Share on other sites More sharing options...
Recommended Posts