I had an installation of a software called npm (known for its infamous deep and extensive directory structures) on my older Windows (inside
G:\users\username\appdata). After I removed the older Windows I am attempting to remove the
Since the folder is owned by a user on my older Windows, I should first take ownership of the directories and then remove them, but the problem is that the security tab in explorer "folder properties" could not take ownership of the folders (would give errors that I later found is the result of deep directory structures). Even other utilities (e.g. TakeOwnershipPro) would only work on shallower sub-folders and fail on deeper ones.
How should I take ownership and remove the folders and files?