0

My old machine died. I installed the old disk as an extra disk in the new Windows 10 (old machine also was Windows 10). A lot of files I can' delete. I've tryied to take ownership of everything but some files fail. I don't need an unused windows installation in the disk. I've tried to take ownership, but it keeps asking me to that I need to be my user to delete the files.

I managed to delete some dirs following these instructions, but there are still some dirs that I can't delete.

How do I gain control of everything so I can clean the disk?

neves
  • 519

1 Answers1

0

Still not there, but near. Open an administrator cmd shell, and type:

takeown /f F:\path\undeletable\folder /r /d y
ICACLS F:\path\undeletable\folder /inheritance:e /grant:r Administrador:F /T

Now you'll be able to delete almost all. Some folders you must enter through the explorer and, a dialog will appear, you accept it and then try to delete again.

neves
  • 519