SOLVED Cannot take ownership of folder

Joined
Feb 10, 2024
Messages
5
Reaction score
0
I am on Windows 10. I wanted to delete a Windows.old folder because it takes up too much space ( 20 GB+). The system won’t let me access the folder. I tried the usual process of taking ownership , but it keeps asking for permissions. I’ve always done this with no problems. I even tried the CMD : style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>takeown /f "C:\path\to\folder" /r /d y but it says “ file /directory not found “.
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>In my case the windows.old folder is under the root, i.e. c:\windows.old, so I typed he command as :
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>takeown */f* “c:\windows.old” */r */d* y
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>( the * asterisk means I left a space)
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>I also get a message: “failed to enumerate objects in the container”.
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>
style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
"Times New Roman";color:#313131'>Can you help, please?
 
Joined
Feb 10, 2024
Messages
5
Reaction score
0
I am on Windows 10. I wanted to delete a “ Windows.old” folder under thed root c:\ because it takes up too much space ( 20 GB +). The system won’t let me access the folder. I tried the usual procedure to take ownership, but it keeps asking for permissions and it stops the deletion process.I even try the CMD line as :

takeown */f* “c:\windows.old” */r*/d*y

( the * asterisks stand for SPACE, they have not been typed.



I also get a message: “ failed to enumerate objects in the container” I know what it means. I thought I had corrected it, but it still doesn’work. I also looked for help on the web, unsuccessfully.



What is wrong?



Thanks



Ittiandro
 
Joined
Oct 26, 2016
Messages
2,398
Reaction score
702
You are making it more complicated than it has to be.
1. Open the properties of your C;\ drive, then click on Disk Cleanup.
2. In the following Windows click on {Clean up system files}.
3. Make a checkmark in every box, especially in the [Windows Upgrade files].
4. Confirm that you want permanently delete the files
5. Let it run its course. After the cleanup is finished, the will be no more "Windows.old" folder.

At least it always has been the case so far....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top